Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.00168/0.00168, allocations: 105.5 kB / 20.43 MB, free: 1.473 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.002253/0.002253, allocations: 188.3 kB / 23.72 MB, free: 4.711 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.426/1.426, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection")
translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 51.92 kB / 370.9 MB, free: 9.352 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2275, allocations: 52.19 MB / 423.1 MB, free: 14.7 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.007286/0.2348, allocations: 5.137 MB / 428.3 MB, free: 9.543 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004332/0.2391, allocations: 2.113 MB / 430.4 MB, free: 7.422 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003015/0.2394, allocations: 20 kB / 430.4 MB, free: 7.402 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.00358/0.243, allocations: 1.416 MB / 431.8 MB, free: 5.98 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001332/0.2443, allocations: 0.5787 MB / 432.4 MB, free: 5.398 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002326/0.2466, allocations: 1.068 MB / 433.5 MB, free: 4.332 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0008634/0.2475, allocations: 0.7511 MB / 434.2 MB, free: 3.578 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0008322/0.2483, allocations: 0.511 MB / 434.7 MB, free: 3.062 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004549/0.2488, allocations: 338.8 kB / 435.1 MB, free: 2.73 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005015/0.2493, allocations: 434.3 kB / 435.5 MB, free: 2.305 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.2494, allocations: 68 kB / 435.6 MB, free: 2.238 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007338/0.2501, allocations: 391.6 kB / 435.9 MB, free: 1.855 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000156/0.2503, allocations: 171.4 kB / 436.1 MB, free: 1.688 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0004065/0.2507, allocations: 386.1 kB / 436.5 MB, free: 1.309 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001465/0.2521, allocations: 1.202 MB / 437.7 MB, free: 108 kB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.2521, allocations: 4 kB / 437.7 MB, free: 104 kB / 334.1 MB
Notification: Performance of FrontEnd: time 1.022e-06/0.2521, allocations: 0 / 437.7 MB, free: 104 kB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.026e-05/0.2522, allocations: 0 / 437.7 MB, free: 104 kB / 334.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 212
 * Number of variables: 212
