Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.001834/0.001834, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.002097/0.002097, allocations: 189 kB / 23.72 MB, free: 4.68 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.545/1.545, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections")
translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002494/0.002494, allocations: 51.91 kB / 370.9 MB, free: 9.352 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2373, allocations: 52.19 MB / 423.1 MB, free: 14.68 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005733/0.2431, allocations: 4.222 MB / 427.4 MB, free: 10.44 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002701/0.2458, allocations: 1.65 MB / 429 MB, free: 8.781 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.246, allocations: 8 kB / 429 MB, free: 8.773 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002364/0.2483, allocations: 1.038 MB / 430 MB, free: 7.734 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005446/0.2489, allocations: 230.3 kB / 430.3 MB, free: 7.508 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.2505, allocations: 0.7935 MB / 431.1 MB, free: 6.715 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0006873/0.2512, allocations: 0.63 MB / 431.7 MB, free: 6.082 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000634/0.2518, allocations: 377.3 kB / 432.1 MB, free: 5.711 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000361/0.2522, allocations: 271.1 kB / 432.3 MB, free: 5.445 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004267/0.2526, allocations: 346.6 kB / 432.7 MB, free: 5.105 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.071e-05/0.2527, allocations: 59.94 kB / 432.7 MB, free: 5.047 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005283/0.2532, allocations: 263.8 kB / 433 MB, free: 4.789 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.2534, allocations: 131.5 kB / 433.1 MB, free: 4.66 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002919/0.2537, allocations: 314.5 kB / 433.4 MB, free: 4.352 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001099/0.2548, allocations: 0.9181 MB / 434.3 MB, free: 3.434 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2548, allocations: 0 / 434.3 MB, free: 3.434 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.162e-06/0.2548, allocations: 0 / 434.3 MB, free: 3.434 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.418e-05/0.2548, allocations: 0 / 434.3 MB, free: 3.434 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: 170
 * Number of variables: 170
