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.ToroidalCoreAirgap.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.001331/0.001331, allocations: 109 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.00144/0.00144, allocations: 213.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.474/1.474, allocations: 230.5 MB / 258.2 MB, free: 8.047 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.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap")
translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [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.001996/0.001996, allocations: 64.77 kB / 379 MB, free: 2.668 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2451, allocations: 53.36 MB / 432.4 MB, free: 6.996 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004082/0.2492, allocations: 2.856 MB / 435.3 MB, free: 4.129 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001317/0.2505, allocations: 0.806 MB / 436.1 MB, free: 3.316 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.2506, allocations: 4 kB / 436.1 MB, free: 3.312 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002225/0.2509, allocations: 67.38 kB / 436.1 MB, free: 3.246 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000243/0.2511, allocations: 99.23 kB / 436.2 MB, free: 3.148 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002504/0.2514, allocations: 107.8 kB / 436.3 MB, free: 3.043 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003993/0.2518, allocations: 394.5 kB / 436.7 MB, free: 2.656 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.252, allocations: 99.33 kB / 436.8 MB, free: 2.559 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003336/0.2523, allocations: 159.4 kB / 437 MB, free: 2.402 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002215/0.2525, allocations: 175.1 kB / 437.1 MB, free: 2.23 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.542e-05/0.2526, allocations: 32 kB / 437.2 MB, free: 2.199 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 5.116e-05/0.2526, allocations: 32 kB / 437.2 MB, free: 2.168 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.472e-05/0.2527, allocations: 75.73 kB / 437.3 MB, free: 2.094 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001607/0.2528, allocations: 171.1 kB / 437.4 MB, free: 1.926 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.2533, allocations: 411.9 kB / 437.9 MB, free: 1.527 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2533, allocations: 0 / 437.9 MB, free: 1.527 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.242e-06/0.2533, allocations: 0 / 437.9 MB, free: 1.527 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.944e-06/0.2533, allocations: 0 / 437.9 MB, free: 1.527 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: 79
 * Number of variables: 79
Notification: Performance of Generate backend data structure: time 0.001138/0.2544, allocations: 0.5753 MB / 438.4 MB, free: 0.9219 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2545, allocations: 8.031 kB / 438.4 MB, free: 0.9141 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.18e-05/0.2545, allocations: 40.7 kB / 438.5 MB, free: 0.875 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.2549, allocations: 226.8 kB / 438.7 MB, free: 0.625 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.264e-05/0.2549, allocations: 21.03 kB / 438.7 MB, free: 0.6016 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.763e-05/0.255, allocations: 32.38 kB / 438.7 MB, free: 0.5703 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005813/0.2555, allocations: 290.3 kB / 439 MB, free: 292 kB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.2556, allocations: 4 kB / 439 MB, free: 288 kB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.713e-05/0.2556, allocations: 12 kB / 439 MB, free: 276 kB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.2556, allocations: 8 kB / 439.1 MB, free: 268 kB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005862/0.2562, allocations: 250.5 kB / 439.3 MB, free: 20 kB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001732/0.2579, allocations: 1.041 MB / 440.3 MB, free: 14.89 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003876/0.2583, allocations: 150.4 kB / 440.5 MB, free: 14.73 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.2585, allocations: 68.81 kB / 440.6 MB, free: 14.66 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.738e-05/0.2585, allocations: 4 kB / 440.6 MB, free: 14.66 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.2585, allocations: 30.56 kB / 440.6 MB, free: 14.62 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=17): time 1.192e-06/0.2585, allocations: 0 / 440.6 MB, free: 14.62 MB / 350.1 MB
Notification: Performance of matching and sorting (n=22): time 0.00199/0.2605, allocations: 0.5878 MB / 441.2 MB, free: 14.02 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.2606, allocations: 59.39 kB / 441.2 MB, free: 13.95 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.2609, allocations: 273.7 kB / 441.5 MB, free: 13.68 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.2609, allocations: 29.7 kB / 441.5 MB, free: 13.64 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001559/0.261, allocations: 228.1 kB / 441.8 MB, free: 13.41 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.557e-05/0.2611, allocations: 83.36 kB / 441.8 MB, free: 13.33 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.926e-05/0.2612, allocations: 69.44 kB / 441.9 MB, free: 13.25 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.000151/0.2614, allocations: 334.8 kB / 442.2 MB, free: 12.92 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002963/0.2617, allocations: 99.92 kB / 442.3 MB, free: 12.82 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003492/0.262, allocations: 190.1 kB / 442.5 MB, free: 12.59 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006215/0.2626, allocations: 305.1 kB / 442.8 MB, free: 12.25 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2626, allocations: 4 kB / 442.8 MB, free: 12.25 MB / 350.1 MB
Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008171/0.2634, allocations: 393.4 kB / 443.2 MB, free: 11.85 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2635, allocations: 12 kB / 443.2 MB, free: 11.84 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2635, allocations: 4 kB / 443.2 MB, free: 11.84 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002331/0.2637, allocations: 61.61 kB / 443.3 MB, free: 11.77 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.264, allocations: 71.83 kB / 443.3 MB, free: 11.7 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/0.2662, allocations: 2.63 MB / 446 MB, free: 8.84 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002575/0.2664, allocations: 32 kB / 446 MB, free: 8.809 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.2664, allocations: 12 kB / 446 MB, free: 8.797 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 14
 * 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 (37):
 * Single equations (assignments): 35
 * 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): 2 systems
   {(1,2,100.0%), (1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001708/0.2666, allocations: 163.5 kB / 446.2 MB, free: 8.629 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.059e-05/0.2667, allocations: 23.86 kB / 446.2 MB, free: 8.605 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.35e-05/0.2667, allocations: 22.28 kB / 446.2 MB, free: 8.586 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2667, allocations: 4 kB / 446.2 MB, free: 8.582 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.2667, allocations: 3.984 kB / 446.2 MB, free: 8.578 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2667, allocations: 0 / 446.2 MB, free: 8.578 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003731/0.2671, allocations: 316.5 kB / 446.5 MB, free: 8.227 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2671, allocations: 0 / 446.5 MB, free: 8.227 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002103/0.2673, allocations: 39.91 kB / 446.6 MB, free: 8.188 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001471/0.2675, allocations: 53.67 kB / 446.6 MB, free: 8.129 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.2675, allocations: 12 kB / 446.6 MB, free: 8.117 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002215/0.2697, allocations: 2.614 MB / 449.3 MB, free: 5.27 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.2697, allocations: 8.062 kB / 449.3 MB, free: 5.262 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007284/0.2704, allocations: 376.8 kB / 449.6 MB, free: 4.871 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.728e-05/0.2705, allocations: 23.8 kB / 449.7 MB, free: 4.848 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.2705, allocations: 12 kB / 449.7 MB, free: 4.836 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002005/0.2707, allocations: 15.97 kB / 449.7 MB, free: 4.82 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.2708, allocations: 15.97 kB / 449.7 MB, free: 4.805 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.2708, allocations: 4 kB / 449.7 MB, free: 4.801 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002149/0.271, allocations: 189.2 kB / 449.9 MB, free: 4.613 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.271, allocations: 0 / 449.9 MB, free: 4.613 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003882/0.2714, allocations: 76 kB / 450 MB, free: 4.539 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 simulation (18):
 * Single equations (assignments): 16
 * 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): 2 systems
   {(1,2,100.0%), (1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.000125/0.2715, allocations: 100.5 kB / 450.1 MB, free: 4.434 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.000979/0.2725, allocations: 484.1 kB / 450.5 MB, free: 3.938 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2725, allocations: 0 / 450.5 MB, free: 3.938 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005048/0.273, allocations: 341.2 kB / 450.9 MB, free: 3.578 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.2734, allocations: 25.25 kB / 450.9 MB, free: 3.555 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.2745, allocations: 0.5537 MB / 451.4 MB, free: 2.973 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.2749, allocations: 0.7752 MB / 452.2 MB, free: 2.172 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001105/0.275, allocations: 30.27 kB / 452.2 MB, free: 2.145 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.898e-05/0.2751, allocations: 19.44 kB / 452.3 MB, free: 2.125 MB / 350.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.2751, allocations: 4 kB / 452.3 MB, free: 2.121 MB / 350.1 MB
Notification: Performance of Templates: time 0.007241/0.2823, allocations: 2.941 MB / 455.2 MB, free: 15.19 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.35144039336592]