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.001488/0.001488, allocations: 105.1 kB / 17.16 MB, free: 6.32 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.001641/0.001641, allocations: 190 kB / 18.07 MB, free: 5.414 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.853/1.853, allocations: 205.1 MB / 223.9 MB, free: 12.39 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.001385/0.001385, allocations: 47.94 kB / 280 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1401, allocations: 46.63 MB / 326.6 MB, free: 4.863 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004435/0.1446, allocations: 2.866 MB / 329.5 MB, free: 1.973 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001375/0.146, allocations: 0.7449 MB / 330.2 MB, free: 1.219 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.1461, allocations: 11.94 kB / 330.2 MB, free: 1.207 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.1463, allocations: 35.75 kB / 330.3 MB, free: 1.172 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.1465, allocations: 87.3 kB / 330.4 MB, free: 1.086 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.1468, allocations: 83.91 kB / 330.4 MB, free: 1.004 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.1472, allocations: 366.4 kB / 330.8 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.1474, allocations: 85.28 kB / 330.9 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001992/0.1476, allocations: 127.5 kB / 331 MB, free: 452 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000179/0.1478, allocations: 155.2 kB / 331.2 MB, free: 296 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.206e-05/0.1478, allocations: 23.98 kB / 331.2 MB, free: 272 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.84e-05/0.1479, allocations: 20 kB / 331.2 MB, free: 252 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.443e-05/0.148, allocations: 59.75 kB / 331.3 MB, free: 192 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.1481, allocations: 155.1 kB / 331.4 MB, free: 36 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003408/0.1485, allocations: 339.1 kB / 331.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1485, allocations: 0 / 331.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1485, allocations: 0 / 331.7 MB, free: 15.7 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1485, allocations: 3.938 kB / 331.7 MB, free: 15.7 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.001414/0.1499, allocations: 0.6692 MB / 332.4 MB, free: 14.97 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.15, allocations: 12.03 kB / 332.4 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.163e-05/0.1501, allocations: 36.55 kB / 332.5 MB, free: 14.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.1505, allocations: 280.5 kB / 332.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.1505, allocations: 20.94 kB / 332.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.648e-05/0.1506, allocations: 28.36 kB / 332.8 MB, free: 14.56 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006615/0.1512, allocations: 265.1 kB / 333 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.1513, allocations: 4 kB / 333 MB, free: 14.29 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.24e-05/0.1513, allocations: 8 kB / 333 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.1513, allocations: 7.938 kB / 333.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00075/0.1521, allocations: 274 kB / 333.3 MB, free: 14.01 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001585/0.1537, allocations: 0.8907 MB / 334.2 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008472/0.1545, allocations: 343.8 kB / 334.5 MB, free: 12.69 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.1549, allocations: 140.6 kB / 334.7 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.1549, allocations: 0 / 334.7 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005319/0.1555, allocations: 185.8 kB / 334.9 MB, free: 12.34 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.1555, allocations: 0 / 334.9 MB, free: 12.34 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.00183/0.1573, allocations: 0.58 MB / 335.4 MB, free: 11.74 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/0.1574, allocations: 110.8 kB / 335.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.1577, allocations: 258.6 kB / 335.8 MB, free: 11.35 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.1578, allocations: 37.69 kB / 335.8 MB, free: 11.3 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.1579, allocations: 179.9 kB / 336 MB, free: 11.12 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.158, allocations: 59.19 kB / 336.1 MB, free: 11.06 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.983e-05/0.1581, allocations: 49.84 kB / 336.1 MB, free: 11.01 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1582, allocations: 342.8 kB / 336.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003605/0.1586, allocations: 105.5 kB / 336.6 MB, free: 10.56 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.159, allocations: 172 kB / 336.7 MB, free: 10.36 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006497/0.1597, allocations: 267.4 kB / 337 MB, free: 10.07 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.1597, allocations: 8 kB / 337 MB, free: 10.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001085/0.1608, allocations: 423.3 kB / 337.4 MB, free: 9.637 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.787e-05/0.1608, allocations: 37.89 kB / 337.5 MB, free: 9.594 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1608, allocations: 0 / 337.5 MB, free: 9.594 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004405/0.1613, allocations: 92.75 kB / 337.5 MB, free: 9.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.1616, allocations: 59.98 kB / 337.6 MB, free: 9.441 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.1632, allocations: 1.445 MB / 339 MB, free: 7.863 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.1635, allocations: 51.7 kB / 339.1 MB, free: 7.812 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.1636, allocations: 8.062 kB / 339.1 MB, free: 7.805 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000347/0.1639, allocations: 192.3 kB / 339.3 MB, free: 7.613 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003041/0.1642, allocations: 160.3 kB / 339.4 MB, free: 7.43 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000571/0.1648, allocations: 263.3 kB / 339.7 MB, free: 7.145 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-06/0.1648, allocations: 3.938 kB / 339.7 MB, free: 7.141 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.0007644/0.1656, allocations: 339.7 kB / 340 MB, free: 6.793 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.542e-05/0.1656, allocations: 33.7 kB / 340.1 MB, free: 6.754 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.1657, allocations: 3.938 kB / 340.1 MB, free: 6.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.144e-05/0.1657, allocations: 28.78 kB / 340.1 MB, free: 6.719 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.166, allocations: 59.95 kB / 340.2 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.1672, allocations: 1.377 MB / 341.5 MB, free: 5.145 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.1675, allocations: 47.78 kB / 341.6 MB, free: 5.098 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.1675, allocations: 12.09 kB / 341.6 MB, free: 5.086 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.0001625/0.1677, allocations: 204.3 kB / 341.8 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.1677, allocations: 23.72 kB / 341.8 MB, free: 4.855 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.785e-05/0.1678, allocations: 22.19 kB / 341.8 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.1678, allocations: 7.984 kB / 341.9 MB, free: 4.832 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1678, allocations: 4 kB / 341.9 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.1678, allocations: 3.938 kB / 341.9 MB, free: 4.824 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.1691, allocations: 0.7143 MB / 342.6 MB, free: 4.047 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1691, allocations: 4.031 kB / 342.6 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.1694, allocations: 39.97 kB / 342.6 MB, free: 4.004 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001731/0.1695, allocations: 48.81 kB / 342.7 MB, free: 3.953 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.1696, allocations: 0 / 342.7 MB, free: 3.953 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001431/0.171, allocations: 1.437 MB / 344.1 MB, free: 2.383 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.171, allocations: 0 / 344.1 MB, free: 2.383 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.1721, allocations: 0.5036 MB / 344.6 MB, free: 1.859 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.901e-05/0.1722, allocations: 105 kB / 344.7 MB, free: 1.738 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.1723, allocations: 8 kB / 344.7 MB, free: 1.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.1726, allocations: 39.94 kB / 344.8 MB, free: 1.691 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.501e-05/0.1727, allocations: 23.97 kB / 344.8 MB, free: 1.668 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.1727, allocations: 4 kB / 344.8 MB, free: 1.664 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001953/0.1729, allocations: 190 kB / 345 MB, free: 1.48 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1729, allocations: 0 / 345 MB, free: 1.48 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000589/0.1735, allocations: 131.7 kB / 345.1 MB, free: 1.352 MB / 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.0001722/0.1737, allocations: 111.2 kB / 345.2 MB, free: 1.234 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.1751, allocations: 0.6992 MB / 345.9 MB, free: 496 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1751, allocations: 3.938 kB / 345.9 MB, free: 492 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004334/0.1756, allocations: 226.6 kB / 346.1 MB, free: 252 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004633/0.176, allocations: 52.97 kB / 346.2 MB, free: 200 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.1773, allocations: 0.6577 MB / 346.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.1777, allocations: 0.7598 MB / 347.6 MB, free: 14.72 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001535/0.1778, allocations: 30.28 kB / 347.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.766e-05/0.1779, allocations: 23.44 kB / 347.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1779, allocations: 0 / 347.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of Templates: time 0.008218/0.1861, allocations: 3.916 MB / 351.6 MB, free: 10.75 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches