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.0007977/0.000798, allocations: 87.22 kB / 16.31 MB, free: 6.449 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.0008079/0.0008079, allocations: 183.6 kB / 17.21 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.598/1.598, allocations: 223.3 MB / 241.2 MB, free: 5.168 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.000332, allocations: 5.344 kB / 300.8 MB, free: 5.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1315, allocations: 50.42 MB / 351.3 MB, free: 11.31 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.00338/0.1349, allocations: 2.444 MB / 353.7 MB, free: 8.852 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.1369, allocations: 0.6743 MB / 354.4 MB, free: 8.172 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004633/0.1374, allocations: 4 kB / 354.4 MB, free: 8.168 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.1378, allocations: 43.69 kB / 354.4 MB, free: 8.125 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005028/0.1384, allocations: 75.38 kB / 354.5 MB, free: 8.051 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005074/0.1389, allocations: 67.91 kB / 354.6 MB, free: 7.984 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004688/0.1394, allocations: 350.6 kB / 354.9 MB, free: 7.641 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002623/0.1396, allocations: 89.8 kB / 355 MB, free: 7.551 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.1399, allocations: 127.5 kB / 355.1 MB, free: 7.426 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001891/0.1401, allocations: 131.4 kB / 355.2 MB, free: 7.297 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.186e-05/0.1402, allocations: 20 kB / 355.3 MB, free: 7.277 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.114e-05/0.1402, allocations: 20 kB / 355.3 MB, free: 7.258 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.173e-05/0.1403, allocations: 51.77 kB / 355.3 MB, free: 7.207 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.105e-05/0.1404, allocations: 85.45 kB / 355.4 MB, free: 7.117 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003386/0.1407, allocations: 327 kB / 355.7 MB, free: 6.797 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1407, allocations: 0 / 355.7 MB, free: 6.797 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1407, allocations: 4 kB / 355.7 MB, free: 6.793 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1408, allocations: 0 / 355.7 MB, free: 6.793 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001246/0.142, allocations: 0.6368 MB / 356.4 MB, free: 6.102 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.1421, allocations: 8.031 kB / 356.4 MB, free: 6.094 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.857e-05/0.1422, allocations: 31.62 kB / 356.4 MB, free: 6.062 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000462/0.1426, allocations: 283.6 kB / 356.7 MB, free: 5.742 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.388e-05/0.1427, allocations: 16.56 kB / 356.7 MB, free: 5.727 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.1428, allocations: 24 kB / 356.7 MB, free: 5.703 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007759/0.1436, allocations: 335.5 kB / 357.1 MB, free: 5.367 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1436, allocations: 0 / 357.1 MB, free: 5.367 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.1437, allocations: 11.98 kB / 357.1 MB, free: 5.355 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.978e-06/0.1437, allocations: 8 kB / 357.1 MB, free: 5.348 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008159/0.1445, allocations: 302 kB / 357.4 MB, free: 5.051 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002055/0.1466, allocations: 1.212 MB / 358.6 MB, free: 3.754 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008702/0.1475, allocations: 278.5 kB / 358.9 MB, free: 3.473 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.1478, allocations: 120.7 kB / 359 MB, free: 3.352 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.1478, allocations: 0 / 359 MB, free: 3.352 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004895/0.1483, allocations: 189 kB / 359.2 MB, free: 3.148 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.1483, allocations: 0 / 359.2 MB, free: 3.148 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.001989/0.1503, allocations: 0.6629 MB / 359.8 MB, free: 2.457 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.1504, allocations: 85.09 kB / 359.9 MB, free: 2.355 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.1507, allocations: 262.6 kB / 360.2 MB, free: 2.09 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/0.1507, allocations: 25.7 kB / 360.2 MB, free: 2.059 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.1509, allocations: 195.6 kB / 360.4 MB, free: 1.863 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.151, allocations: 39.45 kB / 360.4 MB, free: 1.824 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.412e-05/0.151, allocations: 8 kB / 360.4 MB, free: 1.816 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1511, allocations: 338.8 kB / 360.8 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000331/0.1515, allocations: 112.2 kB / 360.9 MB, free: 1.363 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/0.1519, allocations: 215.4 kB / 361.1 MB, free: 1.113 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.1522, allocations: 149.7 kB / 361.2 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.1522, allocations: 3.938 kB / 361.2 MB, free: 0.957 MB / 286.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001127/0.1534, allocations: 475.8 kB / 361.7 MB, free: 488 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.67e-05/0.1534, allocations: 41.69 kB / 361.7 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.1534, allocations: 4 kB / 361.7 MB, free: 436 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/0.1538, allocations: 72.88 kB / 361.8 MB, free: 360 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.1541, allocations: 55.91 kB / 361.9 MB, free: 304 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002604/0.1567, allocations: 1.752 MB / 363.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003362/0.157, allocations: 59.84 kB / 363.7 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-05/0.1571, allocations: 12 kB / 363.7 MB, free: 14.34 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002047/0.1573, allocations: 148.3 kB / 363.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.297e-05/0.1573, allocations: 23.72 kB / 363.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.323e-05/0.1574, allocations: 25.7 kB / 363.9 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.1574, allocations: 11.95 kB / 363.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1574, allocations: 0 / 363.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.1574, allocations: 0 / 363.9 MB, free: 14.13 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003619/0.1578, allocations: 309.4 kB / 364.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.1578, allocations: 0 / 364.2 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001834/0.158, allocations: 43.97 kB / 364.2 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002019/0.1582, allocations: 68.81 kB / 364.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.1582, allocations: 3.938 kB / 364.3 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00173/0.16, allocations: 1.538 MB / 365.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.16, allocations: 4.031 kB / 365.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.1612, allocations: 0.4896 MB / 366.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.965e-05/0.1613, allocations: 112.8 kB / 366.4 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.83e-05/0.1614, allocations: 7.953 kB / 366.4 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.1616, allocations: 35.97 kB / 366.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.1617, allocations: 19.97 kB / 366.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.1617, allocations: 4 kB / 366.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002161/0.1619, allocations: 190 kB / 366.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1619, allocations: 0 / 366.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004077/0.1623, allocations: 71.84 kB / 366.8 MB, free: 11.02 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001847/0.1625, allocations: 99.19 kB / 366.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001172/0.1637, allocations: 0.5095 MB / 367.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1637, allocations: 0 / 367.4 MB, free: 10.38 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004299/0.1642, allocations: 227.2 kB / 367.6 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.1645, allocations: 41.3 kB / 367.6 MB, free: 10.11 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003044/0.1676, allocations: 1.009 MB / 368.6 MB, free: 9.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.1679, allocations: 0.756 MB / 369.4 MB, free: 8.289 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.1681, allocations: 22.3 kB / 369.4 MB, free: 8.266 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.674e-05/0.1681, allocations: 19.44 kB / 369.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of SimCode: time 2.525e-06/0.1681, allocations: 0 / 369.4 MB, free: 8.246 MB / 302.1 MB Notification: Performance of Templates: time 0.007265/0.1754, allocations: 3.151 MB / 372.6 MB, free: 5.125 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/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