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.00156/0.001566, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.001786/0.001786, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.534/1.534, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.001441/0.001442, allocations: 47.94 kB / 282.1 MB, free: 2.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.134, allocations: 46.63 MB / 328.7 MB, free: 3.73 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004373/0.1384, allocations: 2.609 MB / 331.3 MB, free: 1.098 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.1397, allocations: 0.6982 MB / 332 MB, free: 400 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.1399, allocations: 4 kB / 332 MB, free: 396 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001674/0.1401, allocations: 47.58 kB / 332.1 MB, free: 348 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.1403, allocations: 79.33 kB / 332.2 MB, free: 268 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.1406, allocations: 95.81 kB / 332.3 MB, free: 172 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003712/0.141, allocations: 326.7 kB / 332.6 MB, free: 15.85 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.1412, allocations: 84.7 kB / 332.7 MB, free: 15.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001981/0.1414, allocations: 127.5 kB / 332.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.1416, allocations: 139.4 kB / 332.9 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.981e-05/0.1416, allocations: 28 kB / 332.9 MB, free: 15.48 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.647e-05/0.1417, allocations: 28 kB / 333 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.207e-05/0.1418, allocations: 63.7 kB / 333 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001258/0.1419, allocations: 131.4 kB / 333.2 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003075/0.1422, allocations: 306.9 kB / 333.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1422, allocations: 3.938 kB / 333.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1422, allocations: 0 / 333.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1422, allocations: 0 / 333.5 MB, free: 14.96 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.001178/0.1434, allocations: 0.6143 MB / 334.1 MB, free: 14.28 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/0.1435, allocations: 12.03 kB / 334.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.673e-05/0.1436, allocations: 24.66 kB / 334.1 MB, free: 14.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.144, allocations: 275.6 kB / 334.4 MB, free: 13.94 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.144, allocations: 12.75 kB / 334.4 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.144, allocations: 20.38 kB / 334.4 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005547/0.1446, allocations: 244.6 kB / 334.7 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.1446, allocations: 0 / 334.7 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.469e-05/0.1447, allocations: 4 kB / 334.7 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.1447, allocations: 4 kB / 334.7 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006985/0.1454, allocations: 251.5 kB / 334.9 MB, free: 13.41 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.1468, allocations: 0.8246 MB / 335.7 MB, free: 12.52 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007575/0.1475, allocations: 222.6 kB / 336 MB, free: 12.29 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.1478, allocations: 92.78 kB / 336 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.1479, allocations: 8 kB / 336.1 MB, free: 12.19 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003939/0.1483, allocations: 157 kB / 336.2 MB, free: 12.02 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.733e-06/0.1483, allocations: 0 / 336.2 MB, free: 12.02 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001649/0.1499, allocations: 0.5458 MB / 336.8 MB, free: 11.44 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.15, allocations: 81.11 kB / 336.8 MB, free: 11.34 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.1502, allocations: 236.9 kB / 337.1 MB, free: 11.1 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.428e-05/0.1503, allocations: 29.7 kB / 337.1 MB, free: 11.06 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.1504, allocations: 163.9 kB / 337.3 MB, free: 10.9 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.1504, allocations: 39.45 kB / 337.3 MB, free: 10.86 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.009e-05/0.1505, allocations: 45.7 kB / 337.3 MB, free: 10.81 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.1507, allocations: 330.8 kB / 337.7 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.151, allocations: 104.7 kB / 337.8 MB, free: 10.37 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/0.1513, allocations: 142.8 kB / 337.9 MB, free: 10.21 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005441/0.1518, allocations: 246.8 kB / 338.1 MB, free: 9.941 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1519, allocations: 0 / 338.1 MB, free: 9.941 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009451/0.1528, allocations: 383.8 kB / 338.5 MB, free: 9.551 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.56e-05/0.1529, allocations: 37.69 kB / 338.6 MB, free: 9.508 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1529, allocations: 0 / 338.6 MB, free: 9.508 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004163/0.1533, allocations: 92.69 kB / 338.6 MB, free: 9.414 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.1535, allocations: 51.94 kB / 338.7 MB, free: 9.363 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001708/0.1552, allocations: 1.57 MB / 340.3 MB, free: 7.652 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002816/0.1555, allocations: 35.81 kB / 340.3 MB, free: 7.617 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.1556, allocations: 12 kB / 340.3 MB, free: 7.605 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003161/0.1559, allocations: 172.1 kB / 340.5 MB, free: 7.434 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002661/0.1562, allocations: 146.7 kB / 340.6 MB, free: 7.266 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004578/0.1566, allocations: 215.6 kB / 340.8 MB, free: 7.027 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.923e-06/0.1566, allocations: 0 / 340.8 MB, free: 7.027 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006531/0.1573, allocations: 310.8 kB / 341.1 MB, free: 6.711 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.33e-05/0.1574, allocations: 37.7 kB / 341.2 MB, free: 6.668 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.1574, allocations: 0 / 341.2 MB, free: 6.668 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.295e-05/0.1574, allocations: 24.84 kB / 341.2 MB, free: 6.641 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.1577, allocations: 43.91 kB / 341.2 MB, free: 6.598 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.1588, allocations: 1.556 MB / 342.8 MB, free: 4.902 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.1591, allocations: 31.81 kB / 342.8 MB, free: 4.871 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.1591, allocations: 12 kB / 342.8 MB, free: 4.859 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.0001681/0.1593, allocations: 192.2 kB / 343 MB, free: 4.664 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.1594, allocations: 27.75 kB / 343.1 MB, free: 4.637 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.518e-05/0.1594, allocations: 21.84 kB / 343.1 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1594, allocations: 3.938 kB / 343.1 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1594, allocations: 4.062 kB / 343.1 MB, free: 4.613 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1594, allocations: 3.984 kB / 343.1 MB, free: 4.609 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.1597, allocations: 285.3 kB / 343.4 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1597, allocations: 0 / 343.4 MB, free: 4.281 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.1599, allocations: 35.97 kB / 343.4 MB, free: 4.246 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001714/0.1601, allocations: 44.81 kB / 343.4 MB, free: 4.199 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.815e-05/0.1601, allocations: 4 kB / 343.4 MB, free: 4.195 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.1617, allocations: 1.55 MB / 345 MB, free: 2.5 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1617, allocations: 3.938 kB / 345 MB, free: 2.496 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.1628, allocations: 402.1 kB / 345.4 MB, free: 2.082 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.1629, allocations: 96.84 kB / 345.5 MB, free: 1.969 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.1629, allocations: 4 kB / 345.5 MB, free: 1.965 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/0.1631, allocations: 23.97 kB / 345.5 MB, free: 1.941 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.223e-05/0.1632, allocations: 23.97 kB / 345.5 MB, free: 1.918 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.1632, allocations: 4 kB / 345.5 MB, free: 1.914 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001663/0.1634, allocations: 176.5 kB / 345.7 MB, free: 1.742 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1634, allocations: 0 / 345.7 MB, free: 1.742 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004889/0.1639, allocations: 107.7 kB / 345.8 MB, free: 1.637 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.0001512/0.1641, allocations: 103.2 kB / 345.9 MB, free: 1.527 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001271/0.1653, allocations: 0.6494 MB / 346.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.1653, allocations: 0 / 346.6 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003952/0.1657, allocations: 223.2 kB / 346.8 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.1661, allocations: 40.36 kB / 346.8 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.1672, allocations: 0.5009 MB / 347.3 MB, free: 32 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.1676, allocations: 0.7363 MB / 348.1 MB, free: 15.27 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001308/0.1677, allocations: 25.94 kB / 348.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.1678, allocations: 15.44 kB / 348.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1678, allocations: 0 / 348.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of Templates: time 0.007846/0.1756, allocations: 3.681 MB / 351.8 MB, free: 11.55 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 cvode -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