Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.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.001774/0.001774, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.002179/0.002179, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.598/1.598, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.3884/0.3884, allocations: 46.92 MB / 357.1 MB, free: 10.32 MB / 286.1 MB " [Timeout remaining time 179] 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.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_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_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 71.88 kB / 0.4914 GB, free: 7.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1501, allocations: 65.99 MB / 0.5558 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004486/0.1546, allocations: 2.49 MB / 0.5583 GB, free: 2.863 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.1565, allocations: 1.11 MB / 0.5593 GB, free: 1.746 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1566, allocations: 8 kB / 0.5594 GB, free: 1.738 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.158, allocations: 0.5018 MB / 0.5598 GB, free: 1.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002713/0.1583, allocations: 107.2 kB / 0.5599 GB, free: 1.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009531/0.1593, allocations: 490 kB / 0.5604 GB, free: 0.6523 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003401/0.1596, allocations: 227 kB / 0.5606 GB, free: 440 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000443/0.16, allocations: 198.3 kB / 0.5608 GB, free: 240 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.1602, allocations: 107.6 kB / 0.5609 GB, free: 132 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.1604, allocations: 127.5 kB / 0.561 GB, free: 4 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.093e-05/0.1605, allocations: 24.05 kB / 0.5611 GB, free: 15.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002902/0.1608, allocations: 151.8 kB / 0.5612 GB, free: 15.83 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.1608, allocations: 47.84 kB / 0.5613 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.1609, allocations: 119.3 kB / 0.5614 GB, free: 15.67 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.1615, allocations: 406.5 kB / 0.5618 GB, free: 15.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1615, allocations: 0 / 0.5618 GB, free: 15.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1615, allocations: 0 / 0.5618 GB, free: 15.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1615, allocations: 0 / 0.5618 GB, free: 15.27 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.001436/0.1629, allocations: 0.6315 MB / 0.5624 GB, free: 14.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.163, allocations: 8.031 kB / 0.5624 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003489/0.1633, allocations: 48.77 kB / 0.5624 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.1635, allocations: 199.9 kB / 0.5626 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.1635, allocations: 16.94 kB / 0.5626 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.526e-05/0.1636, allocations: 28.38 kB / 0.5627 GB, free: 14.26 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006226/0.1642, allocations: 287.7 kB / 0.5629 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.1642, allocations: 4 kB / 0.5629 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.1642, allocations: 8 kB / 0.563 GB, free: 13.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.1642, allocations: 8 kB / 0.563 GB, free: 13.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006134/0.1649, allocations: 237.5 kB / 0.5632 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.1665, allocations: 0.9938 MB / 0.5642 GB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005876/0.1671, allocations: 361.1 kB / 0.5645 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003597/0.1675, allocations: 129.6 kB / 0.5646 GB, free: 12.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/0.1677, allocations: 166.2 kB / 0.5648 GB, free: 11.91 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.1677, allocations: 38.5 kB / 0.5648 GB, free: 11.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=19): time 1.844e-06/0.1677, allocations: 0 / 0.5648 GB, free: 11.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=19): time 0.001346/0.1691, allocations: 0.4995 MB / 0.5653 GB, free: 11.31 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.237e-05/0.1691, allocations: 77.11 kB / 0.5654 GB, free: 11.22 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.1692, allocations: 141.8 kB / 0.5655 GB, free: 11.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.1693, allocations: 33.7 kB / 0.5655 GB, free: 11.03 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.216e-05/0.1694, allocations: 136.5 kB / 0.5657 GB, free: 10.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.781e-05/0.1694, allocations: 83.31 kB / 0.5658 GB, free: 10.81 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.503e-05/0.1695, allocations: 37.7 kB / 0.5658 GB, free: 10.77 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002035/0.1697, allocations: 322.8 kB / 0.5661 GB, free: 10.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.17, allocations: 76 kB / 0.5662 GB, free: 10.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.1702, allocations: 121.1 kB / 0.5663 GB, free: 10.23 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005017/0.1707, allocations: 207.8 kB / 0.5665 GB, free: 10.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1707, allocations: 0 / 0.5665 GB, free: 10.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007371/0.1715, allocations: 278.9 kB / 0.5668 GB, free: 9.727 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.1715, allocations: 10.34 kB / 0.5668 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1715, allocations: 4 kB / 0.5668 GB, free: 9.715 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002343/0.1717, allocations: 53.62 kB / 0.5668 GB, free: 9.656 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.1719, allocations: 35.97 kB / 0.5669 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002452/0.1744, allocations: 2.844 MB / 0.5696 GB, free: 6.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.1746, allocations: 35.84 kB / 0.5697 GB, free: 6.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.1746, allocations: 8 kB / 0.5697 GB, free: 6.449 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.0001626/0.1747, allocations: 145.3 kB / 0.5698 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.1748, allocations: 11.95 kB / 0.5698 GB, free: 6.289 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007285/0.1755, allocations: 272.1 kB / 0.5701 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1755, allocations: 0 / 0.5701 GB, free: 6.012 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.1755, allocations: 7.938 kB / 0.5701 GB, free: 6.004 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1755, allocations: 3.984 kB / 0.5701 GB, free: 6 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.1768, allocations: 0.6462 MB / 0.5707 GB, free: 5.281 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.1768, allocations: 3.938 kB / 0.5707 GB, free: 5.277 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001836/0.177, allocations: 31.97 kB / 0.5708 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001474/0.1771, allocations: 49.64 kB / 0.5708 GB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.1771, allocations: 4.062 kB / 0.5708 GB, free: 5.188 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002361/0.1795, allocations: 2.844 MB / 0.5736 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1795, allocations: 0 / 0.5736 GB, free: 2.062 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00102/0.1805, allocations: 0.5253 MB / 0.5741 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.1806, allocations: 89.28 kB / 0.5742 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.1806, allocations: 4 kB / 0.5742 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.1808, allocations: 15.98 kB / 0.5742 GB, free: 1.387 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/0.1809, allocations: 27.89 kB / 0.5742 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.681e-05/0.1809, allocations: 8 kB / 0.5742 GB, free: 1.352 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.876e-05/0.181, allocations: 105.5 kB / 0.5743 GB, free: 1.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.181, allocations: 4.062 kB / 0.5743 GB, free: 1.246 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005025/0.1815, allocations: 79.77 kB / 0.5744 GB, free: 1.168 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.0002506/0.1817, allocations: 127.1 kB / 0.5745 GB, free: 1.035 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008779/0.1826, allocations: 409.1 kB / 0.5749 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1826, allocations: 0 / 0.5749 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004925/0.1831, allocations: 329.7 kB / 0.5752 GB, free: 268 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004077/0.1835, allocations: 11.98 kB / 0.5753 GB, free: 256 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009823/0.1845, allocations: 491.2 kB / 0.5757 GB, free: 15.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.1849, allocations: 0.7361 MB / 0.5764 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.237e-05/0.185, allocations: 17.42 kB / 0.5765 GB, free: 14.96 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.383e-05/0.1851, allocations: 15.44 kB / 0.5765 GB, free: 14.95 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1851, allocations: 0 / 0.5765 GB, free: 14.95 MB / 446.1 MB Notification: Performance of Templates: time 0.007181/0.1922, allocations: 2.422 MB / 0.5788 GB, free: 12.52 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 5.926957421004772]