Notification: Performance of Generate backend data structure: time 0.003701/0.2585, allocations: 1.153 MB / 435.5 MB, free: 2.246 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2585, allocations: 12.03 kB / 435.5 MB, free: 2.234 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001173/0.2597, allocations: 180.4 kB / 435.7 MB, free: 2.059 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.2599, allocations: 174.5 kB / 435.8 MB, free: 1.859 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.783e-05/0.26, allocations: 54.38 kB / 435.9 MB, free: 1.809 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.2601, allocations: 64.38 kB / 436 MB, free: 1.746 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.2615, allocations: 0.7116 MB / 436.7 MB, free: 1.016 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.146e-05/0.2616, allocations: 0 / 436.7 MB, free: 1.016 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001062/0.2617, allocations: 24 kB / 436.7 MB, free: 0.9922 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.834e-05/0.2617, allocations: 20 kB / 436.7 MB, free: 0.9727 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.263, allocations: 0.5986 MB / 437.3 MB, free: 380 kB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/0.2667, allocations: 2.236 MB / 439.6 MB, free: 14.01 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.2681, allocations: 0.6733 MB / 440.2 MB, free: 13.33 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005407/0.2687, allocations: 241.5 kB / 440.5 MB, free: 13.09 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 9.697e-05/0.2688, allocations: 20.62 kB / 440.5 MB, free: 13.07 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.2688, allocations: 47.22 kB / 440.5 MB, free: 13.02 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=66): time 2.044e-06/0.2688, allocations: 0 / 440.5 MB, free: 13.02 MB / 350.1 MB
Notification: Performance of matching and sorting (n=66): time 0.001713/0.2705, allocations: 0.7084 MB / 441.2 MB, free: 12.31 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/0.2706, allocations: 111.5 kB / 441.3 MB, free: 12.18 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.2709, allocations: 265 kB / 441.6 MB, free: 11.91 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.492e-05/0.271, allocations: 37.7 kB / 441.6 MB, free: 11.86 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.2712, allocations: 268.7 kB / 441.9 MB, free: 11.6 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001952/0.2713, allocations: 229.9 kB / 442.1 MB, free: 11.37 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.2716, allocations: 122.6 kB / 442.2 MB, free: 11.24 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001632/0.2717, allocations: 346.8 kB / 442.6 MB, free: 10.89 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005221/0.2722, allocations: 209.9 kB / 442.8 MB, free: 10.69 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005985/0.2728, allocations: 305.3 kB / 443.1 MB, free: 10.37 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.274, allocations: 0.5185 MB / 443.6 MB, free: 9.824 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.175e-06/0.274, allocations: 0 / 443.6 MB, free: 9.824 MB / 350.1 MB
Notification: Performance of matching and sorting (n=84) (initialization): time 0.001342/0.2753, allocations: 0.6259 MB / 444.2 MB, free: 9.191 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.2753, allocations: 4 kB / 444.2 MB, free: 9.188 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.2753, allocations: 11.88 kB / 444.3 MB, free: 9.176 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2753, allocations: 4 kB / 444.3 MB, free: 9.172 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007548/0.2761, allocations: 164 kB / 444.4 MB, free: 9.012 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.2761, allocations: 4 kB / 444.4 MB, free: 9.008 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000514/0.2766, allocations: 67.61 kB / 444.5 MB, free: 8.941 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/0.2767, allocations: 27.97 kB / 444.5 MB, free: 8.914 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 7
 * 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 (84):
 * Single equations (assignments): 84
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0002522/0.2769, allocations: 197.6 kB / 444.7 MB, free: 8.711 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.277, allocations: 35.77 kB / 444.7 MB, free: 8.676 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.2784, allocations: 0.6068 MB / 445.3 MB, free: 8.062 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.2784, allocations: 8 kB / 445.4 MB, free: 8.055 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2784, allocations: 4 kB / 445.4 MB, free: 8.051 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.2784, allocations: 3.984 kB / 445.4 MB, free: 8.047 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002276/0.2807, allocations: 1.26 MB / 446.6 MB, free: 6.734 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.2807, allocations: 0 / 446.6 MB, free: 6.734 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006005/0.2813, allocations: 127.8 kB / 446.7 MB, free: 6.609 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.2813, allocations: 8 kB / 446.8 MB, free: 6.602 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.383e-05/0.2814, allocations: 23.98 kB / 446.8 MB, free: 6.578 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.2814, allocations: 7.938 kB / 446.8 MB, free: 6.57 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2814, allocations: 0 / 446.8 MB, free: 6.57 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.2832, allocations: 0.9745 MB / 447.8 MB, free: 5.578 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.524e-05/0.2833, allocations: 47.66 kB / 447.8 MB, free: 5.531 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.2833, allocations: 12 kB / 447.8 MB, free: 5.52 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004252/0.2838, allocations: 39.84 kB / 447.9 MB, free: 5.48 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.2839, allocations: 44.58 kB / 447.9 MB, free: 5.438 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.433e-05/0.2839, allocations: 16 kB / 447.9 MB, free: 5.422 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002164/0.2841, allocations: 200.5 kB / 448.1 MB, free: 5.227 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.2841, allocations: 0 / 448.1 MB, free: 5.227 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0005673/0.2847, allocations: 175.6 kB / 448.3 MB, free: 5.055 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 1 (source.port_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 (66):
 * Single equations (assignments): 66
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002302/0.2849, allocations: 147.1 kB / 448.4 MB, free: 4.898 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.001197/0.2861, allocations: 0.5016 MB / 448.9 MB, free: 4.395 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2861, allocations: 4.062 kB / 448.9 MB, free: 4.391 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005495/0.2867, allocations: 251.6 kB / 449.2 MB, free: 4.148 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005089/0.2872, allocations: 52.3 kB / 449.2 MB, free: 4.098 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.2893, allocations: 1.093 MB / 450.3 MB, free: 2.973 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/0.2898, allocations: 0.846 MB / 451.2 MB, free: 2.102 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0003665/0.2902, allocations: 79.39 kB / 451.2 MB, free: 2.023 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.2903, allocations: 51.42 kB / 451.3 MB, free: 1.973 MB / 350.1 MB
Notification: Performance of SimCode: time 7.32e-07/0.2903, allocations: 0 / 451.3 MB, free: 1.973 MB / 350.1 MB
Notification: Performance of Templates: time 0.01169/0.302, allocations: 5.588 MB / 456.9 MB, free: 12.43 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.660081768408418]