Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.001333/0.001333, allocations: 109 kB / 21.23 MB, free: 0.6641 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.001448/0.001448, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.453/1.453, allocations: 230.3 MB / 258 MB, free: 8.23 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.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings")
translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 67.88 kB / 378.8 MB, free: 2.781 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2349, allocations: 53.38 MB / 432.1 MB, free: 7.074 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01266/0.2475, allocations: 10.78 MB / 442.9 MB, free: 12.25 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.009471/0.257, allocations: 3.994 MB / 446.9 MB, free: 8.246 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.2587, allocations: 71.62 kB / 447 MB, free: 8.176 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.005264/0.2639, allocations: 2.616 MB / 449.6 MB, free: 5.551 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004998/0.2689, allocations: 1.782 MB / 451.4 MB, free: 3.762 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001938/0.2709, allocations: 0.6785 MB / 452 MB, free: 3.082 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.006175/0.2771, allocations: 3.712 MB / 455.8 MB, free: 15.36 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.004043/0.2811, allocations: 2.516 MB / 458.3 MB, free: 12.79 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.002832/0.2839, allocations: 1.495 MB / 459.8 MB, free: 11.29 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.003524/0.2875, allocations: 2.106 MB / 461.9 MB, free: 9.172 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001041/0.2885, allocations: 316 kB / 462.2 MB, free: 8.863 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002853/0.2913, allocations: 1.186 MB / 463.4 MB, free: 7.676 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.00255/0.2939, allocations: 1.854 MB / 465.2 MB, free: 5.816 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.003739/0.2976, allocations: 2.128 MB / 467.4 MB, free: 3.676 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.009409/0.307, allocations: 6.67 MB / 474 MB, free: 12.98 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.3071, allocations: 0 / 474 MB, free: 12.98 MB / 382.1 MB
Notification: Performance of FrontEnd: time 2.415e-06/0.3071, allocations: 0 / 474 MB, free: 12.98 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 0.0002564/0.3073, allocations: 0 / 474 MB, free: 12.98 MB / 382.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1516
 * Number of variables: 1516
