Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001299/0.001299, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001482/0.001482, allocations: 212.6 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.423/1.423, allocations: 230.6 MB / 258.2 MB, free: 8.031 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-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002095/0.002095, allocations: 68.75 kB / 379 MB, free: 2.648 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2739, allocations: 53.37 MB / 432.4 MB, free: 6.957 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor): time 0.006239/0.2802, allocations: 2.804 MB / 435.2 MB, free: 4.145 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002416/0.2826, allocations: 0.9695 MB / 436.2 MB, free: 3.168 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002187/0.2828, allocations: 4 kB / 436.2 MB, free: 3.164 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.2831, allocations: 59.44 kB / 436.2 MB, free: 3.105 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004083/0.2836, allocations: 107.2 kB / 436.3 MB, free: 3 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004299/0.284, allocations: 115.8 kB / 436.5 MB, free: 2.887 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005519/0.2845, allocations: 350.6 kB / 436.8 MB, free: 2.543 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002471/0.2848, allocations: 81.91 kB / 436.9 MB, free: 2.461 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003139/0.2851, allocations: 151.5 kB / 437 MB, free: 2.312 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003141/0.2854, allocations: 147.3 kB / 437.2 MB, free: 2.168 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.955e-05/0.2855, allocations: 28 kB / 437.2 MB, free: 2.141 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.2856, allocations: 40 kB / 437.2 MB, free: 2.102 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.57e-05/0.2857, allocations: 71.69 kB / 437.3 MB, free: 2.031 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.2859, allocations: 159.2 kB / 437.5 MB, free: 1.875 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006212/0.2865, allocations: 372.1 kB / 437.8 MB, free: 1.516 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.2865, allocations: 0 / 437.8 MB, free: 1.516 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.834e-06/0.2865, allocations: 0 / 437.8 MB, free: 1.516 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.487e-05/0.2865, allocations: 0 / 437.8 MB, free: 1.516 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.001342/0.2878, allocations: 0.5403 MB / 438.4 MB, free: 0.9453 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.2879, allocations: 8.031 kB / 438.4 MB, free: 0.9375 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002213/0.2881, allocations: 44.73 kB / 438.4 MB, free: 0.8945 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.2885, allocations: 218.8 kB / 438.6 MB, free: 0.6523 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.2885, allocations: 25.03 kB / 438.7 MB, free: 0.6289 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.2886, allocations: 28.38 kB / 438.7 MB, free: 0.6016 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005057/0.2891, allocations: 250.4 kB / 438.9 MB, free: 360 kB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.2891, allocations: 0 / 438.9 MB, free: 360 kB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.78e-05/0.2891, allocations: 12 kB / 438.9 MB, free: 348 kB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.2891, allocations: 4 kB / 438.9 MB, free: 344 kB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005198/0.2897, allocations: 210.5 kB / 439.2 MB, free: 136 kB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.2918, allocations: 0.9635 MB / 440.1 MB, free: 15.09 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004513/0.2922, allocations: 190.5 kB / 440.3 MB, free: 14.89 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.2925, allocations: 100.8 kB / 440.4 MB, free: 14.79 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.937e-05/0.2925, allocations: 11.98 kB / 440.4 MB, free: 14.78 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.2925, allocations: 30.56 kB / 440.4 MB, free: 14.74 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=23): time 1.603e-06/0.2925, allocations: 4 kB / 440.4 MB, free: 14.73 MB / 350.1 MB
Notification: Performance of matching and sorting (n=35): time 0.005265/0.2978, allocations: 1.397 MB / 441.8 MB, free: 13.3 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.2978, allocations: 63.34 kB / 441.9 MB, free: 13.23 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.2981, allocations: 229 kB / 442.1 MB, free: 13 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.2981, allocations: 37.7 kB / 442.2 MB, free: 12.95 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000151/0.2983, allocations: 192.4 kB / 442.4 MB, free: 12.76 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.2984, allocations: 122.9 kB / 442.5 MB, free: 12.64 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001132/0.2985, allocations: 62.08 kB / 442.5 MB, free: 12.57 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001554/0.2987, allocations: 342.8 kB / 442.9 MB, free: 12.22 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.2989, allocations: 108.7 kB / 443 MB, free: 12.12 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.2992, allocations: 157.5 kB / 443.1 MB, free: 11.95 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005305/0.2997, allocations: 287.6 kB / 443.4 MB, free: 11.65 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2997, allocations: 0 / 443.4 MB, free: 11.65 MB / 350.1 MB
Notification: Performance of matching and sorting (n=45) (initialization): time 0.001653/0.3014, allocations: 0.5371 MB / 443.9 MB, free: 11.1 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3014, allocations: 4 kB / 443.9 MB, free: 11.1 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.3014, allocations: 4 kB / 444 MB, free: 11.09 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.3027, allocations: 245.5 kB / 444.2 MB, free: 10.85 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/0.303, allocations: 55.91 kB / 444.2 MB, free: 10.79 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005263/0.3083, allocations: 3.949 MB / 448.2 MB, free: 6.625 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.3085, allocations: 8.031 kB / 448.2 MB, free: 6.617 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.3085, allocations: 12 kB / 448.2 MB, free: 6.605 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.0002111/0.3087, allocations: 155.5 kB / 448.4 MB, free: 6.445 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.3088, allocations: 23.86 kB / 448.4 MB, free: 6.422 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.518e-05/0.3089, allocations: 42.95 kB / 448.4 MB, free: 6.375 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.3089, allocations: 7.938 kB / 448.4 MB, free: 6.367 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.3089, allocations: 8 kB / 448.4 MB, free: 6.359 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.3089, allocations: 0 / 448.4 MB, free: 6.359 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.3111, allocations: 0.9608 MB / 449.4 MB, free: 5.34 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.3111, allocations: 0 / 449.4 MB, free: 5.34 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.3113, allocations: 35.98 kB / 449.4 MB, free: 5.305 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001209/0.3125, allocations: 245.5 kB / 449.7 MB, free: 5.059 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.87e-05/0.3125, allocations: 8 kB / 449.7 MB, free: 5.051 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004801/0.3173, allocations: 3.915 MB / 453.6 MB, free: 0.9102 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3173, allocations: 64 / 453.6 MB, free: 0.9102 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.3192, allocations: 0.7245 MB / 454.3 MB, free: 160 kB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.897e-05/0.3193, allocations: 23.89 kB / 454.4 MB, free: 136 kB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.3193, allocations: 7.938 kB / 454.4 MB, free: 128 kB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.3195, allocations: 20.05 kB / 454.4 MB, free: 108 kB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3196, allocations: 27.94 kB / 454.4 MB, free: 80 kB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.3197, allocations: 12 kB / 454.4 MB, free: 68 kB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001983/0.3199, allocations: 168.5 kB / 454.6 MB, free: 15.9 MB / 366.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3199, allocations: 0 / 454.6 MB, free: 15.9 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0006117/0.3205, allocations: 104 kB / 454.7 MB, free: 15.8 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.0001498/0.3206, allocations: 107.2 kB / 454.8 MB, free: 15.69 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001071/0.3217, allocations: 0.54 MB / 455.3 MB, free: 15.12 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3217, allocations: 256 / 455.3 MB, free: 15.12 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005765/0.3223, allocations: 425 kB / 455.7 MB, free: 14.68 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.3226, allocations: 28.38 kB / 455.8 MB, free: 14.65 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.324, allocations: 0.7135 MB / 456.5 MB, free: 13.9 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004127/0.3244, allocations: 0.784 MB / 457.3 MB, free: 13.09 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0001107/0.3245, allocations: 22.28 kB / 457.3 MB, free: 13.07 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.3245, allocations: 19.44 kB / 457.3 MB, free: 13.05 MB / 366.1 MB
Notification: Performance of SimCode: time 5.81e-07/0.3245, allocations: 192 / 457.3 MB, free: 13.05 MB / 366.1 MB
Notification: Performance of Templates: time 0.01111/0.3357, allocations: 5.805 MB / 463.1 MB, free: 7.27 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.SaturatedInductor.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.689408363774419]