Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.001394/0.001394, 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.001672/0.001672, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.442/1.442, allocations: 230.3 MB / 258 MB, free: 8.203 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.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 59.91 kB / 378.8 MB, free: 2.758 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2483, allocations: 53.36 MB / 432.1 MB, free: 7.047 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004423/0.2528, allocations: 2.889 MB / 435 MB, free: 4.148 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001467/0.2542, allocations: 0.8061 MB / 435.8 MB, free: 3.336 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.2544, allocations: 4 kB / 435.8 MB, free: 3.332 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.2546, allocations: 71.36 kB / 435.9 MB, free: 3.262 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002742/0.2549, allocations: 99.17 kB / 436 MB, free: 3.164 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002688/0.2551, allocations: 111.8 kB / 436.1 MB, free: 3.055 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004387/0.2556, allocations: 398.5 kB / 436.5 MB, free: 2.664 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.2558, allocations: 99.33 kB / 436.6 MB, free: 2.566 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003171/0.2561, allocations: 171.3 kB / 436.8 MB, free: 2.398 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002312/0.2563, allocations: 171.2 kB / 436.9 MB, free: 2.23 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.549e-05/0.2564, allocations: 36 kB / 437 MB, free: 2.195 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.105e-05/0.2565, allocations: 32 kB / 437 MB, free: 2.164 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.776e-05/0.2565, allocations: 79.73 kB / 437.1 MB, free: 2.086 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001837/0.2567, allocations: 183 kB / 437.2 MB, free: 1.906 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004813/0.2572, allocations: 412 kB / 437.6 MB, free: 1.508 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2572, allocations: 0 / 437.6 MB, free: 1.508 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.453e-06/0.2572, allocations: 0 / 437.6 MB, free: 1.508 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.514e-06/0.2572, allocations: 0 / 437.6 MB, free: 1.508 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.001271/0.2585, allocations: 0.5831 MB / 438.2 MB, free: 0.8945 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2585, allocations: 12.03 kB / 438.2 MB, free: 0.8828 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.174e-05/0.2586, allocations: 36.7 kB / 438.3 MB, free: 0.8477 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.259, allocations: 225.6 kB / 438.5 MB, free: 0.6016 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.794e-05/0.259, allocations: 21.03 kB / 438.5 MB, free: 0.5781 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.646e-05/0.2591, allocations: 32.38 kB / 438.6 MB, free: 0.5469 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006433/0.2597, allocations: 298.3 kB / 438.8 MB, free: 260 kB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.2597, allocations: 4 kB / 438.8 MB, free: 256 kB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.2598, allocations: 11.94 kB / 438.9 MB, free: 244 kB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.2598, allocations: 8 kB / 438.9 MB, free: 236 kB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006877/0.2605, allocations: 258.4 kB / 439.1 MB, free: 15.98 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001832/0.2623, allocations: 1.045 MB / 440.2 MB, free: 14.84 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004052/0.2627, allocations: 142.5 kB / 440.3 MB, free: 14.7 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.2629, allocations: 68.73 kB / 440.4 MB, free: 14.62 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.2629, allocations: 4 kB / 440.4 MB, free: 14.62 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.263, allocations: 34.55 kB / 440.4 MB, free: 14.58 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=17): time 3.246e-06/0.263, allocations: 7.922 kB / 440.4 MB, free: 14.57 MB / 350.1 MB
Notification: Performance of matching and sorting (n=22): time 0.002309/0.2653, allocations: 0.5975 MB / 441 MB, free: 13.96 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.2653, allocations: 51.41 kB / 441.1 MB, free: 13.9 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/0.2657, allocations: 288.1 kB / 441.3 MB, free: 13.61 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.2657, allocations: 33.64 kB / 441.4 MB, free: 13.57 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.2659, allocations: 232.1 kB / 441.6 MB, free: 13.34 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.865e-05/0.2659, allocations: 83.36 kB / 441.7 MB, free: 13.26 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.266, allocations: 65.66 kB / 441.8 MB, free: 13.19 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001577/0.2662, allocations: 334.8 kB / 442.1 MB, free: 12.86 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.2665, allocations: 95.94 kB / 442.2 MB, free: 12.76 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/0.2669, allocations: 196 kB / 442.4 MB, free: 12.52 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006913/0.2676, allocations: 301.1 kB / 442.7 MB, free: 12.19 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.2676, allocations: 0 / 442.7 MB, free: 12.19 MB / 350.1 MB
Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009663/0.2686, allocations: 401.4 kB / 443 MB, free: 11.79 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.2686, allocations: 10.03 kB / 443.1 MB, free: 11.78 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.2686, allocations: 7.938 kB / 443.1 MB, free: 11.77 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002628/0.2689, allocations: 57.67 kB / 443.1 MB, free: 11.71 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003553/0.2692, allocations: 79.89 kB / 443.2 MB, free: 11.63 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002309/0.2715, allocations: 2.63 MB / 445.8 MB, free: 8.762 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/0.2718, allocations: 24.11 kB / 445.9 MB, free: 8.738 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.2719, allocations: 16 kB / 445.9 MB, free: 8.723 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.0001975/0.2721, allocations: 153.7 kB / 446 MB, free: 8.562 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.589e-05/0.2721, allocations: 31.8 kB / 446.1 MB, free: 8.531 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.65e-05/0.2722, allocations: 30.31 kB / 446.1 MB, free: 8.5 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2722, allocations: 4 kB / 446.1 MB, free: 8.496 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.2722, allocations: 3.984 kB / 446.1 MB, free: 8.492 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.2722, allocations: 4 kB / 446.1 MB, free: 8.488 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004103/0.2726, allocations: 312.5 kB / 446.4 MB, free: 8.141 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.2726, allocations: 0 / 446.4 MB, free: 8.141 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/0.2729, allocations: 39.91 kB / 446.4 MB, free: 8.102 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001774/0.273, allocations: 57.67 kB / 446.5 MB, free: 8.039 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.2731, allocations: 4 kB / 446.5 MB, free: 8.035 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002242/0.2753, allocations: 2.626 MB / 449.1 MB, free: 5.18 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2753, allocations: 0 / 449.1 MB, free: 5.18 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000785/0.2761, allocations: 384.8 kB / 449.5 MB, free: 4.781 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.177e-05/0.2761, allocations: 27.75 kB / 449.5 MB, free: 4.754 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.276e-05/0.2762, allocations: 7.938 kB / 449.5 MB, free: 4.746 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.2764, allocations: 15.97 kB / 449.5 MB, free: 4.73 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.2765, allocations: 19.97 kB / 449.6 MB, free: 4.711 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.2765, allocations: 8 kB / 449.6 MB, free: 4.703 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002219/0.2767, allocations: 199.1 kB / 449.8 MB, free: 4.512 MB / 350.1 MB
Notification: Performance of sort global known variables: time 6.1e-08/0.2767, allocations: 0 / 449.8 MB, free: 4.512 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004111/0.2771, allocations: 76 kB / 449.8 MB, free: 4.438 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.0001288/0.2772, allocations: 103.2 kB / 449.9 MB, free: 4.324 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001041/0.2783, allocations: 481.1 kB / 450.4 MB, free: 3.828 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2783, allocations: 0 / 450.4 MB, free: 3.828 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005618/0.2789, allocations: 338 kB / 450.7 MB, free: 3.473 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.2792, allocations: 28.03 kB / 450.8 MB, free: 3.445 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.2805, allocations: 0.5645 MB / 451.3 MB, free: 2.855 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005178/0.281, allocations: 0.7753 MB / 452.1 MB, free: 2.055 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001312/0.2811, allocations: 30.27 kB / 452.1 MB, free: 2.027 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.392e-05/0.2812, allocations: 19.44 kB / 452.2 MB, free: 2.008 MB / 350.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.2812, allocations: 0 / 452.2 MB, free: 2.008 MB / 350.1 MB
Notification: Performance of Templates: time 0.008011/0.2892, allocations: 3.03 MB / 455.2 MB, free: 15.02 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.536625931970775]