Notification: Performance of Generate backend data structure: time 0.004631/0.2568, allocations: 1.398 MB / 439.1 MB, free: 14.66 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.2568, allocations: 8.031 kB / 439.1 MB, free: 14.66 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002697/0.2595, allocations: 384.1 kB / 439.5 MB, free: 14.28 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002753/0.2598, allocations: 205.5 kB / 439.7 MB, free: 14.05 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.87e-05/0.2599, allocations: 66.31 kB / 439.7 MB, free: 13.99 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.26, allocations: 80.38 kB / 439.8 MB, free: 13.91 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.2618, allocations: 0.8874 MB / 440.7 MB, free: 13.01 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.2618, allocations: 0 / 440.7 MB, free: 13.01 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.792e-05/0.2619, allocations: 39.98 kB / 440.7 MB, free: 12.97 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.262, allocations: 20 kB / 440.8 MB, free: 12.95 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/0.264, allocations: 0.8003 MB / 441.6 MB, free: 12.16 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004877/0.2689, allocations: 2.767 MB / 444.3 MB, free: 9.219 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.27, allocations: 0.5079 MB / 444.8 MB, free: 8.703 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005603/0.2706, allocations: 218.2 kB / 445 MB, free: 8.488 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 7.407e-05/0.2707, allocations: 24.47 kB / 445.1 MB, free: 8.465 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.2707, allocations: 39.06 kB / 445.1 MB, free: 8.418 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=58): time 1.934e-06/0.2707, allocations: 4 kB / 445.1 MB, free: 8.414 MB / 350.1 MB
Notification: Performance of matching and sorting (n=61): time 0.008699/0.2794, allocations: 2.194 MB / 447.3 MB, free: 6.176 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.829e-05/0.2795, allocations: 89.61 kB / 447.4 MB, free: 6.07 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003907/0.2798, allocations: 316.5 kB / 447.7 MB, free: 5.758 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.2799, allocations: 33.7 kB / 447.7 MB, free: 5.719 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.2802, allocations: 383.8 kB / 448.1 MB, free: 5.336 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.2804, allocations: 218.1 kB / 448.3 MB, free: 5.121 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.2806, allocations: 150.6 kB / 448.5 MB, free: 4.969 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001838/0.2808, allocations: 358.7 kB / 448.8 MB, free: 4.609 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000903/0.2817, allocations: 273.8 kB / 449.1 MB, free: 4.344 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.2829, allocations: 0.5043 MB / 449.6 MB, free: 3.73 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/0.2851, allocations: 0.8088 MB / 450.4 MB, free: 2.824 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/0.2851, allocations: 8 kB / 450.4 MB, free: 2.816 MB / 350.1 MB
Notification: Performance of matching and sorting (n=99) (initialization): time 0.002511/0.2876, allocations: 0.9127 MB / 451.3 MB, free: 1.891 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/0.2876, allocations: 11.94 kB / 451.3 MB, free: 1.879 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.2876, allocations: 4 kB / 451.3 MB, free: 1.875 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003025/0.2879, allocations: 73.77 kB / 451.4 MB, free: 1.797 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009765/0.2889, allocations: 203.7 kB / 451.6 MB, free: 1.598 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/0.2918, allocations: 2.662 MB / 454.3 MB, free: 14.7 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007616/0.2925, allocations: 68.02 kB / 454.3 MB, free: 14.64 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/0.2926, allocations: 35.98 kB / 454.4 MB, free: 14.6 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 33
 * 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 (95):
 * Single equations (assignments): 93
 * 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.0003351/0.293, allocations: 219.1 kB / 454.6 MB, free: 14.38 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.2931, allocations: 47.66 kB / 454.6 MB, free: 14.33 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002287/0.2953, allocations: 0.7376 MB / 455.4 MB, free: 13.59 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.2954, allocations: 8 kB / 455.4 MB, free: 13.58 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2954, allocations: 0 / 455.4 MB, free: 13.58 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.2954, allocations: 7.922 kB / 455.4 MB, free: 13.57 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/0.2985, allocations: 1.399 MB / 456.8 MB, free: 12.11 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.2985, allocations: 0 / 456.8 MB, free: 12.11 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007365/0.2993, allocations: 135.8 kB / 456.9 MB, free: 11.98 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.000199/0.2995, allocations: 61.67 kB / 457 MB, free: 11.91 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.928e-05/0.2995, allocations: 19.98 kB / 457 MB, free: 11.89 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002302/0.3018, allocations: 2.641 MB / 459.6 MB, free: 9.023 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3018, allocations: 4.031 kB / 459.6 MB, free: 9.02 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002998/0.3048, allocations: 1.085 MB / 460.7 MB, free: 7.914 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002602/0.3051, allocations: 91.86 kB / 460.8 MB, free: 7.824 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.027e-05/0.3052, allocations: 8 kB / 460.8 MB, free: 7.816 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005832/0.3057, allocations: 56 kB / 460.9 MB, free: 7.762 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.3059, allocations: 56.33 kB / 460.9 MB, free: 7.707 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.272e-05/0.3059, allocations: 19.98 kB / 461 MB, free: 7.688 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0002653/0.3062, allocations: 223.1 kB / 461.2 MB, free: 7.465 MB / 366.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3062, allocations: 0 / 461.2 MB, free: 7.465 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0007357/0.3069, allocations: 172 kB / 461.3 MB, free: 7.297 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 1 (currentSource.pin_p.reference.gamma)
 * 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 (58):
 * Single equations (assignments): 56
 * 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.0003227/0.3072, allocations: 167 kB / 461.5 MB, free: 7.121 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.002385/0.3096, allocations: 0.8837 MB / 462.4 MB, free: 6.219 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3096, allocations: 0 / 462.4 MB, free: 6.219 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001219/0.3108, allocations: 0.5323 MB / 462.9 MB, free: 5.656 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.3113, allocations: 48.95 kB / 463 MB, free: 5.605 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003075/0.3144, allocations: 1.262 MB / 464.2 MB, free: 4.316 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006058/0.315, allocations: 0.8848 MB / 465.1 MB, free: 3.402 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0004185/0.3154, allocations: 92.52 kB / 465.2 MB, free: 3.309 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/0.3156, allocations: 51.41 kB / 465.3 MB, free: 3.258 MB / 366.1 MB
Notification: Performance of SimCode: time 8.62e-07/0.3156, allocations: 4 kB / 465.3 MB, free: 3.254 MB / 366.1 MB
Notification: Performance of Templates: time 0.016/0.3316, allocations: 6.955 MB / 472.2 MB, free: 12.35 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.623425547033548]