Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.001835/0.001835, allocations: 108 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.002167/0.002167, allocations: 185.7 kB / 23.71 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.414/1.414, allocations: 225.6 MB / 252.5 MB, free: 13.05 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.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections")
translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 51.92 kB / 370.9 MB, free: 9.367 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2402, allocations: 52.18 MB / 423.1 MB, free: 14.7 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.005986/0.2462, allocations: 4.378 MB / 427.5 MB, free: 10.3 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002921/0.2491, allocations: 1.674 MB / 429.2 MB, free: 8.617 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.2493, allocations: 12 kB / 429.2 MB, free: 8.605 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002378/0.2517, allocations: 1.023 MB / 430.2 MB, free: 7.578 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0007079/0.2524, allocations: 250.2 kB / 430.5 MB, free: 7.332 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.2542, allocations: 0.8125 MB / 431.3 MB, free: 6.52 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000921/0.2551, allocations: 0.6375 MB / 431.9 MB, free: 5.879 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000756/0.2559, allocations: 399.5 kB / 432.3 MB, free: 5.484 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004259/0.2563, allocations: 283 kB / 432.6 MB, free: 5.207 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004561/0.2568, allocations: 358.6 kB / 432.9 MB, free: 4.855 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.48e-05/0.2569, allocations: 59.94 kB / 433 MB, free: 4.797 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006363/0.2575, allocations: 263.8 kB / 433.2 MB, free: 4.539 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001417/0.2576, allocations: 147.5 kB / 433.4 MB, free: 4.395 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003539/0.258, allocations: 334.3 kB / 433.7 MB, free: 4.066 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001232/0.2592, allocations: 0.957 MB / 434.7 MB, free: 3.109 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2592, allocations: 0 / 434.7 MB, free: 3.109 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.392e-06/0.2592, allocations: 0 / 434.7 MB, free: 3.109 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.604e-05/0.2593, allocations: 0 / 434.7 MB, free: 3.109 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: 188
 * Number of variables: 188
