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.00124/0.00124, allocations: 102.9 kB / 17.16 MB, free: 6.316 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.001178/0.001178, 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.656/1.656, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001345/0.001345, allocations: 55.92 kB / 280 MB, free: 3.562 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.147, allocations: 46.61 MB / 326.6 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004609/0.1517, allocations: 2.663 MB / 329.3 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1533, allocations: 0.7022 MB / 330 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.1534, allocations: 7.938 kB / 330 MB, free: 1.484 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001998/0.1537, allocations: 31.77 kB / 330 MB, free: 1.453 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.1539, allocations: 71.45 kB / 330.1 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003186/0.1542, allocations: 83.84 kB / 330.2 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003421/0.1546, allocations: 298.8 kB / 330.4 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.1548, allocations: 65.16 kB / 330.5 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002432/0.1551, allocations: 119.5 kB / 330.6 MB, free: 0.832 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002067/0.1553, allocations: 131.4 kB / 330.8 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.905e-05/0.1553, allocations: 23.94 kB / 330.8 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.119e-05/0.1554, allocations: 16 kB / 330.8 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.976e-05/0.1555, allocations: 51.81 kB / 330.8 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.1556, allocations: 123.3 kB / 331 MB, free: 0.4922 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003745/0.156, allocations: 291.2 kB / 331.3 MB, free: 212 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.156, allocations: 0 / 331.3 MB, free: 212 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1561, allocations: 0 / 331.3 MB, free: 212 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.1561, allocations: 0 / 331.3 MB, free: 212 kB / 270.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.001524/0.1576, allocations: 0.6181 MB / 331.9 MB, free: 15.53 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.1577, allocations: 8.031 kB / 331.9 MB, free: 15.52 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.712e-05/0.1578, allocations: 28.66 kB / 331.9 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004221/0.1582, allocations: 271.4 kB / 332.2 MB, free: 15.19 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.1582, allocations: 16.73 kB / 332.2 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.1583, allocations: 24.36 kB / 332.2 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006329/0.1589, allocations: 240.6 kB / 332.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.1589, allocations: 0 / 332.4 MB, free: 14.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.131e-05/0.159, allocations: 8 kB / 332.5 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.159, allocations: 4 kB / 332.5 MB, free: 14.9 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007761/0.1598, allocations: 247.6 kB / 332.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001627/0.1614, allocations: 0.8247 MB / 333.5 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008849/0.1623, allocations: 226.5 kB / 333.7 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003069/0.1626, allocations: 96.78 kB / 333.8 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.1627, allocations: 0 / 333.8 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004845/0.1632, allocations: 165 kB / 334 MB, free: 13.25 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.756e-06/0.1632, allocations: 0 / 334 MB, free: 13.25 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001853/0.165, allocations: 0.5422 MB / 334.5 MB, free: 12.68 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.618e-05/0.1651, allocations: 77.11 kB / 334.6 MB, free: 12.59 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002923/0.1654, allocations: 240.9 kB / 334.9 MB, free: 12.34 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.1655, allocations: 29.7 kB / 334.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.1656, allocations: 163.9 kB / 335 MB, free: 12.14 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.079e-05/0.1657, allocations: 51.39 kB / 335.1 MB, free: 12.09 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.249e-05/0.1658, allocations: 37.72 kB / 335.1 MB, free: 12.05 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.166, allocations: 330.8 kB / 335.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.1663, allocations: 96.72 kB / 335.5 MB, free: 11.62 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.1667, allocations: 158.6 kB / 335.7 MB, free: 11.44 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006131/0.1673, allocations: 246.7 kB / 335.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.1673, allocations: 4 kB / 335.9 MB, free: 11.17 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001014/0.1683, allocations: 383.7 kB / 336.3 MB, free: 10.78 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.508e-05/0.1684, allocations: 29.7 kB / 336.4 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.1684, allocations: 4 kB / 336.4 MB, free: 10.74 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004744/0.1689, allocations: 96.78 kB / 336.4 MB, free: 10.64 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.1691, allocations: 47.84 kB / 336.5 MB, free: 10.59 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.1709, allocations: 1.448 MB / 337.9 MB, free: 9.012 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.1712, allocations: 43.91 kB / 338 MB, free: 8.969 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.1712, allocations: 12 kB / 338 MB, free: 8.957 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000337/0.1716, allocations: 168.1 kB / 338.2 MB, free: 8.789 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002764/0.1719, allocations: 134.8 kB / 338.3 MB, free: 8.633 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004998/0.1724, allocations: 226.8 kB / 338.5 MB, free: 8.387 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.043e-06/0.1724, allocations: 0 / 338.5 MB, free: 8.387 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007735/0.1732, allocations: 311.8 kB / 338.8 MB, free: 8.066 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.57e-05/0.1732, allocations: 29.7 kB / 338.8 MB, free: 8.031 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.1732, allocations: 4 kB / 338.9 MB, free: 8.027 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.209e-05/0.1733, allocations: 28.78 kB / 338.9 MB, free: 7.996 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002056/0.1735, allocations: 39.97 kB / 338.9 MB, free: 7.957 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00108/0.1746, allocations: 1.381 MB / 340.3 MB, free: 6.441 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002652/0.1749, allocations: 35.81 kB / 340.3 MB, free: 6.406 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.1749, allocations: 16.09 kB / 340.4 MB, free: 6.391 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.000176/0.1751, allocations: 192.2 kB / 340.5 MB, free: 6.195 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.413e-05/0.1752, allocations: 23.75 kB / 340.6 MB, free: 6.172 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.958e-05/0.1752, allocations: 21.84 kB / 340.6 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1752, allocations: 96 / 340.6 MB, free: 6.156 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1752, allocations: 7.938 kB / 340.6 MB, free: 6.148 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.1753, allocations: 7.969 kB / 340.6 MB, free: 6.141 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.1756, allocations: 285.3 kB / 340.9 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1756, allocations: 4 kB / 340.9 MB, free: 5.809 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.1758, allocations: 35.91 kB / 340.9 MB, free: 5.773 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003062/0.1761, allocations: 52.75 kB / 341 MB, free: 5.719 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.1761, allocations: 0 / 341 MB, free: 5.719 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/0.1778, allocations: 1.428 MB / 342.4 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1778, allocations: 3.984 kB / 342.4 MB, free: 4.148 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00111/0.1789, allocations: 397.6 kB / 342.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.179, allocations: 96.84 kB / 342.9 MB, free: 3.625 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.1791, allocations: 11.94 kB / 342.9 MB, free: 3.613 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.1793, allocations: 24.03 kB / 342.9 MB, free: 3.59 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.1794, allocations: 23.91 kB / 342.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.1794, allocations: 4 kB / 342.9 MB, free: 3.562 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002577/0.1797, allocations: 172.5 kB / 343.1 MB, free: 3.395 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1797, allocations: 0 / 343.1 MB, free: 3.395 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000509/0.1802, allocations: 111.7 kB / 343.2 MB, free: 3.285 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.000179/0.1804, allocations: 107.3 kB / 343.3 MB, free: 3.172 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.1818, allocations: 0.6487 MB / 344 MB, free: 2.473 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.1818, allocations: 0 / 344 MB, free: 2.473 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004329/0.1822, allocations: 218.6 kB / 344.2 MB, free: 2.246 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.1826, allocations: 32.67 kB / 344.2 MB, free: 2.215 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.1839, allocations: 0.5706 MB / 344.8 MB, free: 1.621 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.1842, allocations: 0.7479 MB / 345.5 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.1844, allocations: 25.94 kB / 345.6 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.217e-05/0.1845, allocations: 15.44 kB / 345.6 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1845, allocations: 0 / 345.6 MB, free: 0.8047 MB / 286.1 MB Notification: Performance of Templates: time 0.007806/0.1923, allocations: 3.378 MB / 349 MB, free: 13.43 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches