Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.001872/0.001872, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.002202/0.002202, allocations: 181.5 kB / 23.71 MB, free: 4.695 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.405/1.405, allocations: 225.6 MB / 252.5 MB, free: 13 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.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor")
translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|coil.i|coil.Phi|r_mLeak.port_p.Phi|r_mFe.mu_r|r_mFe.B|r_mFe.H",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 47.91 kB / 370.9 MB, free: 9.344 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2454, allocations: 52.18 MB / 423.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004132/0.2495, allocations: 2.799 MB / 425.9 MB, free: 11.85 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001453/0.251, allocations: 0.8684 MB / 426.8 MB, free: 10.97 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000128/0.2511, allocations: 7.938 kB / 426.8 MB, free: 10.96 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.2513, allocations: 59.48 kB / 426.8 MB, free: 10.91 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.2516, allocations: 99.19 kB / 426.9 MB, free: 10.81 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002523/0.2518, allocations: 111.7 kB / 427 MB, free: 10.7 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003734/0.2522, allocations: 346.7 kB / 427.4 MB, free: 10.36 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001724/0.2524, allocations: 73.98 kB / 427.5 MB, free: 10.29 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.2526, allocations: 135.5 kB / 427.6 MB, free: 10.15 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002091/0.2528, allocations: 163.2 kB / 427.8 MB, free: 9.992 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.585e-05/0.2528, allocations: 28 kB / 427.8 MB, free: 9.965 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.564e-05/0.2529, allocations: 32 kB / 427.8 MB, free: 9.934 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.2529, allocations: 63.77 kB / 427.9 MB, free: 9.871 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.2531, allocations: 151.3 kB / 428 MB, free: 9.723 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004074/0.2535, allocations: 367.7 kB / 428.4 MB, free: 9.367 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.2535, allocations: 0 / 428.4 MB, free: 9.367 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.232e-06/0.2535, allocations: 4 kB / 428.4 MB, free: 9.363 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.059e-05/0.2535, allocations: 0 / 428.4 MB, free: 9.363 MB / 334.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 67
 * Number of variables: 67
