Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.001006/0.001006, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.0011/0.0011, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 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.064/1.064, allocations: 177.1 MB / 205 MB, free: 5.305 MB / 186.7 MB " [Timeout remaining time 179] 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(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 273 MB, free: 1.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.2e-05/2.361e-05, allocations: 6.312 kB / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.004176/0.0042, allocations: 4.365 MB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002516/0.006716, allocations: 1.617 MB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002784/0.006994, allocations: 11.94 kB / 279 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003308/0.007325, allocations: 122.8 kB / 279.1 MB, free: 11.26 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007362/0.008061, allocations: 381.4 kB / 279.5 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.008456, allocations: 247.5 kB / 279.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007869/0.009243, allocations: 1.002 MB / 280.7 MB, free: 9.637 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002589/0.009502, allocations: 158.1 kB / 280.9 MB, free: 9.477 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006285/0.01013, allocations: 0.5612 MB / 281.4 MB, free: 8.914 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003725/0.0105, allocations: 343.1 kB / 281.8 MB, free: 8.578 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.311e-05/0.0106, allocations: 96 kB / 281.9 MB, free: 8.484 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002802/0.01088, allocations: 215.9 kB / 282.1 MB, free: 8.273 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.01098, allocations: 195.3 kB / 282.3 MB, free: 8.082 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001979/0.01118, allocations: 295.3 kB / 282.5 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006834/0.01186, allocations: 0.7123 MB / 283.3 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.01187, allocations: 0 / 283.3 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.01187, allocations: 4 kB / 283.3 MB, free: 7.074 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.01188, allocations: 0 / 283.3 MB, free: 7.074 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001484/0.01336, allocations: 1.142 MB / 284.4 MB, free: 5.895 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.0134, allocations: 8.031 kB / 284.4 MB, free: 5.887 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002181/0.01362, allocations: 136.5 kB / 284.5 MB, free: 5.754 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004946/0.01411, allocations: 435.6 kB / 285 MB, free: 5.301 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.91e-05/0.01421, allocations: 123 kB / 285.1 MB, free: 5.16 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.01436, allocations: 72.67 kB / 285.2 MB, free: 5.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006431/0.015, allocations: 0.5779 MB / 285.7 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.01502, allocations: 3.938 kB / 285.7 MB, free: 4.457 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.752e-05/0.01505, allocations: 20 kB / 285.8 MB, free: 4.438 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.01507, allocations: 16 kB / 285.8 MB, free: 4.422 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004448/0.01551, allocations: 279.6 kB / 286 MB, free: 4.148 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.01751, allocations: 2.054 MB / 288.1 MB, free: 2.004 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/0.01793, allocations: 310.2 kB / 288.4 MB, free: 1.672 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.01815, allocations: 155.7 kB / 288.6 MB, free: 1.512 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.01818, allocations: 11.94 kB / 288.6 MB, free: 1.5 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.0182, allocations: 42.11 kB / 288.6 MB, free: 1.449 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 2.154e-06/0.01821, allocations: 0 / 288.6 MB, free: 1.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.1255/0.1437, allocations: 2.461 MB / 291.1 MB, free: 24.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.1437, allocations: 89.09 kB / 291.2 MB, free: 24.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005687/0.1443, allocations: 499.2 kB / 291.6 MB, free: 24.49 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.666e-05/0.1443, allocations: 36.52 kB / 291.7 MB, free: 24.46 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.1445, allocations: 374.6 kB / 292 MB, free: 24.26 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.1447, allocations: 217.4 kB / 292.3 MB, free: 24.14 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.1448, allocations: 116.1 kB / 292.4 MB, free: 24.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.145, allocations: 0.539 MB / 292.9 MB, free: 23.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.1452, allocations: 102.3 kB / 293 MB, free: 23.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.1455, allocations: 233.2 kB / 293.2 MB, free: 23.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004669/0.1459, allocations: 376.8 kB / 293.6 MB, free: 23.35 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.1459, allocations: 1.188 kB / 293.6 MB, free: 23.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0008083/0.1467, allocations: 0.5061 MB / 294.1 MB, free: 23.26 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.1468, allocations: 8.281 kB / 294.1 MB, free: 23.26 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.1468, allocations: 2.547 kB / 294.1 MB, free: 23.26 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002282/0.147, allocations: 51.42 kB / 294.2 MB, free: 23.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004761/0.1475, allocations: 158.2 kB / 294.3 MB, free: 23.25 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007452/0.1482, allocations: 1.776 MB / 296.1 MB, free: 21.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002882/0.1485, allocations: 34.14 kB / 296.1 MB, free: 21.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.039e-05/0.1486, allocations: 25.08 kB / 296.2 MB, free: 21.52 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001537/0.1487, allocations: 193.8 kB / 296.4 MB, free: 21.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.1488, allocations: 79.67 kB / 296.4 MB, free: 21.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008676/0.1497, allocations: 0.5493 MB / 297 MB, free: 21.25 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.1497, allocations: 6.938 kB / 297 MB, free: 21.25 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.1497, allocations: 1.469 kB / 297 MB, free: 21.25 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.327e-06/0.1497, allocations: 3.75 kB / 297 MB, free: 21.25 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002013/0.1517, allocations: 1.281 MB / 298.3 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1517, allocations: 1.969 kB / 298.3 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.152, allocations: 108.6 kB / 298.4 MB, free: 20.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001038/0.1531, allocations: 331.1 kB / 298.7 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.198e-05/0.1531, allocations: 16.84 kB / 298.7 MB, free: 20.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002381/0.1555, allocations: 2.821 MB / 301.5 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1555, allocations: 5.594 kB / 301.5 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00131/0.1568, allocations: 0.9686 MB / 302.5 MB, free: 18.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001988/0.157, allocations: 130.8 kB / 302.6 MB, free: 18.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/0.1571, allocations: 16.39 kB / 302.7 MB, free: 18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.1573, allocations: 41.11 kB / 302.7 MB, free: 17.99 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.1574, allocations: 51.34 kB / 302.7 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.1575, allocations: 18.11 kB / 302.8 MB, free: 17.98 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002789/0.1577, allocations: 341 kB / 303.1 MB, free: 17.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1577, allocations: 0 / 303.1 MB, free: 17.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005441/0.1583, allocations: 188.4 kB / 303.3 MB, free: 17.8 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000243/0.1585, allocations: 154.6 kB / 303.4 MB, free: 17.7 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007139/0.1592, allocations: 0.5354 MB / 304 MB, free: 17.46 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1592, allocations: 0 / 304 MB, free: 17.46 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004474/0.1597, allocations: 462.6 kB / 304.4 MB, free: 17.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.1601, allocations: 78.25 kB / 304.5 MB, free: 17.16 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.1621, allocations: 1.283 MB / 305.8 MB, free: 16.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.911e-05/0.1622, allocations: 149.9 kB / 305.9 MB, free: 16.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001836/0.1624, allocations: 73.42 kB / 306 MB, free: 16.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.1625, allocations: 52.38 kB / 306.1 MB, free: 16.34 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.1625, allocations: 0 / 306.1 MB, free: 16.34 MB / 266.7 MB Notification: Performance of Templates: time 0.01119/0.1737, allocations: 9.712 MB / 315.8 MB, free: 9.48 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.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.3355382280424237]