Notification: Performance of Generate backend data structure: time 0.003797/0.2631, allocations: 1.203 MB / 435.9 MB, free: 1.875 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.2631, allocations: 8.031 kB / 435.9 MB, free: 1.867 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/0.2645, allocations: 208.3 kB / 436.1 MB, free: 1.664 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.2647, allocations: 177.8 kB / 436.3 MB, free: 1.465 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.956e-05/0.2647, allocations: 58.38 kB / 436.3 MB, free: 1.406 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.2649, allocations: 76.33 kB / 436.4 MB, free: 1.332 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.2664, allocations: 0.7779 MB / 437.2 MB, free: 0.5391 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.2664, allocations: 3.938 kB / 437.2 MB, free: 0.5352 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.403e-05/0.2665, allocations: 32 kB / 437.2 MB, free: 0.5039 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.2665, allocations: 16 kB / 437.2 MB, free: 500 kB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.268, allocations: 0.6649 MB / 437.9 MB, free: 15.82 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004501/0.2725, allocations: 2.861 MB / 440.7 MB, free: 12.75 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001992/0.2745, allocations: 0.8124 MB / 441.6 MB, free: 11.93 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006796/0.2752, allocations: 295.5 kB / 441.8 MB, free: 11.64 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.153e-05/0.2753, allocations: 24.62 kB / 441.9 MB, free: 11.61 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/0.2753, allocations: 39.22 kB / 441.9 MB, free: 11.57 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=72): time 2.645e-06/0.2753, allocations: 0 / 441.9 MB, free: 11.57 MB / 350.1 MB
Notification: Performance of matching and sorting (n=72): time 0.002739/0.2781, allocations: 0.9794 MB / 442.9 MB, free: 10.58 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.593e-05/0.2781, allocations: 115.5 kB / 443 MB, free: 10.44 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.2785, allocations: 269.8 kB / 443.3 MB, free: 10.17 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.166e-05/0.2785, allocations: 41.7 kB / 443.3 MB, free: 10.12 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002202/0.2787, allocations: 304.3 kB / 443.6 MB, free: 9.816 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002243/0.279, allocations: 257.8 kB / 443.9 MB, free: 9.562 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.2792, allocations: 142.6 kB / 444 MB, free: 9.414 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001789/0.2793, allocations: 350.7 kB / 444.3 MB, free: 9.062 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005443/0.2799, allocations: 229.9 kB / 444.6 MB, free: 8.84 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006872/0.2806, allocations: 390.2 kB / 444.9 MB, free: 8.402 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/0.2819, allocations: 0.6337 MB / 445.6 MB, free: 7.715 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2819, allocations: 0 / 445.6 MB, free: 7.715 MB / 350.1 MB
Notification: Performance of matching and sorting (n=100) (initialization): time 0.001736/0.2836, allocations: 0.8229 MB / 446.4 MB, free: 6.883 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.2836, allocations: 11.98 kB / 446.4 MB, free: 6.871 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/0.2836, allocations: 4 kB / 446.4 MB, free: 6.867 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004212/0.2841, allocations: 125.8 kB / 446.5 MB, free: 6.738 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000695/0.2847, allocations: 155.8 kB / 446.7 MB, free: 6.586 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003729/0.2885, allocations: 3.583 MB / 450.3 MB, free: 2.777 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005983/0.2891, allocations: 95.38 kB / 450.4 MB, free: 2.684 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-05/0.2891, allocations: 28 kB / 450.4 MB, free: 2.656 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 17
 * 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 (86):
 * 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: 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,7,100.0%), (1,7,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0003134/0.2894, allocations: 209.7 kB / 450.6 MB, free: 2.441 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.2896, allocations: 39.75 kB / 450.6 MB, free: 2.402 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00171/0.2913, allocations: 0.7336 MB / 451.4 MB, free: 1.652 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.2913, allocations: 11.94 kB / 451.4 MB, free: 1.641 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.2913, allocations: 4 kB / 451.4 MB, free: 1.637 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.2913, allocations: 11.97 kB / 451.4 MB, free: 1.625 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002744/0.294, allocations: 1.457 MB / 452.9 MB, free: 116 kB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.294, allocations: 4 kB / 452.9 MB, free: 112 kB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005475/0.2946, allocations: 115.9 kB / 453 MB, free: 15.99 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003112/0.2949, allocations: 105.6 kB / 453.1 MB, free: 15.89 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/0.2949, allocations: 15.98 kB / 453.1 MB, free: 15.87 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003083/0.298, allocations: 3.15 MB / 456.2 MB, free: 12.49 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.298, allocations: 0 / 456.2 MB, free: 12.49 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002145/0.3002, allocations: 1.121 MB / 457.4 MB, free: 11.35 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.622e-05/0.3003, allocations: 51.61 kB / 457.4 MB, free: 11.3 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.3003, allocations: 15.94 kB / 457.4 MB, free: 11.28 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/0.3008, allocations: 36.03 kB / 457.5 MB, free: 11.25 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.3009, allocations: 52.56 kB / 457.5 MB, free: 11.2 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.065e-05/0.3009, allocations: 19.98 kB / 457.5 MB, free: 11.18 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0002175/0.3011, allocations: 193.2 kB / 457.7 MB, free: 10.99 MB / 366.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3011, allocations: 0 / 457.7 MB, free: 10.99 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.000811/0.3019, allocations: 215.6 kB / 457.9 MB, free: 10.78 MB / 366.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 (60):
 * Single equations (assignments): 58
 * 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,6,100.0%), (1,6,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002715/0.3022, allocations: 155.1 kB / 458.1 MB, free: 10.62 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.00174/0.304, allocations: 0.8446 MB / 458.9 MB, free: 9.746 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.304, allocations: 0 / 458.9 MB, free: 9.746 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0009176/0.3049, allocations: 0.5329 MB / 459.5 MB, free: 9.191 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.3054, allocations: 40.44 kB / 459.5 MB, free: 9.152 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.3076, allocations: 1.121 MB / 460.6 MB, free: 8 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.3081, allocations: 0.8655 MB / 461.5 MB, free: 7.105 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0003582/0.3085, allocations: 88.28 kB / 461.6 MB, free: 7.02 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.3086, allocations: 47.42 kB / 461.6 MB, free: 6.973 MB / 366.1 MB
Notification: Performance of SimCode: time 8.61e-07/0.3086, allocations: 0 / 461.6 MB, free: 6.973 MB / 366.1 MB
Notification: Performance of Templates: time 0.01411/0.3227, allocations: 6.715 MB / 468.3 MB, free: 284 kB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.652454628609121]