Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.001627/0.001627, allocations: 106.5 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.001755/0.001755, allocations: 213.3 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.517/1.517, allocations: 230.3 MB / 258 MB, free: 8.262 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.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant")
translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 59.89 kB / 378.8 MB, free: 2.797 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2457, allocations: 53.37 MB / 432.1 MB, free: 7.094 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01298/0.2587, allocations: 10.27 MB / 442.4 MB, free: 12.78 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007983/0.2667, allocations: 3.841 MB / 446.2 MB, free: 8.93 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.2681, allocations: 67.62 kB / 446.3 MB, free: 8.863 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.00394/0.2721, allocations: 1.974 MB / 448.3 MB, free: 6.883 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004212/0.2763, allocations: 1.669 MB / 449.9 MB, free: 5.207 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001551/0.2778, allocations: 0.6237 MB / 450.6 MB, free: 4.582 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.004971/0.2828, allocations: 3.361 MB / 453.9 MB, free: 1.215 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.002566/0.2854, allocations: 1.918 MB / 455.8 MB, free: 15.25 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001866/0.2872, allocations: 1.253 MB / 457.1 MB, free: 13.99 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.002373/0.2896, allocations: 1.822 MB / 458.9 MB, free: 12.16 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0004748/0.2901, allocations: 252 kB / 459.2 MB, free: 11.91 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002172/0.2923, allocations: 1.057 MB / 460.2 MB, free: 10.86 MB / 366.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.001795/0.2941, allocations: 1.593 MB / 461.8 MB, free: 9.258 MB / 366.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.002087/0.2962, allocations: 1.809 MB / 463.6 MB, free: 7.438 MB / 366.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.006926/0.3031, allocations: 5.805 MB / 469.4 MB, free: 1.609 MB / 366.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3031, allocations: 0 / 469.4 MB, free: 1.609 MB / 366.1 MB
Notification: Performance of FrontEnd: time 1.653e-06/0.3031, allocations: 0 / 469.4 MB, free: 1.609 MB / 366.1 MB
Notification: Performance of Transformations before backend: time 9.894e-05/0.3032, allocations: 4 kB / 469.4 MB, free: 1.605 MB / 366.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1275
 * Number of variables: 1275
