Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001166/0.001166, allocations: 93.22 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001611/0.001611, allocations: 197.9 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003469/0.0003469, allocations: 8 kB / 307.7 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1626, allocations: 51.52 MB / 359.2 MB, free: 13.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.003687/0.1664, allocations: 2.5 MB / 361.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.168, allocations: 0.6429 MB / 362.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.1682, allocations: 7.938 kB / 362.4 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.1684, allocations: 35.75 kB / 362.4 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.1686, allocations: 75.39 kB / 362.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.1688, allocations: 63.92 kB / 362.6 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.1692, allocations: 334.9 kB / 362.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003052/0.1695, allocations: 119.9 kB / 363 MB, free: 9.535 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001303/0.1697, allocations: 111.5 kB / 363.1 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002101/0.1699, allocations: 131.4 kB / 363.2 MB, free: 9.297 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.881e-05/0.1699, allocations: 19.94 kB / 363.3 MB, free: 9.277 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.274e-05/0.17, allocations: 16 kB / 363.3 MB, free: 9.262 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.187e-05/0.1701, allocations: 55.7 kB / 363.3 MB, free: 9.207 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001552/0.1702, allocations: 161 kB / 363.5 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003632/0.1706, allocations: 338.9 kB / 363.8 MB, free: 8.711 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1706, allocations: 3.984 kB / 363.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1706, allocations: 0 / 363.8 MB, free: 8.707 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1706, allocations: 4 kB / 363.8 MB, free: 8.703 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009345/0.1716, allocations: 0.5497 MB / 364.4 MB, free: 8.105 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.1717, allocations: 8.031 kB / 364.4 MB, free: 8.098 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.344e-05/0.1717, allocations: 32.56 kB / 364.4 MB, free: 8.066 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.1721, allocations: 255.8 kB / 364.7 MB, free: 7.777 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.1721, allocations: 20.94 kB / 364.7 MB, free: 7.754 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.702e-05/0.1722, allocations: 32.38 kB / 364.7 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005046/0.1727, allocations: 261.2 kB / 365 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1727, allocations: 0 / 365 MB, free: 7.465 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.223e-05/0.1728, allocations: 8 kB / 365 MB, free: 7.457 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.1728, allocations: 8 kB / 365 MB, free: 7.449 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003694/0.1732, allocations: 190.2 kB / 365.2 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.175, allocations: 1.025 MB / 366.2 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005285/0.1755, allocations: 332.4 kB / 366.5 MB, free: 5.793 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.1758, allocations: 159.4 kB / 366.7 MB, free: 5.637 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.1758, allocations: 4 kB / 366.7 MB, free: 5.633 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.1759, allocations: 30.56 kB / 366.7 MB, free: 5.594 MB / 302.1 MB Notification: Performance of pre-optimization done (n=21): time 1.733e-06/0.1759, allocations: 3.938 kB / 366.7 MB, free: 5.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=25): time 0.001762/0.1776, allocations: 0.7847 MB / 367.5 MB, free: 4.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.1777, allocations: 55.41 kB / 367.6 MB, free: 4.684 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.1779, allocations: 198.1 kB / 367.7 MB, free: 4.477 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.178, allocations: 29.7 kB / 367.8 MB, free: 4.441 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001613/0.1782, allocations: 172.3 kB / 367.9 MB, free: 4.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.717e-05/0.1782, allocations: 86.66 kB / 368 MB, free: 4.184 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.607e-05/0.1783, allocations: 33.64 kB / 368.1 MB, free: 4.145 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.1785, allocations: 334.8 kB / 368.4 MB, free: 3.809 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.1787, allocations: 76.53 kB / 368.5 MB, free: 3.734 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/0.1788, allocations: 107.6 kB / 368.6 MB, free: 3.625 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.1792, allocations: 182.2 kB / 368.7 MB, free: 3.441 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1792, allocations: 0 / 368.7 MB, free: 3.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005627/0.1797, allocations: 330 kB / 369.1 MB, free: 3.109 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.1798, allocations: 4 kB / 369.1 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.669e-06/0.1798, allocations: 0 / 369.1 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002943/0.1801, allocations: 80.81 kB / 369.2 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001878/0.1803, allocations: 59.84 kB / 369.2 MB, free: 2.965 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002216/0.1825, allocations: 1.889 MB / 371.1 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.1827, allocations: 8.031 kB / 371.1 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.1827, allocations: 8 kB / 371.1 MB, free: 0.9258 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001786/0.1829, allocations: 149.7 kB / 371.3 MB, free: 0.7695 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.21e-05/0.1829, allocations: 23.72 kB / 371.3 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.572e-05/0.183, allocations: 29.86 kB / 371.3 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.183, allocations: 0 / 371.3 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.183, allocations: 4 kB / 371.3 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.183, allocations: 0 / 371.3 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3273/0.5103, allocations: 0.7403 MB / 372.1 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.5104, allocations: 4.828 kB / 372.1 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.5107, allocations: 43.98 kB / 372.1 MB, free: 19.06 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002952/0.511, allocations: 72.09 kB / 372.2 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.573e-05/0.511, allocations: 6.125 kB / 372.2 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001891/0.5129, allocations: 1.794 MB / 374 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.5129, allocations: 0 / 374 MB, free: 17.74 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008263/0.5138, allocations: 478.1 kB / 374.4 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.376e-05/0.5138, allocations: 90.95 kB / 374.5 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.5139, allocations: 7.172 kB / 374.5 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.5141, allocations: 17.41 kB / 374.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/0.5141, allocations: 19.11 kB / 374.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.5142, allocations: 8.031 kB / 374.6 MB, free: 17.5 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001627/0.5143, allocations: 144.1 kB / 374.7 MB, free: 17.42 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5144, allocations: 0 / 374.7 MB, free: 17.42 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004822/0.5148, allocations: 77.47 kB / 374.8 MB, free: 17.42 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001536/0.515, allocations: 111.2 kB / 374.9 MB, free: 17.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008256/0.5158, allocations: 365.4 kB / 375.3 MB, free: 17.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.5159, allocations: 4.688 kB / 375.3 MB, free: 17.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005933/0.5165, allocations: 262.4 kB / 375.5 MB, free: 17.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004369/0.5169, allocations: 40.97 kB / 375.6 MB, free: 17.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.5184, allocations: 0.9793 MB / 376.5 MB, free: 16.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003092/0.5188, allocations: 0.7656 MB / 377.3 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.5189, allocations: 21.47 kB / 377.3 MB, free: 15.78 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.5189, allocations: 17.75 kB / 377.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5189, allocations: 0 / 377.4 MB, free: 15.77 MB / 302.1 MB Notification: Performance of Templates: time 0.009122/0.5281, allocations: 2.995 MB / 380.3 MB, free: 15.59 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches