Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.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.001781/0.001781, allocations: 110.4 kB / 21.23 MB, free: 0.5312 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.002088/0.002088, allocations: 214.8 kB / 24.54 MB, free: 3.922 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.533/1.533, allocations: 230.6 MB / 258.2 MB, free: 8.035 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 76.7 kB / 379.1 MB, free: 2.625 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2468, allocations: 53.35 MB / 432.4 MB, free: 6.973 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.006044/0.2528, allocations: 4.391 MB / 436.8 MB, free: 2.566 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003052/0.2559, allocations: 1.748 MB / 438.5 MB, free: 0.8086 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001836/0.2561, allocations: 12 kB / 438.6 MB, free: 0.7969 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002368/0.2584, allocations: 1.023 MB / 439.6 MB, free: 15.77 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0006203/0.259, allocations: 262.1 kB / 439.8 MB, free: 15.52 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.2607, allocations: 0.7746 MB / 440.6 MB, free: 14.74 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0006912/0.2614, allocations: 0.6338 MB / 441.2 MB, free: 14.1 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006704/0.262, allocations: 399.5 kB / 441.6 MB, free: 13.71 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003809/0.2624, allocations: 282.9 kB / 441.9 MB, free: 13.43 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004453/0.2628, allocations: 354.5 kB / 442.3 MB, free: 13.08 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 7.828e-05/0.2629, allocations: 56 kB / 442.3 MB, free: 13.03 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005437/0.2635, allocations: 295.7 kB / 442.6 MB, free: 12.74 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001789/0.2636, allocations: 139.5 kB / 442.7 MB, free: 12.6 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003068/0.264, allocations: 322.3 kB / 443.1 MB, free: 12.29 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001155/0.2651, allocations: 0.9843 MB / 444 MB, free: 11.3 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2651, allocations: 4 kB / 444 MB, free: 11.3 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.212e-06/0.2651, allocations: 0 / 444 MB, free: 11.3 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 9.428e-06/0.2651, allocations: 0 / 444 MB, free: 11.3 MB / 350.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.003636/0.2688, allocations: 1.207 MB / 445.3 MB, free: 10.06 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2688, allocations: 12.03 kB / 445.3 MB, free: 10.05 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/0.2702, allocations: 200.4 kB / 445.5 MB, free: 9.852 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.2704, allocations: 189.6 kB / 445.6 MB, free: 9.641 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.877e-05/0.2705, allocations: 58.38 kB / 445.7 MB, free: 9.582 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/0.2706, allocations: 72.38 kB / 445.8 MB, free: 9.512 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.272, allocations: 0.7702 MB / 446.5 MB, free: 8.727 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.184e-05/0.272, allocations: 4 kB / 446.5 MB, free: 8.723 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.644e-05/0.2721, allocations: 32 kB / 446.6 MB, free: 8.691 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.995e-05/0.2721, allocations: 20 kB / 446.6 MB, free: 8.672 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.2735, allocations: 0.6649 MB / 447.3 MB, free: 8.008 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004324/0.2778, allocations: 2.872 MB / 450.1 MB, free: 4.926 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0019/0.2797, allocations: 0.8361 MB / 451 MB, free: 4.082 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007268/0.2804, allocations: 287.5 kB / 451.2 MB, free: 3.797 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001059/0.2806, allocations: 36.61 kB / 451.3 MB, free: 3.762 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.2806, allocations: 39.22 kB / 451.3 MB, free: 3.715 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=72): time 2.415e-06/0.2806, allocations: 0 / 451.3 MB, free: 3.715 MB / 350.1 MB
Notification: Performance of matching and sorting (n=72): time 0.00258/0.2832, allocations: 0.9913 MB / 452.3 MB, free: 2.711 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.889e-05/0.2833, allocations: 111.5 kB / 452.4 MB, free: 2.578 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000322/0.2836, allocations: 277.8 kB / 452.7 MB, free: 2.301 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.63e-05/0.2836, allocations: 33.7 kB / 452.7 MB, free: 2.262 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002194/0.2838, allocations: 300.4 kB / 453 MB, free: 1.961 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.2841, allocations: 257.8 kB / 453.3 MB, free: 1.707 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.2843, allocations: 138.6 kB / 453.4 MB, free: 1.562 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001991/0.2845, allocations: 358.7 kB / 453.8 MB, free: 1.203 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006223/0.2851, allocations: 229.9 kB / 454 MB, free: 0.9805 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007733/0.2859, allocations: 386.2 kB / 454.4 MB, free: 0.5508 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.2872, allocations: 0.6337 MB / 455 MB, free: 15.86 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2872, allocations: 4 kB / 455 MB, free: 15.86 MB / 366.1 MB
Notification: Performance of matching and sorting (n=100) (initialization): time 0.001639/0.2888, allocations: 0.8307 MB / 455.8 MB, free: 15.02 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.2888, allocations: 8 kB / 455.8 MB, free: 15.01 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.2888, allocations: 4 kB / 455.8 MB, free: 15 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004058/0.2892, allocations: 121.7 kB / 456 MB, free: 14.88 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000658/0.2899, allocations: 159.7 kB / 456.1 MB, free: 14.72 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003962/0.2939, allocations: 3.59 MB / 459.7 MB, free: 10.91 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005732/0.2944, allocations: 91.38 kB / 459.8 MB, free: 10.82 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/0.2945, allocations: 31.98 kB / 459.8 MB, free: 10.79 MB / 366.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.0003213/0.2948, allocations: 193.7 kB / 460 MB, free: 10.59 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.2949, allocations: 43.72 kB / 460.1 MB, free: 10.54 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.2967, allocations: 0.7375 MB / 460.8 MB, free: 9.789 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.2967, allocations: 12 kB / 460.8 MB, free: 9.777 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2967, allocations: 4 kB / 460.8 MB, free: 9.773 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.2967, allocations: 3.984 kB / 460.8 MB, free: 9.77 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/0.2994, allocations: 1.468 MB / 462.3 MB, free: 8.25 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2994, allocations: 4.047 kB / 462.3 MB, free: 8.246 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005249/0.2999, allocations: 115.8 kB / 462.4 MB, free: 8.133 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003188/0.3002, allocations: 110.1 kB / 462.5 MB, free: 8.02 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.3003, allocations: 19.94 kB / 462.5 MB, free: 8 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003177/0.3035, allocations: 3.142 MB / 465.7 MB, free: 4.629 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3035, allocations: 0 / 465.7 MB, free: 4.629 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002032/0.3055, allocations: 1.121 MB / 466.8 MB, free: 3.48 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.058e-05/0.3056, allocations: 55.72 kB / 466.8 MB, free: 3.426 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.3057, allocations: 15.95 kB / 466.9 MB, free: 3.41 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.3061, allocations: 27.98 kB / 466.9 MB, free: 3.383 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.3062, allocations: 56.48 kB / 466.9 MB, free: 3.328 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/0.3063, allocations: 23.98 kB / 467 MB, free: 3.305 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0002127/0.3065, allocations: 193.2 kB / 467.2 MB, free: 3.113 MB / 366.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3065, allocations: 0 / 467.2 MB, free: 3.113 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0008313/0.3073, allocations: 215.6 kB / 467.4 MB, free: 2.902 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.0003008/0.3076, allocations: 159.1 kB / 467.5 MB, free: 2.738 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001681/0.3093, allocations: 0.8483 MB / 468.4 MB, free: 1.871 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3093, allocations: 0 / 468.4 MB, free: 1.871 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0008561/0.3101, allocations: 0.5407 MB / 468.9 MB, free: 1.305 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000501/0.3106, allocations: 40.44 kB / 468.9 MB, free: 1.266 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.3129, allocations: 1.094 MB / 470 MB, free: 144 kB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005578/0.3134, allocations: 0.8616 MB / 470.9 MB, free: 15.25 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0003005/0.3137, allocations: 80.34 kB / 471 MB, free: 15.17 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001817/0.3139, allocations: 47.42 kB / 471 MB, free: 15.12 MB / 382.1 MB
Notification: Performance of SimCode: time 7.62e-07/0.3139, allocations: 0 / 471 MB, free: 15.12 MB / 382.1 MB
Notification: Performance of Templates: time 0.01442/0.3283, allocations: 6.823 MB / 477.9 MB, free: 8.34 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.710086340084672]