Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_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.001879/0.001879, allocations: 108.3 kB / 17.16 MB, free: 6.324 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.001408/0.001408, allocations: 198.9 kB / 18.08 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.288/2.288, allocations: 222.9 MB / 241.8 MB, free: 15.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 51.48 kB / 300.6 MB, free: 6.328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1257, allocations: 49.44 MB / 350.1 MB, free: 4.879 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.005671/0.1314, allocations: 2.9 MB / 353 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002107/0.1336, allocations: 0.7246 MB / 353.7 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004455/0.1341, allocations: 4 kB / 353.7 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000371/0.1346, allocations: 31.7 kB / 353.7 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004383/0.1351, allocations: 83.38 kB / 353.8 MB, free: 1.109 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000459/0.1355, allocations: 91.94 kB / 353.9 MB, free: 1.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006287/0.1362, allocations: 374.5 kB / 354.3 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/0.1365, allocations: 103.8 kB / 354.4 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003647/0.1369, allocations: 135.4 kB / 354.5 MB, free: 428 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003296/0.1372, allocations: 147.4 kB / 354.6 MB, free: 280 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.686e-05/0.1373, allocations: 20 kB / 354.7 MB, free: 260 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.413e-05/0.1374, allocations: 23.94 kB / 354.7 MB, free: 236 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.086e-05/0.1375, allocations: 59.75 kB / 354.7 MB, free: 176 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002523/0.1378, allocations: 155.2 kB / 354.9 MB, free: 20 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004315/0.1382, allocations: 339.4 kB / 355.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1382, allocations: 4 kB / 355.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1382, allocations: 3.938 kB / 355.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.1383, allocations: 0 / 355.2 MB, free: 15.68 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.00228/0.1405, allocations: 0.6642 MB / 355.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.1406, allocations: 8.031 kB / 355.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001772/0.1408, allocations: 32.56 kB / 355.9 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006352/0.1414, allocations: 292.6 kB / 356.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.1415, allocations: 16.94 kB / 356.2 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.588e-05/0.1416, allocations: 28.27 kB / 356.3 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.1428, allocations: 320 kB / 356.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.1429, allocations: 0 / 356.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.643e-05/0.1429, allocations: 11.94 kB / 356.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.633e-05/0.1429, allocations: 8 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.1442, allocations: 274.1 kB / 356.9 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00337/0.1476, allocations: 1.177 MB / 358 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001373/0.149, allocations: 242.6 kB / 358.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/0.1496, allocations: 108.7 kB / 358.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.123e-05/0.1496, allocations: 0 / 358.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007473/0.1504, allocations: 180.9 kB / 358.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 2.023e-06/0.1504, allocations: 0 / 358.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.003153/0.1535, allocations: 0.5849 MB / 359.1 MB, free: 11.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.1537, allocations: 89.05 kB / 359.2 MB, free: 11.41 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005164/0.1542, allocations: 258.6 kB / 359.5 MB, free: 11.15 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/0.1543, allocations: 33.7 kB / 359.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002333/0.1545, allocations: 195.5 kB / 359.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.621e-05/0.1546, allocations: 39.55 kB / 359.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/0.1548, allocations: 49.61 kB / 359.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001988/0.155, allocations: 334.8 kB / 360.1 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005439/0.1555, allocations: 100.2 kB / 360.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006063/0.1561, allocations: 187.5 kB / 360.4 MB, free: 10.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.1574, allocations: 315.2 kB / 360.7 MB, free: 9.812 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1574, allocations: 4 kB / 360.7 MB, free: 9.809 MB / 302.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001943/0.1593, allocations: 439.7 kB / 361.1 MB, free: 9.363 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.37e-05/0.1594, allocations: 45.7 kB / 361.2 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.1594, allocations: 8 kB / 361.2 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005069/0.16, allocations: 68.73 kB / 361.3 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003864/0.1604, allocations: 47.97 kB / 361.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003655/0.164, allocations: 1.518 MB / 362.8 MB, free: 7.535 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006438/0.1647, allocations: 55.66 kB / 362.9 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.006e-05/0.1648, allocations: 8 kB / 362.9 MB, free: 7.473 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (25): * Single equations (assignments): 23 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003911/0.1652, allocations: 149.7 kB / 363 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.1653, allocations: 23.7 kB / 363.1 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.448e-05/0.1654, allocations: 21.72 kB / 363.1 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1654, allocations: 4 kB / 363.1 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1654, allocations: 0 / 363.1 MB, free: 7.27 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.638e-05/0.1655, allocations: 3.984 kB / 363.1 MB, free: 7.266 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005506/0.166, allocations: 317.3 kB / 363.4 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.166, allocations: 0 / 363.4 MB, free: 6.906 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002885/0.1663, allocations: 31.97 kB / 363.4 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003531/0.1667, allocations: 64.8 kB / 363.5 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.1667, allocations: 4 kB / 363.5 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002948/0.1697, allocations: 1.511 MB / 365 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1697, allocations: 0 / 365 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/0.1718, allocations: 453.4 kB / 365.5 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000155/0.172, allocations: 96.89 kB / 365.5 MB, free: 4.586 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.965e-05/0.1721, allocations: 3.984 kB / 365.6 MB, free: 4.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.1724, allocations: 35.91 kB / 365.6 MB, free: 4.547 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.1726, allocations: 23.91 kB / 365.6 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.1726, allocations: 4.062 kB / 365.6 MB, free: 4.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003495/0.173, allocations: 190 kB / 365.8 MB, free: 4.336 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.173, allocations: 0 / 365.8 MB, free: 4.336 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007183/0.1737, allocations: 71.75 kB / 365.9 MB, free: 4.266 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002161/0.1739, allocations: 107.2 kB / 366 MB, free: 4.148 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001516/0.1755, allocations: 397.8 kB / 366.4 MB, free: 3.734 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.1755, allocations: 0 / 366.4 MB, free: 3.734 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006646/0.1761, allocations: 219.2 kB / 366.6 MB, free: 3.508 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000554/0.1767, allocations: 44.47 kB / 366.6 MB, free: 3.465 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005393/0.1821, allocations: 0.9967 MB / 367.6 MB, free: 2.434 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005568/0.1827, allocations: 0.7521 MB / 368.4 MB, free: 1.656 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.1829, allocations: 23.44 kB / 368.4 MB, free: 1.633 MB / 302.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1829, allocations: 0 / 368.4 MB, free: 1.633 MB / 302.1 MB Notification: Performance of Templates: time 0.2422/0.4251, allocations: 4.525 MB / 372.9 MB, free: 24.68 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches