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.001199/0.001199, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001239/0.001239, allocations: 148.9 kB / 24.81 MB, free: 9.27 MB / 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.9577/0.9577, allocations: 173.3 MB / 201.4 MB, free: 9.227 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 1.724e-06/1.724e-06, allocations: 0 / 268.4 MB, free: 6.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.086e-05, allocations: 2.312 kB / 268.4 MB, free: 6.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003698/0.003719, allocations: 3.367 MB / 271.8 MB, free: 2.832 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.005736, allocations: 1.426 MB / 273.2 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002292/0.005965, allocations: 7.938 kB / 273.2 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002325/0.00829, allocations: 2.674 MB / 275.9 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004519/0.008742, allocations: 186.5 kB / 276.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005722/0.009314, allocations: 311.2 kB / 276.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001644/0.01096, allocations: 1.813 MB / 278.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.01113, allocations: 83.7 kB / 278.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009365/0.01207, allocations: 489.5 kB / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.01236, allocations: 299.2 kB / 279 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.776e-05/0.01243, allocations: 48 kB / 279.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000151/0.01258, allocations: 83.91 kB / 279.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000462/0.01304, allocations: 0.8649 MB / 280 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003247/0.01337, allocations: 470.1 kB / 280.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.01455, allocations: 1.483 MB / 282 MB, free: 8.629 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.01455, allocations: 0 / 282 MB, free: 8.629 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.01455, allocations: 0 / 282 MB, free: 8.629 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.038e-05/0.01459, allocations: 0 / 282 MB, free: 8.629 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.002669/0.01726, allocations: 3.035 MB / 285 MB, free: 5.535 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.01731, allocations: 16.86 kB / 285 MB, free: 5.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003054/0.01761, allocations: 323 kB / 285.3 MB, free: 5.203 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.01864, allocations: 1.186 MB / 286.5 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.018e-05/0.01872, allocations: 118.7 kB / 286.6 MB, free: 3.844 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.01882, allocations: 52.69 kB / 286.7 MB, free: 3.793 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.01919, allocations: 367.4 kB / 287 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.01921, allocations: 0 / 287 MB, free: 3.398 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.01923, allocations: 16 kB / 287.1 MB, free: 3.383 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.01924, allocations: 11.98 kB / 287.1 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/0.01945, allocations: 158.8 kB / 287.2 MB, free: 3.219 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002172/0.02162, allocations: 2.045 MB / 289.3 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.02189, allocations: 226 kB / 289.5 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.561e-05/0.02198, allocations: 103.8 kB / 289.6 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.02202, allocations: 7.859 kB / 289.6 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.02204, allocations: 41.39 kB / 289.6 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.683e-06/0.02205, allocations: 0 / 289.6 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.1293/0.1513, allocations: 1.229 MB / 290.9 MB, free: 26.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/0.1513, allocations: 86.39 kB / 291 MB, free: 26.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002849/0.1542, allocations: 3.282 MB / 294.2 MB, free: 26.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.189e-05/0.1542, allocations: 36.73 kB / 294.3 MB, free: 26.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00087/0.1551, allocations: 1.522 MB / 295.8 MB, free: 25.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.87e-05/0.1551, allocations: 175.2 kB / 296 MB, free: 25.87 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.702e-05/0.1552, allocations: 95.91 kB / 296.1 MB, free: 25.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.652e-05/0.1553, allocations: 0.4962 MB / 296.6 MB, free: 25.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-05/0.1554, allocations: 54.88 kB / 296.6 MB, free: 25.34 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.1555, allocations: 164.8 kB / 296.8 MB, free: 25.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.1557, allocations: 252.5 kB / 297 MB, free: 25.08 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1557, allocations: 1.156 kB / 297 MB, free: 25.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004881/0.1562, allocations: 0.5577 MB / 297.6 MB, free: 24.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1562, allocations: 7.625 kB / 297.6 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1562, allocations: 2.969 kB / 297.6 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1563, allocations: 8.234 kB / 297.6 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002916/0.1566, allocations: 118.7 kB / 297.7 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.1566, allocations: 4.938 kB / 297.7 MB, free: 24.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.1567, allocations: 21.34 kB / 297.7 MB, free: 24.87 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.1568, allocations: 14.77 kB / 297.8 MB, free: 24.86 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.0001782/0.1569, allocations: 182.5 kB / 297.9 MB, free: 24.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/0.1571, allocations: 301.3 kB / 298.2 MB, free: 24.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006091/0.1577, allocations: 0.5383 MB / 298.8 MB, free: 24.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.1577, allocations: 6.562 kB / 298.8 MB, free: 24.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.1577, allocations: 0 / 298.8 MB, free: 24.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.1577, allocations: 7.359 kB / 298.8 MB, free: 24.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.1588, allocations: 1.009 MB / 299.8 MB, free: 23.91 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.1588, allocations: 1.766 kB / 299.8 MB, free: 23.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.159, allocations: 87.78 kB / 299.9 MB, free: 23.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001836/0.1592, allocations: 82.89 kB / 300 MB, free: 23.89 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.1592, allocations: 15.02 kB / 300 MB, free: 23.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002632/0.1595, allocations: 0.8354 MB / 300.8 MB, free: 23.07 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1595, allocations: 2.406 kB / 300.8 MB, free: 23.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006878/0.1602, allocations: 0.9358 MB / 301.7 MB, free: 22.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/0.1605, allocations: 354.1 kB / 302.1 MB, free: 22.28 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.26e-05/0.1606, allocations: 12.61 kB / 302.1 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002183/0.1608, allocations: 13.36 kB / 302.1 MB, free: 22.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.1609, allocations: 37.08 kB / 302.1 MB, free: 22.26 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.1609, allocations: 12.7 kB / 302.2 MB, free: 22.25 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001523/0.1624, allocations: 1.843 MB / 304 MB, free: 21.75 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1624, allocations: 3 kB / 304 MB, free: 21.75 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003649/0.1628, allocations: 203.6 kB / 304.2 MB, free: 21.74 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.0007472/0.1635, allocations: 394.9 kB / 304.6 MB, free: 21.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.1638, allocations: 241.9 kB / 304.8 MB, free: 21.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1638, allocations: 3.125 kB / 304.8 MB, free: 21.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.1639, allocations: 144.1 kB / 305 MB, free: 21.55 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006039/0.1645, allocations: 197.2 kB / 305.2 MB, free: 21.43 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/0.1675, allocations: 3.938 MB / 309.1 MB, free: 19.11 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.1678, allocations: 0.5479 MB / 309.6 MB, free: 18.69 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002042/0.168, allocations: 176.2 kB / 309.8 MB, free: 18.57 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.1683, allocations: 249.7 kB / 310.1 MB, free: 18.34 MB / 266.7 MB Notification: Performance of SimCode: time 3.31e-07/0.1683, allocations: 0 / 310.1 MB, free: 18.34 MB / 266.7 MB Notification: Performance of Templates: time 0.01961/0.1879, allocations: 16.06 MB / 326.1 MB, free: 3.031 MB / 266.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: 2.918388837017119]