Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.Integrator,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.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,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.Integrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001309, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.001176/0.001177, allocations: 191 kB / 19.29 MB, free: 3.848 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.546/1.546, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001321/0.001321, allocations: 51.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1314, allocations: 46.63 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004426/0.1359, allocations: 2.606 MB / 331.3 MB, free: 1.129 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001531/0.1375, allocations: 0.7059 MB / 332.1 MB, free: 424 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.1378, allocations: 0 / 332.1 MB, free: 424 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001932/0.138, allocations: 43.52 kB / 332.1 MB, free: 380 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.1383, allocations: 83.33 kB / 332.2 MB, free: 296 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003764/0.1387, allocations: 95.77 kB / 332.3 MB, free: 200 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005109/0.1392, allocations: 322.7 kB / 332.6 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.1394, allocations: 80.7 kB / 332.7 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002759/0.1397, allocations: 131.4 kB / 332.8 MB, free: 15.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.14, allocations: 139.4 kB / 332.9 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.772e-05/0.14, allocations: 32 kB / 333 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.378e-05/0.1401, allocations: 28 kB / 333 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.774e-05/0.1402, allocations: 59.83 kB / 333 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000172/0.1404, allocations: 131.3 kB / 333.2 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003914/0.1408, allocations: 318.8 kB / 333.5 MB, free: 14.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1408, allocations: 0 / 333.5 MB, free: 14.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1408, allocations: 0 / 333.5 MB, free: 14.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.1408, allocations: 0 / 333.5 MB, free: 14.98 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001365/0.1422, allocations: 0.6142 MB / 334.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1422, allocations: 8.031 kB / 334.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.837e-05/0.1423, allocations: 24.66 kB / 334.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.1428, allocations: 275.7 kB / 334.4 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.1428, allocations: 16.75 kB / 334.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.61e-05/0.1429, allocations: 20.36 kB / 334.4 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006145/0.1435, allocations: 244.6 kB / 334.7 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.1435, allocations: 0 / 334.7 MB, free: 13.69 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.1435, allocations: 4 kB / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.1436, allocations: 8 kB / 334.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000775/0.1443, allocations: 243.6 kB / 334.9 MB, free: 13.44 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001791/0.1461, allocations: 0.813 MB / 335.7 MB, free: 12.55 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008666/0.147, allocations: 238.5 kB / 336 MB, free: 12.31 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002825/0.1473, allocations: 92.78 kB / 336.1 MB, free: 12.22 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.1474, allocations: 7.938 kB / 336.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004055/0.1478, allocations: 157 kB / 336.2 MB, free: 12.04 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.1478, allocations: 0 / 336.2 MB, free: 12.04 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001701/0.1495, allocations: 0.5419 MB / 336.8 MB, free: 11.47 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.511e-05/0.1496, allocations: 81.11 kB / 336.8 MB, free: 11.37 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003038/0.1499, allocations: 240.9 kB / 337.1 MB, free: 11.12 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.1499, allocations: 33.69 kB / 337.1 MB, free: 11.08 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001439/0.1501, allocations: 167.9 kB / 337.3 MB, free: 10.91 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.62e-05/0.1501, allocations: 35.45 kB / 337.3 MB, free: 10.88 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.1503, allocations: 45.7 kB / 337.4 MB, free: 10.83 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1504, allocations: 330.8 kB / 337.7 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002967/0.1507, allocations: 100.7 kB / 337.8 MB, free: 10.39 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003248/0.151, allocations: 146.8 kB / 337.9 MB, free: 10.23 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005816/0.1516, allocations: 242.6 kB / 338.2 MB, free: 9.965 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1516, allocations: 3.938 kB / 338.2 MB, free: 9.961 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009844/0.1526, allocations: 379.6 kB / 338.5 MB, free: 9.574 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/0.1527, allocations: 37.69 kB / 338.6 MB, free: 9.531 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/0.1527, allocations: 160 / 338.6 MB, free: 9.531 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004307/0.1531, allocations: 92.75 kB / 338.7 MB, free: 9.438 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.1534, allocations: 47.84 kB / 338.7 MB, free: 9.391 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/0.1551, allocations: 1.574 MB / 340.3 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.1554, allocations: 39.81 kB / 340.3 MB, free: 7.637 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/0.1554, allocations: 8.062 kB / 340.3 MB, free: 7.629 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003224/0.1557, allocations: 176.1 kB / 340.5 MB, free: 7.453 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002726/0.156, allocations: 134.7 kB / 340.6 MB, free: 7.297 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004927/0.1565, allocations: 223.5 kB / 340.8 MB, free: 7.051 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.1565, allocations: 0 / 340.8 MB, free: 7.051 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000694/0.1572, allocations: 311.1 kB / 341.2 MB, free: 6.734 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.519e-05/0.1573, allocations: 33.7 kB / 341.2 MB, free: 6.695 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1573, allocations: 0 / 341.2 MB, free: 6.695 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.522e-05/0.1574, allocations: 24.84 kB / 341.2 MB, free: 6.668 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.1576, allocations: 43.97 kB / 341.3 MB, free: 6.625 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.1587, allocations: 1.548 MB / 342.8 MB, free: 4.938 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.1589, allocations: 35.91 kB / 342.8 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.159, allocations: 15.94 kB / 342.8 MB, free: 4.887 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 (20): * Single equations (assignments): 18 * 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.0001506/0.1591, allocations: 196.2 kB / 343 MB, free: 4.688 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.1592, allocations: 19.81 kB / 343.1 MB, free: 4.668 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.1592, allocations: 17.94 kB / 343.1 MB, free: 4.656 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1592, allocations: 3.984 kB / 343.1 MB, free: 4.652 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.1592, allocations: 0 / 343.1 MB, free: 4.652 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.1592, allocations: 7.984 kB / 343.1 MB, free: 4.645 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.1595, allocations: 289.3 kB / 343.4 MB, free: 4.312 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.1595, allocations: 4 kB / 343.4 MB, free: 4.309 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.1597, allocations: 35.91 kB / 343.4 MB, free: 4.273 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001703/0.1599, allocations: 48.81 kB / 343.5 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.1599, allocations: 0 / 343.5 MB, free: 4.223 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001539/0.1615, allocations: 1.546 MB / 345 MB, free: 2.531 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1615, allocations: 0 / 345 MB, free: 2.531 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.1626, allocations: 390.1 kB / 345.4 MB, free: 2.129 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/0.1626, allocations: 100.9 kB / 345.5 MB, free: 2.012 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.1627, allocations: 8 kB / 345.5 MB, free: 2.004 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.1629, allocations: 23.97 kB / 345.5 MB, free: 1.98 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.194e-05/0.163, allocations: 20.11 kB / 345.5 MB, free: 1.961 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.163, allocations: 8 kB / 345.5 MB, free: 1.953 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001805/0.1632, allocations: 172.5 kB / 345.7 MB, free: 1.785 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1632, allocations: 0 / 345.7 MB, free: 1.785 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004888/0.1637, allocations: 111.6 kB / 345.8 MB, free: 1.676 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (11): * Single equations (assignments): 8 * 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.0001449/0.1639, allocations: 119.2 kB / 345.9 MB, free: 1.551 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.1652, allocations: 0.6526 MB / 346.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1653, allocations: 0 / 346.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004148/0.1657, allocations: 218.9 kB / 346.8 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003242/0.166, allocations: 44.36 kB / 346.8 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.1672, allocations: 0.4969 MB / 347.3 MB, free: 56 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000346/0.1676, allocations: 0.7402 MB / 348.1 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000124/0.1677, allocations: 25.94 kB / 348.1 MB, free: 15.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.816e-05/0.1678, allocations: 19.44 kB / 348.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1678, allocations: 4 kB / 348.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of Templates: time 0.00769/0.1755, allocations: 3.655 MB / 351.8 MB, free: 11.58 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches