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.001254/0.001254, allocations: 105.5 kB / 20.43 MB, free: 1.473 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.001317/0.001317, allocations: 188.3 kB / 23.72 MB, free: 4.711 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.451/1.451, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
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 0.001572/0.001572, allocations: 47.92 kB / 370.9 MB, free: 9.43 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2558, allocations: 52.2 MB / 423.1 MB, free: 14.67 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005254/0.2611, allocations: 3.445 MB / 426.6 MB, free: 11.21 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002461/0.2635, allocations: 1.473 MB / 428 MB, free: 9.727 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.2637, allocations: 11.88 kB / 428.1 MB, free: 9.715 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003286/0.267, allocations: 2.663 MB / 430.7 MB, free: 7.047 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004125/0.2674, allocations: 170.7 kB / 430.9 MB, free: 6.879 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006901/0.2681, allocations: 313.9 kB / 431.2 MB, free: 6.578 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001898/0.27, allocations: 1.794 MB / 433 MB, free: 4.781 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.2702, allocations: 95.69 kB / 433.1 MB, free: 4.68 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003914/0.2706, allocations: 321 kB / 433.4 MB, free: 4.367 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004325/0.271, allocations: 354.7 kB / 433.7 MB, free: 4.02 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.85e-05/0.2711, allocations: 44 kB / 433.8 MB, free: 3.977 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.2713, allocations: 87.97 kB / 433.9 MB, free: 3.891 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000703/0.272, allocations: 0.8491 MB / 434.7 MB, free: 3.039 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0008137/0.2728, allocations: 0.9307 MB / 435.6 MB, free: 2.102 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002545/0.2753, allocations: 2.639 MB / 438.3 MB, free: 15.46 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.2754, allocations: 0 / 438.3 MB, free: 15.46 MB / 350.1 MB
Notification: Performance of FrontEnd: time 6.81e-07/0.2754, allocations: 0 / 438.3 MB, free: 15.46 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.957e-05/0.2754, allocations: 0 / 438.3 MB, free: 15.46 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.004336/0.2797, allocations: 2.824 MB / 441.1 MB, free: 12.58 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.2797, allocations: 16.03 kB / 441.1 MB, free: 12.57 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003573/0.2801, allocations: 295 kB / 441.4 MB, free: 12.28 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002614/0.2827, allocations: 1.79 MB / 443.2 MB, free: 10.45 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-05/0.2828, allocations: 55.27 kB / 443.3 MB, free: 10.39 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.283, allocations: 51.91 kB / 443.3 MB, free: 10.34 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000769/0.2837, allocations: 399 kB / 443.7 MB, free: 9.934 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.2837, allocations: 0 / 443.7 MB, free: 9.934 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.2838, allocations: 16 kB / 443.7 MB, free: 9.918 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.2838, allocations: 8 kB / 443.7 MB, free: 9.91 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007924/0.2846, allocations: 331.7 kB / 444 MB, free: 9.586 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004243/0.2888, allocations: 2.845 MB / 446.9 MB, free: 6.645 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006565/0.2895, allocations: 309 kB / 447.2 MB, free: 6.324 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000341/0.2898, allocations: 163.1 kB / 447.4 MB, free: 6.16 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.2899, allocations: 8 kB / 447.4 MB, free: 6.152 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.2899, allocations: 38.36 kB / 447.4 MB, free: 6.105 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=37): time 1.803e-06/0.2899, allocations: 3.938 kB / 447.4 MB, free: 6.102 MB / 350.1 MB
Notification: Performance of matching and sorting (n=48): time 0.005011/0.2949, allocations: 2.383 MB / 449.8 MB, free: 3.676 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.295, allocations: 85.55 kB / 449.9 MB, free: 3.574 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006267/0.3012, allocations: 5.431 MB / 455.3 MB, free: 14.14 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.766e-05/0.3013, allocations: 29.7 kB / 455.3 MB, free: 14.11 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.3025, allocations: 1.219 MB / 456.5 MB, free: 12.88 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.3026, allocations: 170.5 kB / 456.7 MB, free: 12.71 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.3028, allocations: 94.14 kB / 456.8 MB, free: 12.61 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001429/0.3029, allocations: 326 kB / 457.1 MB, free: 12.29 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.3033, allocations: 136.9 kB / 457.3 MB, free: 12.16 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.3037, allocations: 221 kB / 457.5 MB, free: 11.91 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007432/0.3044, allocations: 380.3 kB / 457.8 MB, free: 11.52 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3044, allocations: 7.875 kB / 457.9 MB, free: 11.51 MB / 366.1 MB
Notification: Performance of matching and sorting (n=62) (initialization): time 0.001203/0.3056, allocations: 0.6972 MB / 458.5 MB, free: 10.8 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.3056, allocations: 4 kB / 458.6 MB, free: 10.8 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3056, allocations: 4 kB / 458.6 MB, free: 10.79 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.3056, allocations: 7.984 kB / 458.6 MB, free: 10.79 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005217/0.3062, allocations: 115.9 kB / 458.7 MB, free: 10.67 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.3062, allocations: 7.938 kB / 458.7 MB, free: 10.66 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/0.3066, allocations: 20.25 kB / 458.7 MB, free: 10.64 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.3066, allocations: 19.98 kB / 458.7 MB, free: 10.62 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.00105/0.3077, allocations: 0.9269 MB / 459.7 MB, free: 9.688 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003426/0.308, allocations: 286.1 kB / 459.9 MB, free: 9.406 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.3095, allocations: 0.8019 MB / 460.7 MB, free: 8.594 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.3096, allocations: 4 kB / 460.7 MB, free: 8.59 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3096, allocations: 0 / 460.7 MB, free: 8.59 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.3096, allocations: 3.984 kB / 460.7 MB, free: 8.586 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/0.3113, allocations: 1.433 MB / 462.2 MB, free: 7.109 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3113, allocations: 3.938 kB / 462.2 MB, free: 7.105 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004763/0.3117, allocations: 95.88 kB / 462.3 MB, free: 7.012 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003528/0.3121, allocations: 92.78 kB / 462.4 MB, free: 6.918 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.3121, allocations: 12 kB / 462.4 MB, free: 6.906 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005999/0.3127, allocations: 0.6382 MB / 463 MB, free: 6.242 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.3127, allocations: 4.031 kB / 463 MB, free: 6.238 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.3145, allocations: 1.086 MB / 464.1 MB, free: 5.129 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0008457/0.3154, allocations: 430 kB / 464.5 MB, free: 4.707 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001714/0.3155, allocations: 8 kB / 464.5 MB, free: 4.699 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004761/0.316, allocations: 23.98 kB / 464.6 MB, free: 4.676 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.03e-05/0.3161, allocations: 28.38 kB / 464.6 MB, free: 4.648 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.3161, allocations: 12 kB / 464.6 MB, free: 4.637 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.004701/0.3208, allocations: 3.977 MB / 468.6 MB, free: 0.668 MB / 366.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3208, allocations: 0 / 468.6 MB, free: 0.668 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0006436/0.3214, allocations: 208 kB / 468.8 MB, free: 476 kB / 366.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.00151/0.323, allocations: 424.7 kB / 469.2 MB, free: 204 kB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.0008244/0.3238, allocations: 356.9 kB / 469.5 MB, free: 15.84 MB / 382.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3238, allocations: 0 / 469.5 MB, free: 15.84 MB / 382.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000476/0.3243, allocations: 218.8 kB / 469.7 MB, free: 15.63 MB / 382.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009786/0.3252, allocations: 191.7 kB / 469.9 MB, free: 15.45 MB / 382.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007313/0.3325, allocations: 5.479 MB / 475.4 MB, free: 9.93 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/0.3343, allocations: 1.818 MB / 477.2 MB, free: 8.078 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0005015/0.3348, allocations: 275.6 kB / 477.5 MB, free: 7.805 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002622/0.335, allocations: 91.42 kB / 477.6 MB, free: 7.715 MB / 382.1 MB
Notification: Performance of SimCode: time 4.2e-07/0.335, allocations: 0 / 477.6 MB, free: 7.715 MB / 382.1 MB
Notification: Performance of Templates: time 0.03165/0.3667, allocations: 15.86 MB / 493.5 MB, free: 7.91 MB / 398.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.796294184401631]