Notification: Performance of Generate backend data structure: time 0.008106/0.3113, allocations: 4.025 MB / 473.5 MB, free: 13.52 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3113, allocations: 8.031 kB / 473.5 MB, free: 13.52 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006645/0.318, allocations: 1.796 MB / 475.3 MB, free: 11.71 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.004508/0.3225, allocations: 1.862 MB / 477.1 MB, free: 9.824 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002075/0.3227, allocations: 192.8 kB / 477.3 MB, free: 9.633 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007892/0.3235, allocations: 255.9 kB / 477.6 MB, free: 9.383 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01658/0.3401, allocations: 8.45 MB / 486 MB, free: 272 kB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001531/0.3402, allocations: 43.69 kB / 486.1 MB, free: 228 kB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006709/0.3409, allocations: 119.9 kB / 486.2 MB, free: 108 kB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003281/0.3442, allocations: 1.691 MB / 487.9 MB, free: 14.41 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/0.359, allocations: 7.121 MB / 495 MB, free: 7.281 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04491/0.4039, allocations: 33.97 MB / 0.5166 GB, free: 4.305 MB / 430.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.007968/0.4119, allocations: 2.726 MB / 0.5192 GB, free: 1.535 MB / 430.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002075/0.4139, allocations: 1.364 MB / 0.5206 GB, free: 164 kB / 430.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.006563/0.4205, allocations: 3.684 MB / 0.5242 GB, free: 12.44 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.4205, allocations: 47.22 kB / 0.5242 GB, free: 12.39 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=121): time 2.855e-06/0.4205, allocations: 0 / 0.5242 GB, free: 12.39 MB / 446.1 MB
Notification: Performance of matching and sorting (n=129): time 0.03022/0.4508, allocations: 11.52 MB / 0.5354 GB, free: 0.8008 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.87e-05/0.4509, allocations: 145.2 kB / 0.5356 GB, free: 0.6289 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2103/0.6611, allocations: 3.711 MB / 0.5392 GB, free: 101.4 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.000247/0.6614, allocations: 43.34 kB / 0.5393 GB, free: 101.4 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001396/0.6628, allocations: 2.855 MB / 0.542 GB, free: 99.9 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004468/0.6632, allocations: 0.5411 MB / 0.5426 GB, free: 99.57 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001159/0.6644, allocations: 1.095 MB / 0.5436 GB, free: 99.03 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 3.853e-05/0.6644, allocations: 302.4 kB / 0.5439 GB, free: 98.73 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/0.6666, allocations: 1.716 MB / 0.5456 GB, free: 98.2 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003006/0.6696, allocations: 5.127 MB / 0.5506 GB, free: 93 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005462/0.6751, allocations: 7.436 MB / 0.5579 GB, free: 86.48 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.351e-05/0.6752, allocations: 40.94 kB / 0.5579 GB, free: 86.48 MB / 446.1 MB
Notification: Performance of matching and sorting (n=696) (initialization): time 0.0086/0.6838, allocations: 6.737 MB / 0.5645 GB, free: 82 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.977e-05/0.6838, allocations: 60.78 kB / 0.5645 GB, free: 81.94 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.513e-05/0.6839, allocations: 120 kB / 0.5647 GB, free: 81.82 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005288/0.6845, allocations: 318.1 kB / 0.565 GB, free: 81.55 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003155/0.6876, allocations: 1.253 MB / 0.5662 GB, free: 80.46 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.6896, allocations: 2.395 MB / 0.5685 GB, free: 78.16 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003747/0.6934, allocations: 286.8 kB / 0.5688 GB, free: 77.91 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003708/0.6937, allocations: 331.9 kB / 0.5691 GB, free: 77.59 MB / 446.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 555
 * Number of states: 0 ()
 * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (668):
 * Single equations (assignments): 664
 * Array equations: 3
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,4,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.002277/0.696, allocations: 1.791 MB / 0.5709 GB, free: 75.93 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004478/0.6965, allocations: 325.8 kB / 0.5712 GB, free: 75.61 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003957/0.7004, allocations: 2.359 MB / 0.5735 GB, free: 73.24 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/0.7004, allocations: 19.98 kB / 0.5735 GB, free: 73.22 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.7004, allocations: 4 kB / 0.5735 GB, free: 73.21 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.7005, allocations: 3.984 kB / 0.5735 GB, free: 73.21 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008812/0.7093, allocations: 5.889 MB / 0.5793 GB, free: 67.3 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.7093, allocations: 0 / 0.5793 GB, free: 67.3 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000764/0.71, allocations: 175.7 kB / 0.5794 GB, free: 67.13 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001941/0.712, allocations: 0.7169 MB / 0.5801 GB, free: 66.41 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/0.7121, allocations: 24 kB / 0.5801 GB, free: 66.39 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004587/0.7167, allocations: 4.72 MB / 0.5848 GB, free: 61.57 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.7167, allocations: 5.312 kB / 0.5848 GB, free: 61.56 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005555/0.7222, allocations: 4.345 MB / 0.589 GB, free: 57.19 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0008547/0.7231, allocations: 297.7 kB / 0.5893 GB, free: 56.89 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003116/0.7234, allocations: 23.83 kB / 0.5893 GB, free: 56.88 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.7244, allocations: 71.84 kB / 0.5894 GB, free: 56.8 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.7246, allocations: 72.59 kB / 0.5895 GB, free: 56.73 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.083e-05/0.7247, allocations: 35.98 kB / 0.5895 GB, free: 56.7 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.002634/0.7273, allocations: 2.315 MB / 0.5917 GB, free: 54.4 MB / 446.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.7273, allocations: 0 / 0.5917 GB, free: 54.4 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.00337/0.7307, allocations: 0.8007 MB / 0.5925 GB, free: 53.6 MB / 446.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * Number of states: 2 (rev.phi,rev.w)
 * 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 (96):
 * Single equations (assignments): 92
 * Array equations: 3
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,11,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003064/0.731, allocations: 158.2 kB / 0.5927 GB, free: 53.44 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.004652/0.7356, allocations: 3.903 MB / 0.5965 GB, free: 49.55 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.7356, allocations: 4.562 kB / 0.5965 GB, free: 49.55 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001175/0.7368, allocations: 1.033 MB / 0.5975 GB, free: 48.5 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/0.7389, allocations: 397.4 kB / 0.5979 GB, free: 48.12 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009532/0.7484, allocations: 7.427 MB / 0.6051 GB, free: 40.65 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002051/0.7505, allocations: 2.781 MB / 0.6079 GB, free: 37.84 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.002947/0.7534, allocations: 1.656 MB / 0.6095 GB, free: 36.18 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005002/0.7539, allocations: 215.3 kB / 0.6097 GB, free: 35.97 MB / 446.1 MB
Notification: Performance of SimCode: time 9.82e-07/0.7539, allocations: 0 / 0.6097 GB, free: 35.97 MB / 446.1 MB
Notification: Performance of Templates: time 0.05003/0.804, allocations: 31.75 MB / 0.6407 GB, free: 4.469 MB / 446.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.183161772787571]