Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.0009095/0.0009095, 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.001232/0.001232, allocations: 161.4 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 0.9424/0.9424, allocations: 177.1 MB / 205 MB, free: 5.637 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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.927e-05/3.129e-05, allocations: 2.312 kB / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.01043/0.01046, allocations: 3.467 MB / 276.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002389/0.01285, allocations: 1.64 MB / 278.1 MB, free: 12.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002034/0.01305, allocations: 12 kB / 278.1 MB, free: 12.42 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005735/0.01878, allocations: 2.662 MB / 280.7 MB, free: 9.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003523/0.02231, allocations: 242.3 kB / 281 MB, free: 9.512 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006261/0.02293, allocations: 323.2 kB / 281.3 MB, free: 9.195 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001453/0.02439, allocations: 1.833 MB / 283.1 MB, free: 7.355 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.02455, allocations: 100.3 kB / 283.2 MB, free: 7.254 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008285/0.02538, allocations: 0.5027 MB / 283.7 MB, free: 6.785 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002618/0.02564, allocations: 295.3 kB / 284 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.0257, allocations: 44 kB / 284.1 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.02584, allocations: 91.91 kB / 284.2 MB, free: 6.363 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004243/0.02626, allocations: 0.861 MB / 285 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003444/0.02661, allocations: 474.1 kB / 285.5 MB, free: 5.035 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001098/0.02771, allocations: 1.51 MB / 287 MB, free: 3.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.02771, allocations: 4 kB / 287 MB, free: 3.516 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.02771, allocations: 0 / 287 MB, free: 3.516 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.68e-05/0.02776, allocations: 0 / 287 MB, free: 3.516 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.003076/0.03083, allocations: 3.056 MB / 290 MB, free: 412 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.03087, allocations: 19.92 kB / 290.1 MB, free: 392 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004178/0.03128, allocations: 330.9 kB / 290.4 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1175/0.1488, allocations: 1.312 MB / 291.7 MB, free: 19.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-05/0.1489, allocations: 110.8 kB / 291.8 MB, free: 19.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.149, allocations: 46.94 kB / 291.9 MB, free: 19.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000507/0.1496, allocations: 385.1 kB / 292.2 MB, free: 19.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.1496, allocations: 1.406 kB / 292.2 MB, free: 19.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.527e-05/0.1496, allocations: 15.34 kB / 292.2 MB, free: 19.58 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.1496, allocations: 13.09 kB / 292.3 MB, free: 19.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003204/0.1499, allocations: 197 kB / 292.5 MB, free: 19.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002962/0.1529, allocations: 2.705 MB / 295.2 MB, free: 18.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.1532, allocations: 252 kB / 295.4 MB, free: 18.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001347/0.1534, allocations: 107.1 kB / 295.5 MB, free: 18.67 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.1534, allocations: 11.67 kB / 295.5 MB, free: 18.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.1534, allocations: 41.28 kB / 295.6 MB, free: 18.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 2.234e-06/0.1534, allocations: 0 / 295.6 MB, free: 18.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.00278/0.1562, allocations: 2.11 MB / 297.7 MB, free: 17.6 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.1562, allocations: 84.11 kB / 297.7 MB, free: 17.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003818/0.1601, allocations: 3.515 MB / 301.3 MB, free: 16.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.369e-05/0.1601, allocations: 35.7 kB / 301.3 MB, free: 16.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008544/0.1609, allocations: 1.438 MB / 302.7 MB, free: 15.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.992e-05/0.161, allocations: 171.6 kB / 302.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.1611, allocations: 97.3 kB / 303 MB, free: 15.5 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.61e-05/0.1612, allocations: 0.4967 MB / 303.5 MB, free: 15 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.1613, allocations: 73.33 kB / 303.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.1615, allocations: 180.3 kB / 303.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003062/0.1618, allocations: 282.1 kB / 304 MB, free: 14.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1618, allocations: 3.5 kB / 304 MB, free: 14.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007942/0.1626, allocations: 0.5925 MB / 304.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.1626, allocations: 6.5 kB / 304.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.1626, allocations: 2 kB / 304.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.1627, allocations: 4.062 kB / 304.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/0.163, allocations: 122 kB / 304.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.163, allocations: 12.83 kB / 304.8 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.1633, allocations: 16.08 kB / 304.8 MB, free: 14.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.1633, allocations: 20.3 kB / 304.8 MB, free: 14.41 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.0002/0.1635, allocations: 178.7 kB / 305 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/0.1637, allocations: 303.5 kB / 305.3 MB, free: 14.07 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007146/0.1644, allocations: 0.5818 MB / 305.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.1644, allocations: 4.469 kB / 305.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1645, allocations: 4.375 kB / 305.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.1645, allocations: 2.062 kB / 305.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.1658, allocations: 1.525 MB / 307.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.1658, allocations: 3.938 kB / 307.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.1661, allocations: 94.12 kB / 307.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002272/0.1663, allocations: 72.55 kB / 307.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.569e-05/0.1663, allocations: 10.95 kB / 307.6 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002849/0.1666, allocations: 0.8574 MB / 308.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1666, allocations: 0 / 308.4 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007479/0.1674, allocations: 0.9821 MB / 309.4 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003642/0.1677, allocations: 412.9 kB / 309.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001499/0.1679, allocations: 11.75 kB / 309.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002438/0.1681, allocations: 22.55 kB / 309.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/0.1682, allocations: 41.11 kB / 309.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.1682, allocations: 15.58 kB / 309.9 MB, free: 11.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001932/0.1701, allocations: 2.038 MB / 311.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1701, allocations: 0 / 311.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005481/0.1707, allocations: 202 kB / 312.1 MB, free: 10.27 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.0009085/0.1716, allocations: 397.2 kB / 312.5 MB, free: 10.09 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003977/0.172, allocations: 266.2 kB / 312.8 MB, free: 9.871 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.172, allocations: 0 / 312.8 MB, free: 9.871 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.1722, allocations: 163.7 kB / 312.9 MB, free: 9.738 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006726/0.1729, allocations: 200.5 kB / 313.1 MB, free: 9.559 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.1763, allocations: 3.981 MB / 317.1 MB, free: 5.801 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.1767, allocations: 0.5489 MB / 317.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002241/0.1769, allocations: 171.8 kB / 317.8 MB, free: 5.164 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.1771, allocations: 92.48 kB / 317.9 MB, free: 5.074 MB / 266.7 MB Notification: Performance of SimCode: time 1.272e-06/0.1771, allocations: 0 / 317.9 MB, free: 5.074 MB / 266.7 MB Notification: Performance of Templates: time 0.02342/0.2005, allocations: 15.83 MB / 333.7 MB, free: 5.375 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.057607776951045]