Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001703/0.001703, allocations: 114.7 kB / 19.17 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002018/0.002018, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, allocations: 230.2 MB / 255.1 MB, free: 15.4 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2284/0.2284, allocations: 46.89 MB / 358.1 MB, free: 10.53 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor") translateModel(ModelicaTest.Electrical.Analog.TestSaturatingInductor,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|saturatingInductor.Psi|saturatingInductor.i",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 80.89 kB / 0.4923 GB, free: 26.83 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1516, allocations: 65.98 MB / 0.5568 GB, free: 8.785 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.TestSaturatingInductor): time 0.004046/0.1557, allocations: 1.921 MB / 0.5587 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.1568, allocations: 0.5961 MB / 0.5592 GB, free: 6.242 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.367e-05/0.1569, allocations: 0 / 0.5592 GB, free: 6.242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 6.145e-05/0.157, allocations: 15.86 kB / 0.5593 GB, free: 6.227 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.1573, allocations: 47.62 kB / 0.5593 GB, free: 6.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.1576, allocations: 83.77 kB / 0.5594 GB, free: 6.098 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.1578, allocations: 159.4 kB / 0.5595 GB, free: 5.941 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.1579, allocations: 29.05 kB / 0.5596 GB, free: 5.914 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.1582, allocations: 71.77 kB / 0.5596 GB, free: 5.844 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1583, allocations: 71.67 kB / 0.5597 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.056e-05/0.1583, allocations: 12 kB / 0.5597 GB, free: 5.762 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.551e-05/0.1584, allocations: 24 kB / 0.5597 GB, free: 5.738 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.007e-05/0.1584, allocations: 27.91 kB / 0.5598 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.823e-05/0.1585, allocations: 59.67 kB / 0.5598 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002569/0.1588, allocations: 151.5 kB / 0.56 GB, free: 5.504 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1588, allocations: 0 / 0.56 GB, free: 5.504 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1588, allocations: 0 / 0.56 GB, free: 5.504 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1588, allocations: 0 / 0.56 GB, free: 5.504 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000902/0.1597, allocations: 450.9 kB / 0.5604 GB, free: 5.016 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1597, allocations: 8.031 kB / 0.5604 GB, free: 5.008 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003226/0.1601, allocations: 44.81 kB / 0.5604 GB, free: 4.965 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.1603, allocations: 184.2 kB / 0.5606 GB, free: 4.746 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.909e-05/0.1603, allocations: 12.38 kB / 0.5606 GB, free: 4.734 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.1603, allocations: 8.375 kB / 0.5606 GB, free: 4.727 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.1607, allocations: 132.5 kB / 0.5608 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.1607, allocations: 0 / 0.5608 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.1607, allocations: 7.938 kB / 0.5608 GB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.1607, allocations: 0 / 0.5608 GB, free: 4.574 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003453/0.1611, allocations: 95.92 kB / 0.5609 GB, free: 4.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009559/0.162, allocations: 467.3 kB / 0.5613 GB, free: 3.965 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003325/0.1624, allocations: 82.52 kB / 0.5614 GB, free: 3.875 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.1625, allocations: 44.92 kB / 0.5614 GB, free: 3.828 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.1625, allocations: 4 kB / 0.5614 GB, free: 3.824 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1626, allocations: 30.56 kB / 0.5615 GB, free: 3.785 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.1626, allocations: 0 / 0.5615 GB, free: 3.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=6): time 0.00148/0.1641, allocations: 325.1 kB / 0.5618 GB, free: 3.461 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/0.1642, allocations: 102.8 kB / 0.5619 GB, free: 3.336 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.1643, allocations: 152 kB / 0.562 GB, free: 3.18 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.1643, allocations: 29.7 kB / 0.562 GB, free: 3.145 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.478e-05/0.1644, allocations: 108.2 kB / 0.5621 GB, free: 3.031 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.1645, allocations: 27.78 kB / 0.5622 GB, free: 3.004 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.588e-05/0.1645, allocations: 37.58 kB / 0.5622 GB, free: 2.961 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.1647, allocations: 322.8 kB / 0.5625 GB, free: 2.637 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.1649, allocations: 55.95 kB / 0.5626 GB, free: 2.582 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002743/0.1652, allocations: 96.23 kB / 0.5627 GB, free: 2.473 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004572/0.1656, allocations: 138.5 kB / 0.5628 GB, free: 2.328 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1656, allocations: 0 / 0.5628 GB, free: 2.328 MB / 414.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000585/0.1662, allocations: 173.5 kB / 0.563 GB, free: 2.152 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.1663, allocations: 14.03 kB / 0.563 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/0.1663, allocations: 4.188 kB / 0.563 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.1663, allocations: 0 / 0.563 GB, free: 2.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006108/0.1669, allocations: 88.12 kB / 0.5631 GB, free: 2.051 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.1686, allocations: 1.505 MB / 0.5645 GB, free: 408 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/0.1688, allocations: 28 kB / 0.5646 GB, free: 380 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.1688, allocations: 4 kB / 0.5646 GB, free: 376 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.169, allocations: 121.7 kB / 0.5647 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.169, allocations: 11.95 kB / 0.5647 GB, free: 232 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005481/0.1696, allocations: 162.4 kB / 0.5648 GB, free: 68 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1696, allocations: 3.984 kB / 0.5648 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.1696, allocations: 0 / 0.5648 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.1696, allocations: 4 kB / 0.5648 GB, free: 60 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009585/0.1706, allocations: 466.2 kB / 0.5653 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1706, allocations: 0 / 0.5653 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.1707, allocations: 31.97 kB / 0.5653 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.1707, allocations: 4 kB / 0.5653 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1707, allocations: 0 / 0.5653 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.1707, allocations: 3.938 kB / 0.5653 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1707, allocations: 240 / 0.5653 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005393/0.1713, allocations: 255.3 kB / 0.5656 GB, free: 15.24 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.1713, allocations: 85.06 kB / 0.5657 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.1714, allocations: 0 / 0.5657 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.1716, allocations: 27.91 kB / 0.5657 GB, free: 15.11 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.909e-05/0.1716, allocations: 11.98 kB / 0.5657 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.1717, allocations: 4 kB / 0.5657 GB, free: 15.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.817e-05/0.1717, allocations: 113.6 kB / 0.5658 GB, free: 14.99 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1717, allocations: 0 / 0.5658 GB, free: 14.99 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.172, allocations: 31.98 kB / 0.5658 GB, free: 14.96 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 (7): * Single equations (assignments): 7 * 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.0001299/0.1722, allocations: 99.25 kB / 0.5659 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009145/0.1731, allocations: 167.8 kB / 0.5661 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1731, allocations: 0 / 0.5661 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.1733, allocations: 68.02 kB / 0.5662 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.1737, allocations: 11.98 kB / 0.5662 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.1751, allocations: 402 kB / 0.5666 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.1755, allocations: 0.7002 MB / 0.5672 GB, free: 13.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.274e-05/0.1755, allocations: 11.44 kB / 0.5672 GB, free: 13.44 MB / 430.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1755, allocations: 0 / 0.5672 GB, free: 13.44 MB / 430.1 MB Notification: Performance of Templates: time 0.003887/0.1794, allocations: 1.851 MB / 0.5691 GB, free: 11.6 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/Analog/TestSaturatingInductor/TestSaturatingInductor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.Analog.TestSaturatingInductor.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.687241233885288]