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.001654/0.001654, allocations: 128.5 kB / 17.79 MB, free: 5.246 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.001577/0.001577, allocations: 207.2 kB / 20.75 MB, free: 2.297 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.632/1.632, allocations: 230.6 MB / 254.1 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.2617/0.2617, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.002126/0.002126, allocations: 71.88 kB / 0.4914 GB, free: 7.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1659, allocations: 65.99 MB / 0.5558 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestGyrator): time 0.003837/0.1697, allocations: 1.736 MB / 0.5575 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002469/0.17, allocations: 75.66 kB / 0.5576 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.505e-05/0.1701, allocations: 4 kB / 0.5576 GB, free: 3.523 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 8.563e-05/0.1701, allocations: 19.84 kB / 0.5576 GB, free: 3.504 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001144/0.1703, allocations: 23.78 kB / 0.5576 GB, free: 3.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.1704, allocations: 27.97 kB / 0.5577 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.1706, allocations: 99.59 kB / 0.5578 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002358/0.1709, allocations: 43.95 kB / 0.5578 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.677e-05/0.1709, allocations: 39.86 kB / 0.5578 GB, free: 3.273 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.1711, allocations: 55.7 kB / 0.5579 GB, free: 3.219 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.1711, allocations: 12 kB / 0.5579 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.752e-05/0.1711, allocations: 8 kB / 0.5579 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.197e-05/0.1712, allocations: 23.92 kB / 0.5579 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.183e-05/0.1713, allocations: 47.81 kB / 0.558 GB, free: 3.129 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002417/0.1715, allocations: 119.5 kB / 0.5581 GB, free: 3.012 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1715, allocations: 4 kB / 0.5581 GB, free: 3.008 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.776e-06/0.1715, allocations: 0 / 0.5581 GB, free: 3.008 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.1715, allocations: 0 / 0.5581 GB, free: 3.008 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.0007992/0.1723, allocations: 407.3 kB / 0.5585 GB, free: 2.555 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/0.1724, allocations: 11.97 kB / 0.5585 GB, free: 2.543 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.074e-05/0.1724, allocations: 12.84 kB / 0.5585 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.1726, allocations: 168.3 kB / 0.5587 GB, free: 2.328 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.1727, allocations: 8.609 kB / 0.5587 GB, free: 2.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.1727, allocations: 12.38 kB / 0.5587 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.173, allocations: 139.8 kB / 0.5588 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.173, allocations: 192 / 0.5588 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.356e-05/0.1731, allocations: 7.938 kB / 0.5588 GB, free: 2.156 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.1731, allocations: 4 kB / 0.5588 GB, free: 2.152 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.1733, allocations: 59.97 kB / 0.5589 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.1745, allocations: 0.7313 MB / 0.5596 GB, free: 1.293 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.1746, allocations: 169.1 kB / 0.5598 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.242e-05/0.1747, allocations: 84.14 kB / 0.5598 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.064e-05/0.1747, allocations: 75.28 kB / 0.5599 GB, free: 0.957 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/0.1748, allocations: 109.8 kB / 0.56 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.1748, allocations: 0 / 0.56 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001078/0.1749, allocations: 29.7 kB / 0.5601 GB, free: 0.8047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.278e-05/0.175, allocations: 126.7 kB / 0.5602 GB, free: 0.668 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.1752, allocations: 159.3 kB / 0.5603 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1752, allocations: 25.7 kB / 0.5604 GB, free: 484 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.919e-05/0.1753, allocations: 119.9 kB / 0.5605 GB, free: 360 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.1753, allocations: 4 kB / 0.5605 GB, free: 356 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.137e-05/0.1753, allocations: 21.67 kB / 0.5605 GB, free: 328 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.1755, allocations: 326.7 kB / 0.5608 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.12e-05/0.1755, allocations: 8 kB / 0.5608 GB, free: 15.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.775e-05/0.1756, allocations: 45.14 kB / 0.5609 GB, free: 15.92 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.839e-05/0.1757, allocations: 53.09 kB / 0.5609 GB, free: 15.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1757, allocations: 0 / 0.5609 GB, free: 15.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001709/0.1758, allocations: 73.59 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1759, allocations: 8 kB / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1759, allocations: 0 / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1759, allocations: 0 / 0.561 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.528e-05/0.176, allocations: 27.86 kB / 0.561 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.176, allocations: 0 / 0.561 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.946e-05/0.176, allocations: 11.89 kB / 0.561 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.176, allocations: 7.938 kB / 0.561 GB, free: 15.72 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.0001467/0.1762, allocations: 195.5 kB / 0.5612 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.966e-05/0.1763, allocations: 108.9 kB / 0.5613 GB, free: 15.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.21e-05/0.1763, allocations: 120.6 kB / 0.5614 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-05/0.1764, allocations: 184.3 kB / 0.5616 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.373e-05/0.1765, allocations: 180.3 kB / 0.5618 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.048e-05/0.1766, allocations: 176.4 kB / 0.5619 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003549/0.177, allocations: 453.1 kB / 0.5624 GB, free: 14.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.429e-05/0.177, allocations: 105 kB / 0.5625 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.352e-05/0.1771, allocations: 105 kB / 0.5626 GB, free: 14.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-05/0.1772, allocations: 184.2 kB / 0.5628 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.3e-05/0.1773, allocations: 180.2 kB / 0.5629 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001085/0.1774, allocations: 180.2 kB / 0.5631 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.299e-05/0.1775, allocations: 184.3 kB / 0.5633 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.1777, allocations: 315.6 kB / 0.5636 GB, free: 12.94 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.1778, allocations: 186 kB / 0.5638 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/0.1779, allocations: 184.2 kB / 0.5639 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.178, allocations: 109 kB / 0.564 GB, free: 12.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.1781, allocations: 176.3 kB / 0.5642 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.659e-05/0.1781, allocations: 116.9 kB / 0.5643 GB, free: 12.13 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.47e-05/0.1782, allocations: 113.4 kB / 0.5644 GB, free: 12.02 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1782, allocations: 0 / 0.5644 GB, free: 12.02 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002589/0.1785, allocations: 19.94 kB / 0.5644 GB, free: 12 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.0001567/0.1787, allocations: 174.5 kB / 0.5646 GB, free: 11.82 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.655e-05/0.1788, allocations: 19.94 kB / 0.5646 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1788, allocations: 0 / 0.5646 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/0.1788, allocations: 0 / 0.5646 GB, free: 11.8 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.1792, allocations: 455.7 kB / 0.5651 GB, free: 11.35 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004538/0.1796, allocations: 250.8 kB / 0.5653 GB, free: 11.08 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.18, allocations: 0.6924 MB / 0.566 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.439e-05/0.1801, allocations: 3.984 kB / 0.566 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.1801, allocations: 11.44 kB / 0.566 GB, free: 10.34 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1801, allocations: 0 / 0.566 GB, free: 10.34 MB / 430.1 MB Notification: Performance of Templates: time 0.003189/0.1833, allocations: 409 kB / 0.5664 GB, free: 9.945 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestGyrator/TestGyrator.csv","/var/lib/jenkins/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: 5.58454417809844]