Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001792/0.001792, 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.002009/0.002009, allocations: 184.2 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.532/1.532, 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.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection")
translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 51.91 kB / 370.9 MB, free: 9.324 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2534, allocations: 52.18 MB / 423.1 MB, free: 14.66 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004702/0.2581, allocations: 2.865 MB / 426 MB, free: 11.78 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001565/0.2597, allocations: 0.7478 MB / 426.7 MB, free: 11.02 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.2599, allocations: 7.938 kB / 426.7 MB, free: 11.02 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002505/0.2601, allocations: 71.42 kB / 426.8 MB, free: 10.95 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.2604, allocations: 103.2 kB / 426.9 MB, free: 10.84 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.2607, allocations: 103.9 kB / 427 MB, free: 10.74 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004488/0.2611, allocations: 406 kB / 427.4 MB, free: 10.35 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002169/0.2613, allocations: 91.34 kB / 427.5 MB, free: 10.26 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003292/0.2617, allocations: 163.4 kB / 427.7 MB, free: 10.1 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.2619, allocations: 171.2 kB / 427.8 MB, free: 9.93 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.257e-05/0.262, allocations: 32 kB / 427.9 MB, free: 9.898 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.165e-05/0.262, allocations: 36 kB / 427.9 MB, free: 9.863 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.284e-05/0.2621, allocations: 79.75 kB / 428 MB, free: 9.785 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.2623, allocations: 183 kB / 428.2 MB, free: 9.605 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004869/0.2628, allocations: 407.5 kB / 428.6 MB, free: 9.211 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2628, allocations: 0 / 428.6 MB, free: 9.211 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.363e-06/0.2628, allocations: 0 / 428.6 MB, free: 9.211 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.098e-05/0.2628, allocations: 0 / 428.6 MB, free: 9.211 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.001294/0.2641, allocations: 0.5909 MB / 429.1 MB, free: 8.59 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.2641, allocations: 12.02 kB / 429.2 MB, free: 8.578 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.104e-05/0.2642, allocations: 40.7 kB / 429.2 MB, free: 8.539 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004339/0.2647, allocations: 214.9 kB / 429.4 MB, free: 8.301 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.2647, allocations: 25.03 kB / 429.4 MB, free: 8.273 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.259e-05/0.2648, allocations: 32.38 kB / 429.5 MB, free: 8.242 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006533/0.2654, allocations: 294.4 kB / 429.7 MB, free: 7.953 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.2654, allocations: 0 / 429.7 MB, free: 7.953 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.2655, allocations: 16 kB / 429.8 MB, free: 7.938 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.2655, allocations: 7.984 kB / 429.8 MB, free: 7.93 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006532/0.2661, allocations: 254.5 kB / 430 MB, free: 7.684 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.2679, allocations: 1.045 MB / 431.1 MB, free: 6.547 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.2684, allocations: 146.5 kB / 431.2 MB, free: 6.395 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001999/0.2686, allocations: 60.81 kB / 431.3 MB, free: 6.332 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.2686, allocations: 7.984 kB / 431.3 MB, free: 6.324 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.995e-05/0.2686, allocations: 34.56 kB / 431.3 MB, free: 6.281 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=17): time 1.162e-06/0.2686, allocations: 0 / 431.3 MB, free: 6.281 MB / 334.1 MB
Notification: Performance of matching and sorting (n=22): time 0.002229/0.2709, allocations: 0.5917 MB / 431.9 MB, free: 5.676 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/0.2709, allocations: 55.41 kB / 432 MB, free: 5.609 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.2712, allocations: 277.8 kB / 432.2 MB, free: 5.328 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.2713, allocations: 33.7 kB / 432.3 MB, free: 5.289 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001733/0.2715, allocations: 236.1 kB / 432.5 MB, free: 5.051 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 7.526e-05/0.2715, allocations: 83.3 kB / 432.6 MB, free: 4.969 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.2716, allocations: 65.59 kB / 432.6 MB, free: 4.898 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001668/0.2718, allocations: 334.8 kB / 433 MB, free: 4.562 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.2721, allocations: 103.8 kB / 433.1 MB, free: 4.461 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.2725, allocations: 196 kB / 433.3 MB, free: 4.223 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006946/0.2732, allocations: 303 kB / 433.6 MB, free: 3.887 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.2732, allocations: 4 kB / 433.6 MB, free: 3.883 MB / 334.1 MB
Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009352/0.2742, allocations: 401.4 kB / 433.9 MB, free: 3.48 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.2742, allocations: 10.66 kB / 434 MB, free: 3.473 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.2742, allocations: 4 kB / 434 MB, free: 3.469 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002778/0.2745, allocations: 65.61 kB / 434 MB, free: 3.398 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.2748, allocations: 71.89 kB / 434.1 MB, free: 3.328 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002467/0.2773, allocations: 2.627 MB / 436.7 MB, free: 484 kB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.2776, allocations: 19.98 kB / 436.7 MB, free: 464 kB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.2776, allocations: 16 kB / 436.8 MB, free: 448 kB / 334.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.0001833/0.2778, allocations: 165.8 kB / 436.9 MB, free: 272 kB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.372e-05/0.2779, allocations: 23.86 kB / 436.9 MB, free: 248 kB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.013e-05/0.2779, allocations: 34.33 kB / 437 MB, free: 216 kB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.2779, allocations: 7.984 kB / 437 MB, free: 208 kB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2779, allocations: 0 / 437 MB, free: 208 kB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2779, allocations: 0 / 437 MB, free: 208 kB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.2783, allocations: 308.5 kB / 437.3 MB, free: 15.86 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2783, allocations: 0 / 437.3 MB, free: 15.86 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002179/0.2786, allocations: 43.91 kB / 437.3 MB, free: 15.82 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001733/0.2787, allocations: 57.67 kB / 437.4 MB, free: 15.75 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.2788, allocations: 0 / 437.4 MB, free: 15.75 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002288/0.281, allocations: 2.634 MB / 440 MB, free: 12.89 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.061e-06/0.281, allocations: 0 / 440 MB, free: 12.89 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007973/0.2818, allocations: 378.5 kB / 440.4 MB, free: 12.5 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.2819, allocations: 27.8 kB / 440.4 MB, free: 12.47 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.2819, allocations: 0 / 440.4 MB, free: 12.47 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002196/0.2821, allocations: 19.97 kB / 440.4 MB, free: 12.45 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.114e-05/0.2822, allocations: 23.97 kB / 440.5 MB, free: 12.43 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.2822, allocations: 4 kB / 440.5 MB, free: 12.42 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002114/0.2824, allocations: 197.2 kB / 440.7 MB, free: 12.23 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2824, allocations: 4 kB / 440.7 MB, free: 12.23 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004023/0.2829, allocations: 72 kB / 440.7 MB, free: 12.16 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.000118/0.283, allocations: 103.2 kB / 440.8 MB, free: 12.05 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001055/0.284, allocations: 486.8 kB / 441.3 MB, free: 11.55 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.284, allocations: 0 / 441.3 MB, free: 11.55 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005867/0.2846, allocations: 342 kB / 441.6 MB, free: 11.19 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.285, allocations: 32.42 kB / 441.7 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.2862, allocations: 0.5616 MB / 442.2 MB, free: 10.57 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.2866, allocations: 0.7714 MB / 443 MB, free: 9.77 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001217/0.2867, allocations: 30.36 kB / 443 MB, free: 9.742 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.552e-05/0.2868, allocations: 19.44 kB / 443.1 MB, free: 9.723 MB / 350.1 MB
Notification: Performance of SimCode: time 5.51e-07/0.2868, allocations: 0 / 443.1 MB, free: 9.723 MB / 350.1 MB
Notification: Performance of Templates: time 0.007835/0.2946, allocations: 3.011 MB / 446.1 MB, free: 6.758 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.654166675172746]