Notification: Performance of Generate backend data structure: time 0.001004/0.2545, allocations: 0.5325 MB / 428.9 MB, free: 8.801 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.2546, allocations: 8.031 kB / 428.9 MB, free: 8.793 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.807e-05/0.2546, allocations: 32.75 kB / 429 MB, free: 8.762 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003507/0.255, allocations: 209.9 kB / 429.2 MB, free: 8.531 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.255, allocations: 17.03 kB / 429.2 MB, free: 8.516 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.985e-05/0.2551, allocations: 28.38 kB / 429.2 MB, free: 8.488 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005108/0.2556, allocations: 250.4 kB / 429.4 MB, free: 8.238 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.2556, allocations: 3.984 kB / 429.5 MB, free: 8.234 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/0.2556, allocations: 20 kB / 429.5 MB, free: 8.215 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.2556, allocations: 4 kB / 429.5 MB, free: 8.211 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/0.2561, allocations: 214.4 kB / 429.7 MB, free: 8.004 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.2577, allocations: 0.9596 MB / 430.6 MB, free: 6.961 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.2582, allocations: 197.4 kB / 430.8 MB, free: 6.762 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.2584, allocations: 100.8 kB / 430.9 MB, free: 6.66 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.2585, allocations: 8 kB / 430.9 MB, free: 6.652 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.2585, allocations: 30.56 kB / 431 MB, free: 6.613 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=23): time 1.483e-06/0.2585, allocations: 0 / 431 MB, free: 6.613 MB / 334.1 MB
Notification: Performance of matching and sorting (n=35): time 0.005209/0.2637, allocations: 1.392 MB / 432.4 MB, free: 5.184 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.2637, allocations: 63.2 kB / 432.4 MB, free: 5.109 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.264, allocations: 228.9 kB / 432.7 MB, free: 4.879 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.264, allocations: 29.7 kB / 432.7 MB, free: 4.844 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.2642, allocations: 192.5 kB / 432.9 MB, free: 4.648 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.728e-05/0.2643, allocations: 119 kB / 433 MB, free: 4.531 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.2644, allocations: 66.03 kB / 433 MB, free: 4.457 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001509/0.2645, allocations: 338.8 kB / 433.4 MB, free: 4.117 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.2648, allocations: 108.7 kB / 433.5 MB, free: 4.012 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.2651, allocations: 165.5 kB / 433.6 MB, free: 3.836 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000527/0.2656, allocations: 279.9 kB / 433.9 MB, free: 3.547 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2656, allocations: 4 kB / 433.9 MB, free: 3.543 MB / 334.1 MB
Notification: Performance of matching and sorting (n=45) (initialization): time 0.001628/0.2672, allocations: 0.5218 MB / 434.4 MB, free: 3.008 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.2672, allocations: 11.94 kB / 434.5 MB, free: 2.996 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.2672, allocations: 0 / 434.5 MB, free: 2.996 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.2685, allocations: 245.4 kB / 434.7 MB, free: 2.75 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.2688, allocations: 63.89 kB / 434.8 MB, free: 2.688 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005064/0.2738, allocations: 3.923 MB / 438.7 MB, free: 14.54 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002482/0.2741, allocations: 16.02 kB / 438.7 MB, free: 14.52 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.2741, allocations: 12.23 kB / 438.7 MB, free: 14.51 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (29):
 * Single equations (assignments): 27
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,9,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,7)}
Notification: Performance of prepare postOptimizeDAE: time 0.0002039/0.2743, allocations: 161.7 kB / 438.9 MB, free: 14.34 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.835e-05/0.2744, allocations: 23.86 kB / 438.9 MB, free: 14.32 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.938e-05/0.2745, allocations: 42.95 kB / 438.9 MB, free: 14.27 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.2745, allocations: 4 kB / 438.9 MB, free: 14.27 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2745, allocations: 0 / 438.9 MB, free: 14.27 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.2745, allocations: 3.984 kB / 438.9 MB, free: 14.27 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002152/0.2766, allocations: 0.9616 MB / 439.9 MB, free: 13.25 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2766, allocations: 0 / 439.9 MB, free: 13.25 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.2769, allocations: 43.91 kB / 439.9 MB, free: 13.2 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001199/0.2781, allocations: 245.8 kB / 440.2 MB, free: 12.96 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.2781, allocations: 11.98 kB / 440.2 MB, free: 12.95 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004753/0.2828, allocations: 3.911 MB / 444.1 MB, free: 8.809 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.2828, allocations: 4.031 kB / 444.1 MB, free: 8.805 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.2848, allocations: 0.7247 MB / 444.8 MB, free: 8.051 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.2848, allocations: 27.88 kB / 444.9 MB, free: 8.023 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.122e-05/0.2849, allocations: 11.94 kB / 444.9 MB, free: 8.012 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002327/0.2851, allocations: 15.98 kB / 444.9 MB, free: 7.996 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-05/0.2852, allocations: 23.95 kB / 444.9 MB, free: 7.973 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.329e-05/0.2852, allocations: 16.05 kB / 444.9 MB, free: 7.957 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001678/0.2854, allocations: 164.5 kB / 445.1 MB, free: 7.793 MB / 350.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.2854, allocations: 0 / 445.1 MB, free: 7.793 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0006026/0.286, allocations: 100 kB / 445.2 MB, free: 7.695 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 1 (coil.i)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (19):
 * Single equations (assignments): 17
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,9,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,7)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001462/0.2861, allocations: 118.5 kB / 445.3 MB, free: 7.574 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001043/0.2872, allocations: 0.5478 MB / 445.9 MB, free: 7 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.2872, allocations: 4 kB / 445.9 MB, free: 6.996 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006017/0.2878, allocations: 421.5 kB / 446.3 MB, free: 6.559 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.2881, allocations: 28.36 kB / 446.3 MB, free: 6.531 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.2894, allocations: 0.7003 MB / 447 MB, free: 5.793 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.2898, allocations: 0.7798 MB / 447.8 MB, free: 4.984 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 9.081e-05/0.2899, allocations: 22.28 kB / 447.8 MB, free: 4.965 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.112e-05/0.29, allocations: 15.44 kB / 447.8 MB, free: 4.949 MB / 350.1 MB
Notification: Performance of SimCode: time 4.31e-07/0.29, allocations: 3.938 kB / 447.8 MB, free: 4.945 MB / 350.1 MB
Notification: Performance of Templates: time 0.0112/0.3012, allocations: 5.777 MB / 453.6 MB, free: 15.18 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.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.776854791678488]