Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001665/0.001665, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002075/0.002075, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.449/1.449, allocations: 230.3 MB / 258 MB, free: 8.25 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.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 63.89 kB / 378.8 MB, free: 2.785 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2335/0.2354, allocations: 53.36 MB / 432.1 MB, free: 7.09 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections): time 0.00604/0.2414, allocations: 4.382 MB / 436.5 MB, free: 2.695 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003117/0.2445, allocations: 1.751 MB / 438.3 MB, free: 0.9336 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.2447, allocations: 16 kB / 438.3 MB, free: 0.918 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002451/0.2472, allocations: 1.027 MB / 439.3 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0006118/0.2478, allocations: 250.2 kB / 439.5 MB, free: 15.64 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.2494, allocations: 0.7704 MB / 440.3 MB, free: 14.87 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0006945/0.2501, allocations: 0.6377 MB / 441 MB, free: 14.23 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006995/0.2508, allocations: 409.6 kB / 441.4 MB, free: 13.83 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003927/0.2512, allocations: 278.9 kB / 441.6 MB, free: 13.55 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004313/0.2516, allocations: 354.5 kB / 442 MB, free: 13.21 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.845e-05/0.2517, allocations: 56 kB / 442 MB, free: 13.15 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005781/0.2523, allocations: 291.7 kB / 442.3 MB, free: 12.87 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001238/0.2524, allocations: 143.5 kB / 442.5 MB, free: 12.73 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003082/0.2527, allocations: 330.3 kB / 442.8 MB, free: 12.4 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001206/0.2539, allocations: 0.9709 MB / 443.7 MB, free: 11.43 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.2539, allocations: 0 / 443.7 MB, free: 11.43 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.453e-06/0.2539, allocations: 0 / 443.7 MB, free: 11.43 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.024e-05/0.2539, allocations: 0 / 443.7 MB, free: 11.43 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.003891/0.2578, allocations: 1.219 MB / 445 MB, free: 10.18 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.2579, allocations: 8.031 kB / 445 MB, free: 10.17 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.2593, allocations: 196.4 kB / 445.2 MB, free: 9.98 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.2595, allocations: 196.6 kB / 445.4 MB, free: 9.766 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/0.2595, allocations: 58.38 kB / 445.4 MB, free: 9.707 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.2597, allocations: 76.38 kB / 445.5 MB, free: 9.633 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/0.2611, allocations: 0.7663 MB / 446.3 MB, free: 8.852 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.38e-05/0.2611, allocations: 0 / 446.3 MB, free: 8.852 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-05/0.2612, allocations: 32 kB / 446.3 MB, free: 8.82 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.2612, allocations: 16 kB / 446.3 MB, free: 8.805 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001402/0.2626, allocations: 0.6766 MB / 447 MB, free: 8.125 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004344/0.267, allocations: 2.876 MB / 449.9 MB, free: 5.039 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001942/0.2689, allocations: 0.825 MB / 450.7 MB, free: 4.207 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0006454/0.2696, allocations: 295.4 kB / 451 MB, free: 3.914 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.2697, allocations: 28.62 kB / 451 MB, free: 3.887 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.2697, allocations: 55.64 kB / 451.1 MB, free: 3.824 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=72): time 3.477e-06/0.2697, allocations: 0 / 451.1 MB, free: 3.824 MB / 350.1 MB
Notification: Performance of matching and sorting (n=72): time 0.0027/0.2724, allocations: 0.9754 MB / 452 MB, free: 2.836 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/0.2725, allocations: 115.5 kB / 452.1 MB, free: 2.699 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003215/0.2728, allocations: 285.7 kB / 452.4 MB, free: 2.414 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.2728, allocations: 33.7 kB / 452.5 MB, free: 2.375 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.273, allocations: 300.4 kB / 452.7 MB, free: 2.074 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.2733, allocations: 257.8 kB / 453 MB, free: 1.82 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002169/0.2735, allocations: 134.6 kB / 453.1 MB, free: 1.68 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001624/0.2736, allocations: 354.7 kB / 453.5 MB, free: 1.324 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/0.2742, allocations: 233.9 kB / 453.7 MB, free: 1.098 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006494/0.2748, allocations: 386.3 kB / 454.1 MB, free: 0.668 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.276, allocations: 0.6338 MB / 454.7 MB, free: 15.98 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.276, allocations: 0 / 454.7 MB, free: 15.98 MB / 366.1 MB
Notification: Performance of matching and sorting (n=100) (initialization): time 0.001663/0.2777, allocations: 0.8346 MB / 455.5 MB, free: 15.13 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.2777, allocations: 8 kB / 455.6 MB, free: 15.12 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.2777, allocations: 4 kB / 455.6 MB, free: 15.12 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0004272/0.2781, allocations: 129.7 kB / 455.7 MB, free: 14.98 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006444/0.2788, allocations: 155.8 kB / 455.8 MB, free: 14.83 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003587/0.2824, allocations: 3.587 MB / 459.4 MB, free: 11.02 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005276/0.2829, allocations: 95.44 kB / 459.5 MB, free: 10.93 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.729e-05/0.283, allocations: 35.94 kB / 459.6 MB, free: 10.89 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.0002793/0.2832, allocations: 189.7 kB / 459.7 MB, free: 10.7 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.2833, allocations: 43.72 kB / 459.8 MB, free: 10.65 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001631/0.285, allocations: 0.7413 MB / 460.5 MB, free: 9.895 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.285, allocations: 8 kB / 460.5 MB, free: 9.887 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.285, allocations: 4 kB / 460.5 MB, free: 9.883 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.285, allocations: 3.984 kB / 460.5 MB, free: 9.879 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/0.2877, allocations: 1.464 MB / 462 MB, free: 8.363 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2877, allocations: 4 kB / 462 MB, free: 8.359 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005188/0.2882, allocations: 111.9 kB / 462.1 MB, free: 8.25 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0003073/0.2885, allocations: 105.6 kB / 462.2 MB, free: 8.141 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/0.2885, allocations: 23.98 kB / 462.2 MB, free: 8.117 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003158/0.2917, allocations: 3.142 MB / 465.4 MB, free: 4.746 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2917, allocations: 0 / 465.4 MB, free: 4.746 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.2938, allocations: 1.125 MB / 466.5 MB, free: 3.594 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.64e-05/0.2939, allocations: 47.61 kB / 466.6 MB, free: 3.547 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.442e-05/0.294, allocations: 19.95 kB / 466.6 MB, free: 3.527 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000401/0.2944, allocations: 35.86 kB / 466.6 MB, free: 3.496 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/0.2945, allocations: 56.55 kB / 466.7 MB, free: 3.441 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.085e-05/0.2945, allocations: 16 kB / 466.7 MB, free: 3.426 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0002194/0.2948, allocations: 193.2 kB / 466.9 MB, free: 3.234 MB / 366.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.2948, allocations: 0 / 466.9 MB, free: 3.234 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0008281/0.2956, allocations: 215.6 kB / 467.1 MB, free: 3.023 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.0002678/0.2958, allocations: 159.1 kB / 467.2 MB, free: 2.859 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001643/0.2975, allocations: 0.8525 MB / 468.1 MB, free: 1.988 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2975, allocations: 0 / 468.1 MB, free: 1.988 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0008474/0.2983, allocations: 0.532 MB / 468.6 MB, free: 1.43 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005/0.2988, allocations: 44.98 kB / 468.7 MB, free: 1.387 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.301, allocations: 1.09 MB / 469.8 MB, free: 272 kB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005445/0.3015, allocations: 0.8655 MB / 470.6 MB, free: 15.37 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0003222/0.3018, allocations: 80.36 kB / 470.7 MB, free: 15.29 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.302, allocations: 51.41 kB / 470.7 MB, free: 15.24 MB / 382.1 MB
Notification: Performance of SimCode: time 4.71e-07/0.302, allocations: 0 / 470.7 MB, free: 15.24 MB / 382.1 MB
Notification: Performance of Templates: time 0.01385/0.3158, allocations: 6.818 MB / 477.6 MB, free: 8.438 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_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_trunk_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.732076846063137]