Notification: Performance of Generate backend data structure: time 0.009953/0.3173, allocations: 4.58 MB / 478.6 MB, free: 8.344 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.3173, allocations: 12.03 kB / 478.6 MB, free: 8.332 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007497/0.3248, allocations: 1.964 MB / 480.6 MB, free: 6.363 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00454/0.3294, allocations: 1.945 MB / 482.5 MB, free: 4.387 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002166/0.3296, allocations: 250.2 kB / 482.8 MB, free: 4.141 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009899/0.3306, allocations: 391.7 kB / 483.2 MB, free: 3.758 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0201/0.3507, allocations: 10.12 MB / 493.3 MB, free: 8.914 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001048/0.3508, allocations: 43.56 kB / 493.3 MB, free: 8.871 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004644/0.3512, allocations: 151.9 kB / 493.5 MB, free: 8.723 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003026/0.3543, allocations: 1.864 MB / 495.3 MB, free: 6.859 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01852/0.3728, allocations: 8.359 MB / 0.4919 GB, free: 14.49 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05274/0.4255, allocations: 39.19 MB / 0.5302 GB, free: 6.145 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.01134/0.4369, allocations: 3.466 MB / 0.5335 GB, free: 2.645 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002322/0.4392, allocations: 1.338 MB / 0.5348 GB, free: 1.297 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.2225/0.6617, allocations: 5.856 MB / 0.5406 GB, free: 99.36 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.6617, allocations: 52.2 kB / 0.5406 GB, free: 99.3 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=152): time 4.419e-06/0.6617, allocations: 0 / 0.5406 GB, free: 99.3 MB / 446.1 MB
Notification: Performance of matching and sorting (n=159): time 0.02949/0.6912, allocations: 12.31 MB / 0.5526 GB, free: 95.13 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008641/0.692, allocations: 1.579 MB / 0.5542 GB, free: 93.58 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003873/0.6959, allocations: 3.81 MB / 0.5579 GB, free: 91.58 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001959/0.6961, allocations: 53.45 kB / 0.558 GB, free: 91.53 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001185/0.6973, allocations: 3.235 MB / 0.5611 GB, free: 88.56 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004299/0.6977, allocations: 0.68 MB / 0.5618 GB, free: 87.89 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001143/0.6989, allocations: 1.266 MB / 0.563 GB, free: 86.62 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 3.025e-05/0.6989, allocations: 309 kB / 0.5633 GB, free: 86.31 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002381/0.7013, allocations: 2.054 MB / 0.5653 GB, free: 84.25 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003483/0.7048, allocations: 5.981 MB / 0.5712 GB, free: 76.31 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.006614/0.7114, allocations: 8.649 MB / 0.5796 GB, free: 65.71 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.33e-05/0.7115, allocations: 40 kB / 0.5796 GB, free: 65.67 MB / 446.1 MB
Notification: Performance of matching and sorting (n=814) (initialization): time 0.01948/0.7309, allocations: 9.833 MB / 0.5892 GB, free: 55.82 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 7.761e-05/0.731, allocations: 70.5 kB / 0.5893 GB, free: 55.75 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.011/0.742, allocations: 3.842 MB / 0.5931 GB, free: 51.9 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.01164/0.7536, allocations: 2.719 MB / 0.5957 GB, free: 49.16 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003978/0.7576, allocations: 1.376 MB / 0.5971 GB, free: 47.79 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/0.7715, allocations: 11.28 MB / 0.6081 GB, free: 36.17 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004453/0.776, allocations: 411.4 kB / 0.6085 GB, free: 35.77 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005976/0.7766, allocations: 394.7 kB / 0.6089 GB, free: 35.39 MB / 446.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 637
 * Number of states: 0 ()
 * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (742):
 * Single equations (assignments): 732
 * Array equations: 5
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 3
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 2 systems
   {(4,100.0%), (3,100.0%)}
 * Non-linear Jacobian (size): 1 system
   {4}
 * Without analytic Jacobian (size): 0 systems
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(2,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(3,32)}
Notification: Performance of prepare postOptimizeDAE: time 0.002278/0.7789, allocations: 2.017 MB / 0.6108 GB, free: 33.36 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004354/0.7793, allocations: 341.7 kB / 0.6111 GB, free: 33.02 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006847/0.78, allocations: 428.4 kB / 0.6116 GB, free: 32.59 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005297/0.7853, allocations: 2.706 MB / 0.6142 GB, free: 29.86 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/0.7853, allocations: 4 kB / 0.6142 GB, free: 29.86 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.96e-05/0.7853, allocations: 12.84 kB / 0.6142 GB, free: 29.85 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/0.7986, allocations: 8.431 MB / 0.6224 GB, free: 21.34 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.7986, allocations: 4 kB / 0.6225 GB, free: 21.33 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008081/0.7994, allocations: 191.7 kB / 0.6226 GB, free: 21.14 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.004263/0.8037, allocations: 1.451 MB / 0.6241 GB, free: 19.68 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001346/0.8038, allocations: 39.97 kB / 0.6241 GB, free: 19.64 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01044/0.8142, allocations: 9.506 MB / 0.6334 GB, free: 9.793 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007579/0.815, allocations: 1.444 MB / 0.6348 GB, free: 8.227 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008624/0.8236, allocations: 5.353 MB / 0.64 GB, free: 2.84 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001413/0.825, allocations: 317.5 kB / 0.6403 GB, free: 2.527 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005009/0.8255, allocations: 31.67 kB / 0.6403 GB, free: 2.5 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/0.8269, allocations: 127.8 kB / 0.6405 GB, free: 2.375 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004061/0.8273, allocations: 120.6 kB / 0.6406 GB, free: 2.258 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/0.8274, allocations: 43.98 kB / 0.6406 GB, free: 2.215 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.003332/0.8308, allocations: 2.337 MB / 0.6429 GB, free: 15.89 MB / 462.1 MB
Notification: Performance of sort global known variables: time 1.2e-07/0.8308, allocations: 0 / 0.6429 GB, free: 15.89 MB / 462.1 MB
Notification: Performance of remove unused functions: time 0.005753/0.8365, allocations: 1.074 MB / 0.644 GB, free: 14.82 MB / 462.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3])
 * 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 (91):
 * Single equations (assignments): 83
 * Array equations: 3
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 3
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 2 systems
   {(4,100.0%), (3,100.0%)}
 * Non-linear Jacobian (size): 1 system
   {4}
 * Without analytic Jacobian (size): 0 systems
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(2,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(6,29)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0004729/0.837, allocations: 162.4 kB / 0.6441 GB, free: 14.65 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.01086/0.8479, allocations: 5.422 MB / 0.6494 GB, free: 9.215 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.375e-05/0.8479, allocations: 4.375 kB / 0.6494 GB, free: 9.211 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.004872/0.8527, allocations: 2.082 MB / 0.6514 GB, free: 7.082 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/0.8551, allocations: 391.5 kB / 0.6518 GB, free: 6.703 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/0.8715, allocations: 9.192 MB / 0.6608 GB, free: 13.46 MB / 478.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003895/0.8754, allocations: 3.13 MB / 0.6638 GB, free: 10.3 MB / 478.1 MB
Notification: Performance of simCode: alias equations: time 0.004146/0.8796, allocations: 1.807 MB / 0.6656 GB, free: 8.484 MB / 478.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005582/0.8801, allocations: 215.4 kB / 0.6658 GB, free: 8.273 MB / 478.1 MB
Notification: Performance of SimCode: time 8.72e-07/0.8801, allocations: 0 / 0.6658 GB, free: 8.273 MB / 478.1 MB
Notification: Performance of Templates: time 0.08535/0.9655, allocations: 44.09 MB / 0.7089 GB, free: 12.42 MB / 0.5137 GB
"
[Timeout remaining time 659]
make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/ThreeSprings/ThreeSprings.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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: 6.815283278003335]