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.001363/0.001363, allocations: 108.6 kB / 17.93 MB, free: 5.535 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.001504/0.001504, allocations: 189.8 kB / 18.86 MB, free: 4.613 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.537/1.537, allocations: 205.1 MB / 224.7 MB, free: 12.44 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.001194/0.001194, allocations: 59.92 kB / 280.8 MB, free: 3.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1264, allocations: 46.62 MB / 327.4 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004344/0.1308, allocations: 2.862 MB / 330.3 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.1321, allocations: 0.7449 MB / 331.1 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.1323, allocations: 8 kB / 331.1 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.1325, allocations: 27.77 kB / 331.1 MB, free: 1.102 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.1327, allocations: 91.3 kB / 331.2 MB, free: 1.012 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.133, allocations: 87.86 kB / 331.3 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.1334, allocations: 390.4 kB / 331.6 MB, free: 0.543 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.1336, allocations: 100.7 kB / 331.7 MB, free: 460 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.1338, allocations: 155.3 kB / 331.9 MB, free: 304 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001754/0.134, allocations: 159.3 kB / 332 MB, free: 144 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.197e-05/0.1341, allocations: 32 kB / 332.1 MB, free: 112 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.135e-05/0.1341, allocations: 32 kB / 332.1 MB, free: 80 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.1342, allocations: 71.75 kB / 332.2 MB, free: 8 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000163/0.1344, allocations: 163.2 kB / 332.3 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.1346, allocations: 267.6 kB / 332.6 MB, free: 15.59 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1347, allocations: 0 / 332.6 MB, free: 15.59 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1347, allocations: 0 / 332.6 MB, free: 15.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.1347, allocations: 0 / 332.6 MB, free: 15.59 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.001322/0.136, allocations: 0.6807 MB / 333.3 MB, free: 14.85 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.1361, allocations: 8.031 kB / 333.3 MB, free: 14.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.52e-05/0.1361, allocations: 36.56 kB / 333.3 MB, free: 14.8 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.1365, allocations: 276.6 kB / 333.6 MB, free: 14.49 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.1365, allocations: 20.94 kB / 333.6 MB, free: 14.47 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.1365, allocations: 20.38 kB / 333.6 MB, free: 14.45 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006176/0.1372, allocations: 269.1 kB / 333.9 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.1372, allocations: 3.984 kB / 333.9 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.1372, allocations: 12 kB / 333.9 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.1372, allocations: 4 kB / 333.9 MB, free: 14.16 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000744/0.138, allocations: 274 kB / 334.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001523/0.1395, allocations: 0.8908 MB / 335.1 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008333/0.1404, allocations: 351.8 kB / 335.4 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003594/0.1407, allocations: 128.7 kB / 335.5 MB, free: 12.44 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.1408, allocations: 0 / 335.5 MB, free: 12.44 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005262/0.1413, allocations: 189.8 kB / 335.7 MB, free: 12.23 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.422e-06/0.1413, allocations: 0 / 335.7 MB, free: 12.23 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001809/0.1431, allocations: 0.58 MB / 336.3 MB, free: 11.62 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.039e-05/0.1432, allocations: 106.8 kB / 336.4 MB, free: 11.5 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002753/0.1435, allocations: 266.6 kB / 336.7 MB, free: 11.23 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.01e-05/0.1435, allocations: 33.7 kB / 336.7 MB, free: 11.19 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.1437, allocations: 175.9 kB / 336.9 MB, free: 11.01 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.223e-05/0.1437, allocations: 55.3 kB / 336.9 MB, free: 10.96 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.104e-05/0.1438, allocations: 57.78 kB / 337 MB, free: 10.89 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.144, allocations: 338.8 kB / 337.3 MB, free: 10.55 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/0.1443, allocations: 113.4 kB / 337.4 MB, free: 10.44 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/0.1447, allocations: 164 kB / 337.6 MB, free: 10.25 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006081/0.1453, allocations: 275.5 kB / 337.9 MB, free: 9.957 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1453, allocations: 0 / 337.9 MB, free: 9.957 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001021/0.1463, allocations: 423.5 kB / 338.3 MB, free: 9.527 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/0.1464, allocations: 33.7 kB / 338.3 MB, free: 9.488 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1464, allocations: 0 / 338.3 MB, free: 9.488 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000418/0.1468, allocations: 96.78 kB / 338.4 MB, free: 9.391 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.1471, allocations: 59.89 kB / 338.5 MB, free: 9.332 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.1487, allocations: 1.563 MB / 340 MB, free: 7.629 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003231/0.1491, allocations: 55.72 kB / 340.1 MB, free: 7.574 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.1491, allocations: 4 kB / 340.1 MB, free: 7.57 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003513/0.1495, allocations: 192.3 kB / 340.3 MB, free: 7.379 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002921/0.1498, allocations: 164.3 kB / 340.4 MB, free: 7.191 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005167/0.1503, allocations: 251.4 kB / 340.7 MB, free: 6.918 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.453e-06/0.1503, allocations: 0 / 340.7 MB, free: 6.918 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.000713/0.151, allocations: 343.6 kB / 341 MB, free: 6.566 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.1511, allocations: 41.69 kB / 341.1 MB, free: 6.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-06/0.1511, allocations: 0 / 341.1 MB, free: 6.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.54e-05/0.1511, allocations: 16.86 kB / 341.1 MB, free: 6.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.1514, allocations: 63.89 kB / 341.1 MB, free: 6.438 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009982/0.1524, allocations: 1.564 MB / 342.7 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003002/0.1527, allocations: 39.81 kB / 342.7 MB, free: 4.695 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.1527, allocations: 12 kB / 342.7 MB, free: 4.684 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.0001394/0.1529, allocations: 196.2 kB / 342.9 MB, free: 4.484 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.1529, allocations: 27.66 kB / 343 MB, free: 4.457 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.093e-05/0.153, allocations: 26.23 kB / 343 MB, free: 4.434 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.153, allocations: 8 kB / 343 MB, free: 4.426 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.153, allocations: 0 / 343 MB, free: 4.426 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.153, allocations: 0 / 343 MB, free: 4.426 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00124/0.1543, allocations: 0.7066 MB / 343.7 MB, free: 3.656 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.1543, allocations: 0 / 343.7 MB, free: 3.656 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.1545, allocations: 51.89 kB / 343.8 MB, free: 3.605 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001685/0.1547, allocations: 48.84 kB / 343.8 MB, free: 3.555 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.1547, allocations: 4 kB / 343.8 MB, free: 3.551 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.1562, allocations: 1.547 MB / 345.4 MB, free: 1.863 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1562, allocations: 3.984 kB / 345.4 MB, free: 1.859 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001122/0.1573, allocations: 0.5079 MB / 345.9 MB, free: 1.332 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-05/0.1574, allocations: 112.7 kB / 346 MB, free: 1.203 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.1575, allocations: 4.062 kB / 346 MB, free: 1.199 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.1578, allocations: 31.97 kB / 346 MB, free: 1.168 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.27e-05/0.1578, allocations: 19.97 kB / 346 MB, free: 1.148 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.1579, allocations: 8 kB / 346 MB, free: 1.141 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001984/0.1581, allocations: 197.9 kB / 346.2 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1581, allocations: 0 / 346.2 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005626/0.1587, allocations: 131.7 kB / 346.4 MB, free: 0.8203 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.0001497/0.1588, allocations: 99.25 kB / 346.5 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001398/0.1602, allocations: 0.707 MB / 347.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.1602, allocations: 4 kB / 347.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004276/0.1607, allocations: 235 kB / 347.4 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004666/0.1612, allocations: 52.52 kB / 347.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1624, allocations: 0.6759 MB / 348.1 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.1627, allocations: 0.7599 MB / 348.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.729e-05/0.1628, allocations: 27.44 kB / 348.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1628, allocations: 0 / 348.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of Templates: time 0.006765/0.1695, allocations: 4.569 MB / 353.5 MB, free: 9.555 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/jenkins1/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