Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002273/0.002273, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.574/1.574, allocations: 230.6 MB / 254.8 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2498/0.2498, allocations: 46.93 MB / 357.8 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator") translateModel(ModelicaTest.Electrical.Analog.TestGyrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gyrator.v1|gyrator.v2|gyrator.i1|gyrator.i2",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 72.03 kB / 0.492 GB, free: 7.496 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1608, allocations: 65.99 MB / 0.5565 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003208/0.164, allocations: 1.744 MB / 0.5582 GB, free: 3.617 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001753/0.1641, allocations: 71.73 kB / 0.5583 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.963e-05/0.1642, allocations: 4 kB / 0.5583 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 5.632e-05/0.1643, allocations: 11.86 kB / 0.5583 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 7.91e-05/0.1643, allocations: 27.77 kB / 0.5583 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.268e-05/0.1644, allocations: 27.91 kB / 0.5583 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.1646, allocations: 99.59 kB / 0.5584 GB, free: 3.379 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.1648, allocations: 43.95 kB / 0.5585 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.971e-05/0.1648, allocations: 47.86 kB / 0.5585 GB, free: 3.289 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.315e-05/0.1649, allocations: 47.78 kB / 0.5586 GB, free: 3.242 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.1649, allocations: 8 kB / 0.5586 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.969e-05/0.1649, allocations: 12 kB / 0.5586 GB, free: 3.223 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.133e-05/0.165, allocations: 27.91 kB / 0.5586 GB, free: 3.195 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.06e-05/0.165, allocations: 47.8 kB / 0.5586 GB, free: 3.148 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.1652, allocations: 119.5 kB / 0.5588 GB, free: 3.031 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1652, allocations: 0 / 0.5588 GB, free: 3.031 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1652, allocations: 0 / 0.5588 GB, free: 3.031 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1652, allocations: 0 / 0.5588 GB, free: 3.031 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0005706/0.1658, allocations: 403.3 kB / 0.5591 GB, free: 2.582 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1658, allocations: 8.031 kB / 0.5592 GB, free: 2.574 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.539e-05/0.1659, allocations: 12.84 kB / 0.5592 GB, free: 2.562 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.166, allocations: 176.2 kB / 0.5593 GB, free: 2.352 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.1661, allocations: 8.609 kB / 0.5593 GB, free: 2.344 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.1661, allocations: 12.38 kB / 0.5594 GB, free: 2.332 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.1663, allocations: 131.9 kB / 0.5595 GB, free: 2.195 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1663, allocations: 8.188 kB / 0.5595 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/0.1664, allocations: 7.938 kB / 0.5595 GB, free: 2.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.1664, allocations: 4 kB / 0.5595 GB, free: 2.176 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.1665, allocations: 63.91 kB / 0.5596 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.1676, allocations: 0.7235 MB / 0.5603 GB, free: 1.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.1678, allocations: 169.1 kB / 0.5604 GB, free: 1.145 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.254e-05/0.1679, allocations: 80.14 kB / 0.5605 GB, free: 1.062 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.167e-05/0.1679, allocations: 79.27 kB / 0.5606 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.729e-05/0.168, allocations: 109.8 kB / 0.5607 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.168, allocations: 4 kB / 0.5607 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.753e-05/0.1681, allocations: 41.62 kB / 0.5607 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.944e-05/0.1681, allocations: 126.7 kB / 0.5609 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.1683, allocations: 155.2 kB / 0.561 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1683, allocations: 25.7 kB / 0.561 GB, free: 500 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.022e-05/0.1684, allocations: 119.9 kB / 0.5611 GB, free: 376 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.081e-06/0.1684, allocations: 4 kB / 0.5611 GB, free: 372 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.039e-05/0.1685, allocations: 25.66 kB / 0.5612 GB, free: 340 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002451/0.1687, allocations: 322.8 kB / 0.5615 GB, free: 8 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.812e-05/0.1687, allocations: 4 kB / 0.5615 GB, free: 4 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.768e-05/0.1688, allocations: 45.19 kB / 0.5615 GB, free: 15.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.535e-05/0.1689, allocations: 57.03 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.1689, allocations: 4 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000155/0.169, allocations: 69.52 kB / 0.5616 GB, free: 15.79 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1691, allocations: 6.188 kB / 0.5617 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1691, allocations: 8.188 kB / 0.5617 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.1691, allocations: 0 / 0.5617 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.461e-05/0.1691, allocations: 11.98 kB / 0.5617 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.1692, allocations: 4 kB / 0.5617 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.966e-05/0.1692, allocations: 11.89 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.1692, allocations: 3.938 kB / 0.5617 GB, free: 15.75 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001286/0.1693, allocations: 199.2 kB / 0.5619 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.808e-05/0.1694, allocations: 112.9 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.268e-05/0.1695, allocations: 116.6 kB / 0.5621 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.921e-05/0.1696, allocations: 184.4 kB / 0.5623 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.544e-05/0.1696, allocations: 184.3 kB / 0.5624 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.018e-05/0.1697, allocations: 184.3 kB / 0.5626 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000357/0.1701, allocations: 441.1 kB / 0.563 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-05/0.1701, allocations: 109 kB / 0.5631 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.536e-05/0.1702, allocations: 104.9 kB / 0.5632 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-05/0.1703, allocations: 180.3 kB / 0.5634 GB, free: 13.85 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.023e-05/0.1703, allocations: 180.2 kB / 0.5636 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-05/0.1704, allocations: 176.3 kB / 0.5638 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.424e-05/0.1705, allocations: 180.3 kB / 0.5639 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.1707, allocations: 319.6 kB / 0.5642 GB, free: 12.96 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.1708, allocations: 190 kB / 0.5644 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.468e-05/0.1709, allocations: 184.2 kB / 0.5646 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.766e-05/0.171, allocations: 101 kB / 0.5647 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.847e-05/0.1711, allocations: 188.1 kB / 0.5649 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.996e-05/0.1711, allocations: 112.9 kB / 0.565 GB, free: 12.15 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.66e-05/0.1712, allocations: 115.2 kB / 0.5651 GB, free: 12.04 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1712, allocations: 0 / 0.5651 GB, free: 12.04 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1715, allocations: 15.94 kB / 0.5651 GB, free: 12.02 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001434/0.1716, allocations: 170.5 kB / 0.5653 GB, free: 11.85 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.375e-05/0.1717, allocations: 20.06 kB / 0.5653 GB, free: 11.83 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1717, allocations: 7.938 kB / 0.5653 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.1717, allocations: 0 / 0.5653 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.1722, allocations: 455.7 kB / 0.5657 GB, free: 11.37 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004549/0.1726, allocations: 268.2 kB / 0.566 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.173, allocations: 0.7004 MB / 0.5667 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.173, allocations: 7.438 kB / 0.5667 GB, free: 10.34 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.173, allocations: 0 / 0.5667 GB, free: 10.34 MB / 430.1 MB Notification: Performance of Templates: time 0.002438/0.1754, allocations: 0.8523 MB / 0.5675 GB, free: 9.484 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.Analog.TestGyrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.625602305022767]