Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001888/0.001888, allocations: 105.1 kB / 21.22 MB, free: 0.5117 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002323/0.002323, allocations: 217.3 kB / 24.54 MB, free: 3.898 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 67.88 kB / 378.8 MB, free: 2.793 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2825/0.2846, allocations: 53.36 MB / 432.1 MB, free: 7.082 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.004683/0.2893, allocations: 2.801 MB / 434.9 MB, free: 4.27 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001963/0.2912, allocations: 0.9579 MB / 435.9 MB, free: 3.305 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/0.2915, allocations: 7.938 kB / 435.9 MB, free: 3.297 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.2918, allocations: 55.44 kB / 435.9 MB, free: 3.242 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.00062/0.2924, allocations: 119.1 kB / 436.1 MB, free: 3.125 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005686/0.293, allocations: 115.7 kB / 436.2 MB, free: 3.012 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0008722/0.2939, allocations: 358.6 kB / 436.5 MB, free: 2.66 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0003077/0.2942, allocations: 77.97 kB / 436.6 MB, free: 2.582 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005535/0.2947, allocations: 143.5 kB / 436.7 MB, free: 2.441 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004321/0.2952, allocations: 159.2 kB / 436.9 MB, free: 2.285 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.832e-05/0.2953, allocations: 28 kB / 436.9 MB, free: 2.258 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.2954, allocations: 36 kB / 437 MB, free: 2.223 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.064e-05/0.2955, allocations: 67.77 kB / 437 MB, free: 2.156 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002179/0.2957, allocations: 163.2 kB / 437.2 MB, free: 1.996 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005774/0.2963, allocations: 372.1 kB / 437.5 MB, free: 1.637 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2963, allocations: 0 / 437.5 MB, free: 1.637 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.623e-06/0.2963, allocations: 0 / 437.5 MB, free: 1.637 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.516e-05/0.2963, allocations: 0 / 437.5 MB, free: 1.637 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.00132/0.2977, allocations: 0.5442 MB / 438.1 MB, free: 1.062 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.088e-05/0.2977, allocations: 8.031 kB / 438.1 MB, free: 1.055 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003116/0.298, allocations: 40.73 kB / 438.1 MB, free: 1.016 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006148/0.2986, allocations: 210.9 kB / 438.3 MB, free: 0.7812 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/0.2987, allocations: 21.03 kB / 438.4 MB, free: 0.7617 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.968e-05/0.2987, allocations: 28.38 kB / 438.4 MB, free: 0.7344 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006699/0.2994, allocations: 258.3 kB / 438.6 MB, free: 488 kB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.2994, allocations: 0 / 438.6 MB, free: 488 kB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.499e-05/0.2995, allocations: 8 kB / 438.6 MB, free: 480 kB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.2995, allocations: 8 kB / 438.7 MB, free: 472 kB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005359/0.3, allocations: 210.5 kB / 438.9 MB, free: 264 kB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.3019, allocations: 0.9635 MB / 439.8 MB, free: 15.21 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004936/0.3024, allocations: 190.5 kB / 440 MB, free: 15.02 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.3026, allocations: 103.9 kB / 440.1 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.3027, allocations: 8.062 kB / 440.1 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.3027, allocations: 30.56 kB / 440.1 MB, free: 14.87 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=23): time 1.583e-06/0.3027, allocations: 4.031 kB / 440.2 MB, free: 14.86 MB / 350.1 MB
Notification: Performance of matching and sorting (n=35): time 0.005465/0.3082, allocations: 1.392 MB / 441.5 MB, free: 13.43 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.3082, allocations: 59.34 kB / 441.6 MB, free: 13.36 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002791/0.3085, allocations: 237 kB / 441.8 MB, free: 13.12 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.3085, allocations: 29.7 kB / 441.9 MB, free: 13.09 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.3087, allocations: 192.4 kB / 442.1 MB, free: 12.89 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001131/0.3088, allocations: 130.9 kB / 442.2 MB, free: 12.76 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.3089, allocations: 62.08 kB / 442.2 MB, free: 12.69 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001557/0.3091, allocations: 334.8 kB / 442.6 MB, free: 12.36 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002677/0.3093, allocations: 112.7 kB / 442.7 MB, free: 12.25 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003015/0.3096, allocations: 161.5 kB / 442.8 MB, free: 12.07 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005736/0.3102, allocations: 295.5 kB / 443.1 MB, free: 11.77 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3102, allocations: 0 / 443.1 MB, free: 11.77 MB / 350.1 MB
Notification: Performance of matching and sorting (n=45) (initialization): time 0.001663/0.3119, allocations: 0.5217 MB / 443.6 MB, free: 11.23 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.3119, allocations: 8 kB / 443.7 MB, free: 11.23 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.3119, allocations: 0 / 443.7 MB, free: 11.23 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001321/0.3132, allocations: 245.5 kB / 443.9 MB, free: 10.98 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.3135, allocations: 59.91 kB / 444 MB, free: 10.92 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005475/0.319, allocations: 3.953 MB / 447.9 MB, free: 6.754 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002748/0.3193, allocations: 15.94 kB / 447.9 MB, free: 6.738 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.3193, allocations: 8 kB / 447.9 MB, free: 6.73 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.000219/0.3195, allocations: 153.7 kB / 448.1 MB, free: 6.57 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.306e-05/0.3196, allocations: 27.84 kB / 448.1 MB, free: 6.543 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.3197, allocations: 38.97 kB / 448.1 MB, free: 6.5 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/0.3197, allocations: 4 kB / 448.1 MB, free: 6.496 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.3197, allocations: 4.062 kB / 448.2 MB, free: 6.492 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3197, allocations: 7.984 kB / 448.2 MB, free: 6.484 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/0.322, allocations: 0.9444 MB / 449.1 MB, free: 5.48 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.322, allocations: 0 / 449.1 MB, free: 5.48 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002322/0.3223, allocations: 43.91 kB / 449.1 MB, free: 5.438 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/0.3235, allocations: 245.5 kB / 449.4 MB, free: 5.191 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.454e-05/0.3236, allocations: 8 kB / 449.4 MB, free: 5.184 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005134/0.3287, allocations: 3.919 MB / 453.3 MB, free: 1.039 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3287, allocations: 0 / 453.3 MB, free: 1.039 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001992/0.3307, allocations: 0.7168 MB / 454 MB, free: 300 kB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.674e-05/0.3308, allocations: 23.89 kB / 454.1 MB, free: 276 kB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.804e-05/0.3308, allocations: 11.94 kB / 454.1 MB, free: 264 kB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.3311, allocations: 16.05 kB / 454.1 MB, free: 248 kB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.642e-05/0.3312, allocations: 35.88 kB / 454.1 MB, free: 212 kB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.3312, allocations: 12 kB / 454.1 MB, free: 200 kB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001973/0.3314, allocations: 164.5 kB / 454.3 MB, free: 36 kB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3314, allocations: 0 / 454.3 MB, free: 36 kB / 350.1 MB
Notification: Performance of remove unused functions: time 0.000703/0.3321, allocations: 104 kB / 454.4 MB, free: 15.93 MB / 366.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.0001739/0.3323, allocations: 107.2 kB / 454.5 MB, free: 15.82 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001279/0.3335, allocations: 0.5514 MB / 455 MB, free: 15.24 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.085e-06/0.3336, allocations: 0 / 455 MB, free: 15.24 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0007908/0.3343, allocations: 421.3 kB / 455.5 MB, free: 14.8 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003718/0.3347, allocations: 31.98 kB / 455.5 MB, free: 14.78 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.3364, allocations: 0.7197 MB / 456.2 MB, free: 14.02 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/0.3369, allocations: 0.784 MB / 457 MB, free: 13.21 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0001089/0.337, allocations: 22.27 kB / 457 MB, free: 13.19 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.497e-05/0.337, allocations: 15.44 kB / 457 MB, free: 13.18 MB / 366.1 MB
Notification: Performance of SimCode: time 5.31e-07/0.337, allocations: 8 kB / 457 MB, free: 13.17 MB / 366.1 MB
Notification: Performance of Templates: time 0.01312/0.3502, allocations: 5.788 MB / 462.8 MB, free: 7.387 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/SaturatedInductor/SaturatedInductor.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.851420086808503]