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.001329/0.001329, allocations: 81.58 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001406/0.001406, allocations: 151.1 kB / 23.94 MB, free: 4.164 MB / 14.72 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 1.399/1.399, allocations: 173.4 MB / 200.4 MB, free: 12.88 MB / 190.1 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.082e-06/1.082e-06, allocations: 0 / 318.9 MB, free: 3.57 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.113e-05, allocations: 5.094 kB / 318.9 MB, free: 3.566 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003809/0.00383, allocations: 3.157 MB / 322.1 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002021/0.005851, allocations: 1.398 MB / 323.5 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001742/0.006025, allocations: 9.469 kB / 323.5 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003236/0.009261, allocations: 2.671 MB / 326.2 MB, free: 336 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004515/0.009713, allocations: 187.3 kB / 326.3 MB, free: 200 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007003/0.01041, allocations: 306.5 kB / 326.6 MB, free: 36 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00218/0.01259, allocations: 1.826 MB / 328.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002089/0.0128, allocations: 91.48 kB / 328.6 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005641/0.01337, allocations: 420.2 kB / 329 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000401/0.01377, allocations: 290.6 kB / 329.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.01387, allocations: 44.06 kB / 329.3 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002025/0.01407, allocations: 89.02 kB / 329.4 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006818/0.01475, allocations: 0.8648 MB / 330.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005369/0.01529, allocations: 473 kB / 330.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00244/0.01773, allocations: 2.498 MB / 333.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.01773, allocations: 0 / 333.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.01774, allocations: 0 / 333.2 MB, free: 12.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.229e-05/0.01777, allocations: 4 kB / 333.2 MB, free: 12.54 MB / 302.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.004354/0.02212, allocations: 2.792 MB / 336 MB, free: 10.43 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.02216, allocations: 9.859 kB / 336 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004077/0.02257, allocations: 299 kB / 336.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002656/0.02522, allocations: 1.793 MB / 338.1 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.02534, allocations: 114.7 kB / 338.2 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.02552, allocations: 44.7 kB / 338.3 MB, free: 8.242 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008289/0.02635, allocations: 450.3 kB / 338.7 MB, free: 7.773 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.847e-05/0.02637, allocations: 3.938 kB / 338.7 MB, free: 7.77 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.519e-05/0.02641, allocations: 20 kB / 338.7 MB, free: 7.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.02643, allocations: 8 kB / 338.7 MB, free: 7.742 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008361/0.02726, allocations: 323.8 kB / 339 MB, free: 7.426 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004229/0.03149, allocations: 2.557 MB / 341.6 MB, free: 4.789 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006779/0.03217, allocations: 293 kB / 341.9 MB, free: 4.484 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000364/0.03253, allocations: 168.5 kB / 342 MB, free: 4.316 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.03257, allocations: 4 kB / 342.1 MB, free: 4.312 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.976e-05/0.03261, allocations: 46.44 kB / 342.1 MB, free: 4.258 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.134e-06/0.03261, allocations: 0 / 342.1 MB, free: 4.258 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.005259/0.03787, allocations: 2.385 MB / 344.5 MB, free: 1.824 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/0.03792, allocations: 81.61 kB / 344.6 MB, free: 1.727 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006921/0.04484, allocations: 5.44 MB / 350 MB, free: 12.28 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.059e-05/0.04491, allocations: 33.7 kB / 350 MB, free: 12.24 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001263/0.04618, allocations: 1.16 MB / 351.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.04638, allocations: 170.5 kB / 351.4 MB, free: 10.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.04653, allocations: 86.19 kB / 351.4 MB, free: 10.82 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.04668, allocations: 326 kB / 351.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003563/0.04704, allocations: 144.9 kB / 351.9 MB, free: 10.35 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004246/0.04746, allocations: 225 kB / 352.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007522/0.04821, allocations: 385.5 kB / 352.5 MB, free: 9.695 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.04821, allocations: 4 kB / 352.5 MB, free: 9.691 MB / 318.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00127/0.04948, allocations: 0.6948 MB / 353.2 MB, free: 8.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.04951, allocations: 14.44 kB / 353.2 MB, free: 8.977 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.04951, allocations: 256 / 353.2 MB, free: 8.977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.04953, allocations: 8 kB / 353.2 MB, free: 8.969 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005255/0.05006, allocations: 119.8 kB / 353.3 MB, free: 8.852 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.05007, allocations: 11.94 kB / 353.4 MB, free: 8.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004314/0.05051, allocations: 15.98 kB / 353.4 MB, free: 8.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.05054, allocations: 20 kB / 353.4 MB, free: 8.805 MB / 318.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.001207/0.05175, allocations: 0.9115 MB / 354.3 MB, free: 7.883 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003527/0.0521, allocations: 282.1 kB / 354.6 MB, free: 7.605 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.05364, allocations: 0.7995 MB / 355.4 MB, free: 6.801 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.05365, allocations: 7.938 kB / 355.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.05366, allocations: 0 / 355.4 MB, free: 6.793 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.036e-06/0.05367, allocations: 7.984 kB / 355.4 MB, free: 6.785 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.05524, allocations: 1.168 MB / 356.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.05524, allocations: 0 / 356.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000485/0.05573, allocations: 99.88 kB / 356.7 MB, free: 5.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003553/0.05608, allocations: 88.73 kB / 356.7 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.236e-05/0.05611, allocations: 11.98 kB / 356.8 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006287/0.05674, allocations: 0.646 MB / 357.4 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.05674, allocations: 0 / 357.4 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.05854, allocations: 1.085 MB / 358.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007744/0.05931, allocations: 426.1 kB / 358.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/0.05951, allocations: 11.94 kB / 358.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004833/0.05999, allocations: 19.98 kB / 358.9 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/0.06007, allocations: 32.44 kB / 359 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.0601, allocations: 23.92 kB / 359 MB, free: 3.102 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.004985/0.06509, allocations: 3.966 MB / 363 MB, free: 15.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.06509, allocations: 0 / 363 MB, free: 15.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007671/0.06585, allocations: 208 kB / 363.2 MB, free: 14.94 MB / 334.1 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.001694/0.06755, allocations: 448.4 kB / 363.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008305/0.06838, allocations: 370.2 kB / 364 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.06838, allocations: 0 / 364 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004795/0.06886, allocations: 202.7 kB / 364.2 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.06999, allocations: 190.2 kB / 364.3 MB, free: 13.94 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007629/0.07762, allocations: 5.345 MB / 369.7 MB, free: 8.555 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/0.07918, allocations: 1.237 MB / 370.9 MB, free: 7.281 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006004/0.07978, allocations: 267.5 kB / 371.2 MB, free: 7.016 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/0.08006, allocations: 88.48 kB / 371.3 MB, free: 6.93 MB / 334.1 MB Notification: Performance of SimCode: time 9.82e-07/0.08006, allocations: 4 kB / 371.3 MB, free: 6.926 MB / 334.1 MB Notification: Performance of Templates: time 0.03407/0.1141, allocations: 15.12 MB / 386.4 MB, free: 7.879 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.63341124355793]