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.001303/0.001303, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.00138/0.00138, allocations: 215 kB / 24.49 MB, free: 3.934 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.421/1.421, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001567/0.001567, allocations: 51.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2228, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004896/0.2277, allocations: 3.198 MB / 435.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002756/0.2304, allocations: 1.605 MB / 437.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.2306, allocations: 4 kB / 437.2 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003158/0.2338, allocations: 2.671 MB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005341/0.2343, allocations: 222.5 kB / 440 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007446/0.2351, allocations: 325.8 kB / 440.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.2369, allocations: 1.821 MB / 442.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001968/0.2371, allocations: 104 kB / 442.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004133/0.2375, allocations: 325 kB / 442.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004198/0.2379, allocations: 358.7 kB / 442.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.436e-05/0.238, allocations: 48 kB / 443 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.2382, allocations: 87.98 kB / 443.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007194/0.2389, allocations: 0.8568 MB / 443.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006383/0.2396, allocations: 0.6667 MB / 444.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002551/0.2421, allocations: 2.675 MB / 447.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.2421, allocations: 0 / 447.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.2421, allocations: 0 / 447.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.791e-05/0.2421, allocations: 0 / 447.3 MB, free: 7.734 MB / 350.1 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.004369/0.2465, allocations: 2.836 MB / 450.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.2466, allocations: 11.98 kB / 450.1 MB, free: 4.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005434/0.2471, allocations: 314.9 kB / 450.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002908/0.25, allocations: 1.806 MB / 452.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.2501, allocations: 114.5 kB / 452.4 MB, free: 2.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001842/0.2503, allocations: 51.92 kB / 452.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008461/0.2512, allocations: 438.4 kB / 452.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.2512, allocations: 0 / 452.8 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.867e-05/0.2512, allocations: 19.98 kB / 452.8 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.2512, allocations: 8 kB / 452.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007865/0.252, allocations: 335.7 kB / 453.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004522/0.2565, allocations: 2.552 MB / 455.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006664/0.2572, allocations: 293 kB / 456 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/0.2575, allocations: 157.6 kB / 456.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.2576, allocations: 4 kB / 456.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.2576, allocations: 42.56 kB / 456.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 2.515e-06/0.2576, allocations: 4 kB / 456.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=48): time 0.005177/0.2628, allocations: 2.398 MB / 458.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.2628, allocations: 85.55 kB / 458.7 MB, free: 12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006667/0.2695, allocations: 5.465 MB / 464.2 MB, free: 6.527 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/0.2696, allocations: 37.7 kB / 464.2 MB, free: 6.484 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001183/0.2708, allocations: 1.168 MB / 465.4 MB, free: 5.312 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.2709, allocations: 178.4 kB / 465.6 MB, free: 5.137 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001547/0.2711, allocations: 90.19 kB / 465.6 MB, free: 5.043 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.2712, allocations: 330 kB / 466 MB, free: 4.715 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.2716, allocations: 136.9 kB / 466.1 MB, free: 4.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004062/0.272, allocations: 217.1 kB / 466.3 MB, free: 4.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007473/0.2727, allocations: 380.3 kB / 466.7 MB, free: 3.941 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2727, allocations: 0 / 466.7 MB, free: 3.941 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001227/0.274, allocations: 0.705 MB / 467.4 MB, free: 3.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.274, allocations: 4 kB / 467.4 MB, free: 3.227 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.274, allocations: 4 kB / 467.4 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.274, allocations: 7.938 kB / 467.4 MB, free: 3.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005486/0.2745, allocations: 116.1 kB / 467.5 MB, free: 3.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.2746, allocations: 15.92 kB / 467.5 MB, free: 3.086 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004234/0.275, allocations: 19.95 kB / 467.5 MB, free: 3.066 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.275, allocations: 19.94 kB / 467.6 MB, free: 3.047 MB / 366.1 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.001062/0.2761, allocations: 0.9231 MB / 468.5 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000351/0.2764, allocations: 293.9 kB / 468.8 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.278, allocations: 0.7943 MB / 469.6 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.278, allocations: 0 / 469.6 MB, free: 1.016 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.278, allocations: 4 kB / 469.6 MB, free: 1.012 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.279, allocations: 430 kB / 470 MB, free: 0.5898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.2792, allocations: 8 kB / 470 MB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000503/0.2797, allocations: 19.98 kB / 470 MB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.968e-05/0.2798, allocations: 32.38 kB / 470.1 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001574/0.2813, allocations: 0.6559 MB / 470.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001619/0.2829, allocations: 1.092 MB / 471.8 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000348/0.2833, allocations: 159.3 kB / 472 MB, free: 14.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.004784/0.2881, allocations: 3.986 MB / 475.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of Backend: time 4.51e-07/0.2881, allocations: 0 / 475.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003364/0.2914, allocations: 1.158 MB / 477.1 MB, free: 9.676 MB / 382.1 MB Notification: Performance of SimCode: time 0.007156/0.2986, allocations: 5.631 MB / 482.7 MB, free: 3.98 MB / 382.1 MB Notification: Performance of Templates: time 0.03555/0.3342, allocations: 18.89 MB / 0.4899 GB, free: 1.168 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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: 4.78466730099899]