Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001144/0.001152, allocations: 105.3 kB / 17.58 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 192 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 59.92 kB / 280.7 MB, free: 3.156 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1303, allocations: 46.62 MB / 327.3 MB, free: 4.461 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.005612/0.1359, allocations: 2.82 MB / 330.1 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.1378, allocations: 0.7527 MB / 330.9 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.138, allocations: 4 kB / 330.9 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.1382, allocations: 47.52 kB / 330.9 MB, free: 0.8008 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.1384, allocations: 95.17 kB / 331 MB, free: 0.707 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.1388, allocations: 103.8 kB / 331.1 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006591/0.1395, allocations: 382.4 kB / 331.5 MB, free: 236 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002384/0.1397, allocations: 100.7 kB / 331.6 MB, free: 140 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.14, allocations: 155.3 kB / 331.7 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002468/0.1402, allocations: 163.3 kB / 331.9 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.958e-05/0.1403, allocations: 32 kB / 331.9 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.741e-05/0.1404, allocations: 32 kB / 332 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.993e-05/0.1405, allocations: 71.75 kB / 332 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002145/0.1407, allocations: 167.2 kB / 332.2 MB, free: 15.53 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006132/0.1413, allocations: 347 kB / 332.5 MB, free: 15.19 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.1414, allocations: 0 / 332.5 MB, free: 15.19 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1414, allocations: 0 / 332.5 MB, free: 15.19 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.1414, allocations: 0 / 332.5 MB, free: 15.19 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001642/0.143, allocations: 0.6691 MB / 333.2 MB, free: 14.46 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.1431, allocations: 12.03 kB / 333.2 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.651e-05/0.1432, allocations: 36.56 kB / 333.2 MB, free: 14.41 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.1436, allocations: 276.6 kB / 333.5 MB, free: 14.1 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.1436, allocations: 24.92 kB / 333.5 MB, free: 14.08 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.473e-05/0.1437, allocations: 20.38 kB / 333.6 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006654/0.1444, allocations: 265.1 kB / 333.8 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.1444, allocations: 4 kB / 333.8 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.1444, allocations: 12 kB / 333.8 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.1444, allocations: 4 kB / 333.8 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007715/0.1452, allocations: 270 kB / 334.1 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.147, allocations: 0.8908 MB / 335 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009298/0.1479, allocations: 359.7 kB / 335.3 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003944/0.1483, allocations: 132.7 kB / 335.5 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.1484, allocations: 0 / 335.5 MB, free: 12.04 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005747/0.1489, allocations: 189.1 kB / 335.7 MB, free: 11.84 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.162e-06/0.149, allocations: 4.031 kB / 335.7 MB, free: 11.84 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.002069/0.151, allocations: 0.5769 MB / 336.2 MB, free: 11.23 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.1511, allocations: 110.8 kB / 336.3 MB, free: 11.1 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.1514, allocations: 262.6 kB / 336.6 MB, free: 10.84 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.1514, allocations: 33.7 kB / 336.6 MB, free: 10.8 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001483/0.1516, allocations: 179.9 kB / 336.8 MB, free: 10.61 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.226e-05/0.1517, allocations: 59.19 kB / 336.9 MB, free: 10.55 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.975e-05/0.1518, allocations: 53.84 kB / 336.9 MB, free: 10.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1519, allocations: 338.8 kB / 337.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.1523, allocations: 109.4 kB / 337.4 MB, free: 10.05 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.1527, allocations: 168.1 kB / 337.5 MB, free: 9.855 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006652/0.1533, allocations: 271.6 kB / 337.8 MB, free: 9.562 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1533, allocations: 0 / 337.8 MB, free: 9.562 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001074/0.1544, allocations: 427.5 kB / 338.2 MB, free: 9.129 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.045e-05/0.1545, allocations: 33.7 kB / 338.2 MB, free: 9.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.1545, allocations: 0 / 338.2 MB, free: 9.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004945/0.155, allocations: 96.78 kB / 338.3 MB, free: 8.992 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.1553, allocations: 59.89 kB / 338.4 MB, free: 8.934 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/0.1572, allocations: 1.559 MB / 339.9 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.1576, allocations: 55.64 kB / 340 MB, free: 7.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.1576, allocations: 4 kB / 340 MB, free: 7.176 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000388/0.158, allocations: 192.4 kB / 340.2 MB, free: 6.984 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003346/0.1583, allocations: 160 kB / 340.3 MB, free: 6.801 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006419/0.159, allocations: 251.5 kB / 340.6 MB, free: 6.527 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.243e-06/0.159, allocations: 0 / 340.6 MB, free: 6.527 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0007505/0.1598, allocations: 347.6 kB / 340.9 MB, free: 6.172 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.1598, allocations: 37.73 kB / 341 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/0.1598, allocations: 0 / 341 MB, free: 6.129 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.622e-05/0.1599, allocations: 28.84 kB / 341 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.1601, allocations: 59.89 kB / 341.1 MB, free: 6.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/0.1613, allocations: 1.548 MB / 342.6 MB, free: 4.352 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.1616, allocations: 47.89 kB / 342.7 MB, free: 4.305 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.1616, allocations: 12 kB / 342.7 MB, free: 4.293 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002304/0.1618, allocations: 196.2 kB / 342.9 MB, free: 4.094 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.1619, allocations: 27.66 kB / 342.9 MB, free: 4.066 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.021e-05/0.1619, allocations: 26.17 kB / 342.9 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.162, allocations: 7.938 kB / 342.9 MB, free: 4.035 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.162, allocations: 0 / 342.9 MB, free: 4.035 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.162, allocations: 4.094 kB / 342.9 MB, free: 4.031 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.1633, allocations: 0.7104 MB / 343.6 MB, free: 3.258 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1633, allocations: 0 / 343.6 MB, free: 3.258 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002279/0.1635, allocations: 55.83 kB / 343.7 MB, free: 3.203 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001702/0.1637, allocations: 40.83 kB / 343.7 MB, free: 3.16 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.1638, allocations: 8.031 kB / 343.7 MB, free: 3.152 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/0.1654, allocations: 1.547 MB / 345.3 MB, free: 1.465 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1654, allocations: 32 / 345.3 MB, free: 1.465 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.1667, allocations: 0.5115 MB / 345.8 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.428e-05/0.1667, allocations: 92.83 kB / 345.9 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.129e-05/0.1668, allocations: 15.92 kB / 345.9 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.1671, allocations: 32.03 kB / 345.9 MB, free: 0.7773 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.754e-05/0.1672, allocations: 19.97 kB / 345.9 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.1672, allocations: 8 kB / 346 MB, free: 0.75 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002025/0.1674, allocations: 197.9 kB / 346.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1675, allocations: 0 / 346.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005963/0.1681, allocations: 131.7 kB / 346.3 MB, free: 440 kB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002133/0.1683, allocations: 107.4 kB / 346.4 MB, free: 324 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001597/0.1699, allocations: 0.7071 MB / 347.1 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.1699, allocations: 4 kB / 347.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005349/0.1704, allocations: 238.5 kB / 347.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000452/0.1709, allocations: 54.17 kB / 347.4 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.1722, allocations: 0.5612 MB / 347.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004341/0.1727, allocations: 0.7599 MB / 348.7 MB, free: 13.88 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001416/0.1728, allocations: 26.28 kB / 348.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.146e-05/0.1729, allocations: 27.38 kB / 348.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1729, allocations: 3.938 kB / 348.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of Templates: time 0.009792/0.1827, allocations: 4.219 MB / 353 MB, free: 9.598 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches