Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 76.08 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 145.1 kB / 24.54 MB, free: 28 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.984/0.984, allocations: 173.3 MB / 201.1 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.931e-05, allocations: 2.312 kB / 268 MB, free: 6.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005863/0.005892, allocations: 3.414 MB / 271.4 MB, free: 2.977 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002675/0.008568, allocations: 1.43 MB / 272.8 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003303/0.008898, allocations: 11.94 kB / 272.8 MB, free: 1.527 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003446/0.01234, allocations: 2.666 MB / 275.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006293/0.01297, allocations: 190.5 kB / 275.7 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007849/0.01376, allocations: 315.2 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0016/0.01536, allocations: 1.821 MB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.01553, allocations: 83.7 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004341/0.01597, allocations: 417.1 kB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.01625, allocations: 299.2 kB / 278.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.503e-05/0.01631, allocations: 44 kB / 278.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.01646, allocations: 91.91 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004551/0.01691, allocations: 0.8571 MB / 279.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003572/0.01727, allocations: 474 kB / 280.1 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.01837, allocations: 1.483 MB / 281.5 MB, free: 8.801 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.828e-06/0.01837, allocations: 0 / 281.5 MB, free: 8.801 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01838, allocations: 0 / 281.5 MB, free: 8.801 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.423e-05/0.01843, allocations: 0 / 281.5 MB, free: 8.801 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002893/0.02132, allocations: 3.052 MB / 284.6 MB, free: 5.691 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.02136, allocations: 8.922 kB / 284.6 MB, free: 5.684 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002994/0.02166, allocations: 323 kB / 284.9 MB, free: 5.367 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.02291, allocations: 1.288 MB / 286.2 MB, free: 4.039 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.959e-05/0.02298, allocations: 110.7 kB / 286.3 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.02309, allocations: 56.69 kB / 286.4 MB, free: 3.859 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.02351, allocations: 383.5 kB / 286.7 MB, free: 3.449 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.02353, allocations: 7.984 kB / 286.8 MB, free: 3.441 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.02355, allocations: 12 kB / 286.8 MB, free: 3.43 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.02356, allocations: 12 kB / 286.8 MB, free: 3.418 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002808/0.02384, allocations: 189.8 kB / 287 MB, free: 3.234 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002705/0.02655, allocations: 2.661 MB / 289.6 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003205/0.02687, allocations: 253.2 kB / 289.9 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000127/0.027, allocations: 111.9 kB / 290 MB, free: 104 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.26e-05/0.02703, allocations: 11.86 kB / 290 MB, free: 92 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.02706, allocations: 41.39 kB / 290 MB, free: 40 kB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.453e-06/0.02706, allocations: 0 / 290 MB, free: 40 kB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.1237/0.1507, allocations: 2.087 MB / 292.1 MB, free: 23.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.1508, allocations: 90.59 kB / 292.2 MB, free: 23.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004419/0.1552, allocations: 3.447 MB / 295.7 MB, free: 23.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.1552, allocations: 36.33 kB / 295.7 MB, free: 23.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000924/0.1562, allocations: 1.406 MB / 297.1 MB, free: 22.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.1563, allocations: 175.5 kB / 297.3 MB, free: 22.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.1564, allocations: 94.12 kB / 297.4 MB, free: 22.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.33e-05/0.1564, allocations: 0.5004 MB / 297.9 MB, free: 22.13 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001477/0.1566, allocations: 73.34 kB / 297.9 MB, free: 22.12 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.1567, allocations: 176.5 kB / 298.1 MB, free: 21.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.1571, allocations: 283.1 kB / 298.4 MB, free: 21.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1571, allocations: 2.016 kB / 298.4 MB, free: 21.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007639/0.1578, allocations: 0.5892 MB / 299 MB, free: 21.57 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.1578, allocations: 7.438 kB / 299 MB, free: 21.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1579, allocations: 2.141 kB / 299 MB, free: 21.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.1579, allocations: 5.062 kB / 299 MB, free: 21.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.1582, allocations: 123.6 kB / 299.1 MB, free: 21.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.1582, allocations: 5.031 kB / 299.1 MB, free: 21.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002884/0.1585, allocations: 19.86 kB / 299.1 MB, free: 21.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.1585, allocations: 18.91 kB / 299.1 MB, free: 21.54 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0002048/0.1587, allocations: 185.2 kB / 299.3 MB, free: 21.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/0.159, allocations: 297.1 kB / 299.6 MB, free: 21.2 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008101/0.1598, allocations: 0.5795 MB / 300.2 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.1598, allocations: 6.188 kB / 300.2 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1598, allocations: 1.156 kB / 300.2 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.1598, allocations: 2.484 kB / 300.2 MB, free: 20.98 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001607/0.1614, allocations: 1.529 MB / 301.7 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.1614, allocations: 0 / 301.7 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002636/0.1617, allocations: 95.5 kB / 301.8 MB, free: 20.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002541/0.1619, allocations: 76.98 kB / 301.9 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.153e-05/0.162, allocations: 14.14 kB / 301.9 MB, free: 20.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003485/0.1623, allocations: 0.8446 MB / 302.8 MB, free: 19.42 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1623, allocations: 4.078 kB / 302.8 MB, free: 19.42 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.1634, allocations: 0.9896 MB / 303.8 MB, free: 18.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004472/0.1638, allocations: 409.7 kB / 304.2 MB, free: 18.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.1639, allocations: 4.797 kB / 304.2 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.1642, allocations: 21.2 kB / 304.2 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.1642, allocations: 30.48 kB / 304.2 MB, free: 18.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1643, allocations: 18.81 kB / 304.2 MB, free: 18.58 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.002015/0.1663, allocations: 2.023 MB / 306.3 MB, free: 18.03 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1663, allocations: 2.906 kB / 306.3 MB, free: 18.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005283/0.1668, allocations: 205.3 kB / 306.5 MB, free: 18.01 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009244/0.1677, allocations: 409.7 kB / 306.9 MB, free: 17.87 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004231/0.1681, allocations: 270 kB / 307.1 MB, free: 17.82 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1681, allocations: 0 / 307.1 MB, free: 17.82 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002505/0.1684, allocations: 163.8 kB / 307.3 MB, free: 17.78 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007246/0.1691, allocations: 194.2 kB / 307.5 MB, free: 17.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004003/0.1731, allocations: 3.953 MB / 311.4 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.1735, allocations: 0.5556 MB / 312 MB, free: 14.61 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002531/0.1737, allocations: 172.4 kB / 312.1 MB, free: 14.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.1739, allocations: 87.97 kB / 312.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of SimCode: time 1.883e-06/0.1739, allocations: 0 / 312.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of Templates: time 0.02645/0.2004, allocations: 15.28 MB / 327.5 MB, free: 15.78 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2912218351848423]