Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.001597/0.001597, allocations: 113.9 kB / 19.18 MB, free: 3.762 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.002126/0.002126, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.465/1.465, allocations: 230.2 MB / 255.2 MB, free: 15.21 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.2392/0.2392, allocations: 46.89 MB / 358.1 MB, free: 10.48 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.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [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.002337/0.002337, allocations: 79.86 kB / 0.4924 GB, free: 7.867 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1466, allocations: 65.98 MB / 0.5568 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004332/0.1509, allocations: 2.503 MB / 0.5592 GB, free: 3.234 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002027/0.153, allocations: 1.106 MB / 0.5603 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.1531, allocations: 4 kB / 0.5603 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.1545, allocations: 0.5053 MB / 0.5608 GB, free: 1.613 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.1548, allocations: 115.2 kB / 0.5609 GB, free: 1.5 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009454/0.1558, allocations: 482.1 kB / 0.5614 GB, free: 1.027 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003388/0.1561, allocations: 223 kB / 0.5616 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004715/0.1566, allocations: 206.2 kB / 0.5618 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002041/0.1568, allocations: 99.69 kB / 0.5619 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001763/0.157, allocations: 119.5 kB / 0.562 GB, free: 400 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.157, allocations: 27.94 kB / 0.562 GB, free: 372 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003571/0.1573, allocations: 155.9 kB / 0.5622 GB, free: 216 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.134e-05/0.1574, allocations: 47.84 kB / 0.5622 GB, free: 168 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.1575, allocations: 119.5 kB / 0.5623 GB, free: 48 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005467/0.1581, allocations: 398.5 kB / 0.5627 GB, free: 15.66 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.1581, allocations: 4 kB / 0.5627 GB, free: 15.65 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1581, allocations: 0 / 0.5627 GB, free: 15.65 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1581, allocations: 0 / 0.5627 GB, free: 15.65 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001356/0.1594, allocations: 0.6336 MB / 0.5633 GB, free: 14.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1595, allocations: 9.109 kB / 0.5633 GB, free: 14.96 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003446/0.1598, allocations: 52.77 kB / 0.5634 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.16, allocations: 196 kB / 0.5636 GB, free: 14.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.16, allocations: 24.94 kB / 0.5636 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.1601, allocations: 24.38 kB / 0.5636 GB, free: 14.64 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006227/0.1607, allocations: 299.7 kB / 0.5639 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.1607, allocations: 0 / 0.5639 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.518e-05/0.1607, allocations: 8 kB / 0.5639 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.1608, allocations: 12 kB / 0.5639 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005876/0.1613, allocations: 221.6 kB / 0.5641 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.163, allocations: 1.005 MB / 0.5651 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000559/0.1636, allocations: 359.2 kB / 0.5655 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003584/0.1639, allocations: 125.7 kB / 0.5656 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/0.1641, allocations: 166.2 kB / 0.5657 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/0.1642, allocations: 38.55 kB / 0.5658 GB, free: 12.23 MB / 430.1 MB Notification: Performance of pre-optimization done (n=19): time 1.703e-06/0.1642, allocations: 4 kB / 0.5658 GB, free: 12.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001259/0.1654, allocations: 0.4916 MB / 0.5663 GB, free: 11.69 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.1655, allocations: 85.09 kB / 0.5663 GB, free: 11.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.1656, allocations: 143.9 kB / 0.5665 GB, free: 11.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.1657, allocations: 29.7 kB / 0.5665 GB, free: 11.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.558e-05/0.1657, allocations: 140.4 kB / 0.5666 GB, free: 11.26 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.257e-05/0.1658, allocations: 71.33 kB / 0.5667 GB, free: 11.19 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.36e-05/0.1659, allocations: 41.7 kB / 0.5668 GB, free: 11.14 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.166, allocations: 322.8 kB / 0.5671 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.1663, allocations: 75.94 kB / 0.5671 GB, free: 10.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.1665, allocations: 118.1 kB / 0.5672 GB, free: 10.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004872/0.167, allocations: 207.2 kB / 0.5674 GB, free: 10.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.167, allocations: 0 / 0.5674 GB, free: 10.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007059/0.1677, allocations: 280.2 kB / 0.5677 GB, free: 10.1 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.1677, allocations: 8 kB / 0.5677 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.1677, allocations: 0 / 0.5677 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002875/0.168, allocations: 57.86 kB / 0.5678 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.1683, allocations: 47.91 kB / 0.5678 GB, free: 9.984 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002536/0.1708, allocations: 2.844 MB / 0.5706 GB, free: 6.855 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.171, allocations: 23.83 kB / 0.5706 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.171, allocations: 12 kB / 0.5706 GB, free: 6.82 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001565/0.1712, allocations: 137.8 kB / 0.5708 GB, free: 6.676 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.991e-05/0.1712, allocations: 15.88 kB / 0.5708 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00069/0.1719, allocations: 268.2 kB / 0.571 GB, free: 6.387 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1719, allocations: 7.938 kB / 0.571 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.1719, allocations: 0 / 0.571 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1719, allocations: 0 / 0.571 GB, free: 6.379 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.1731, allocations: 0.6501 MB / 0.5717 GB, free: 5.656 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.1731, allocations: 3.938 kB / 0.5717 GB, free: 5.652 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.1733, allocations: 40.03 kB / 0.5717 GB, free: 5.613 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000145/0.1734, allocations: 45.69 kB / 0.5718 GB, free: 5.562 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.1735, allocations: 8 kB / 0.5718 GB, free: 5.555 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002254/0.1757, allocations: 2.84 MB / 0.5745 GB, free: 2.434 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.1757, allocations: 8.031 kB / 0.5745 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009648/0.1767, allocations: 0.5191 MB / 0.5751 GB, free: 1.879 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.977e-05/0.1767, allocations: 85.06 kB / 0.5751 GB, free: 1.777 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.1768, allocations: 7.984 kB / 0.5751 GB, free: 1.77 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.177, allocations: 11.98 kB / 0.5752 GB, free: 1.758 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.177, allocations: 31.92 kB / 0.5752 GB, free: 1.727 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.177, allocations: 11.98 kB / 0.5752 GB, free: 1.715 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.365e-05/0.1771, allocations: 105.3 kB / 0.5753 GB, free: 1.613 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1771, allocations: 0 / 0.5753 GB, free: 1.613 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004528/0.1776, allocations: 75.78 kB / 0.5754 GB, free: 1.539 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002327/0.1778, allocations: 123.2 kB / 0.5755 GB, free: 1.41 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000862/0.1787, allocations: 401.5 kB / 0.5759 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1787, allocations: 11.94 kB / 0.5759 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004517/0.1791, allocations: 321.2 kB / 0.5762 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004076/0.1795, allocations: 14.39 kB / 0.5762 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009484/0.1805, allocations: 0.4939 MB / 0.5767 GB, free: 100 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.1809, allocations: 0.7361 MB / 0.5774 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.093e-05/0.181, allocations: 23.42 kB / 0.5774 GB, free: 15.31 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.181, allocations: 0 / 0.5774 GB, free: 15.31 MB / 446.1 MB Notification: Performance of Templates: time 0.00734/0.1883, allocations: 4.372 MB / 0.5817 GB, free: 10.93 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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: 8.645839035976678]