Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001886/0.003028, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001726/0.002929, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.968/0.968, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1724/1.14, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.746e-05, allocations: 6.109 kB / 222 MB, free: 52 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.008873/0.008901, allocations: 9.822 MB / 231.8 MB, free: 6.18 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006732/0.01563, allocations: 3.848 MB / 235.7 MB, free: 2.316 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.01673, allocations: 67.69 kB / 235.7 MB, free: 2.25 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002159/0.01889, allocations: 1.993 MB / 237.7 MB, free: 256 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003204/0.0221, allocations: 1.73 MB / 239.5 MB, free: 14.51 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009643/0.02306, allocations: 0.6235 MB / 240.1 MB, free: 13.89 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00308/0.02614, allocations: 3.579 MB / 243.7 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002224/0.02836, allocations: 2.252 MB / 245.9 MB, free: 7.984 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002534/0.0309, allocations: 2.041 MB / 248 MB, free: 5.934 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001943/0.03284, allocations: 1.753 MB / 249.7 MB, free: 4.176 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003576/0.0332, allocations: 256 kB / 250 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001507/0.03471, allocations: 1.006 MB / 251 MB, free: 2.918 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001355/0.03606, allocations: 1.523 MB / 252.5 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008943/0.03696, allocations: 0.8646 MB / 253.4 MB, free: 0.5234 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003589/0.04055, allocations: 3.592 MB / 256.9 MB, free: 12.92 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.61e-05/0.04056, allocations: 0 / 256.9 MB, free: 12.92 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.04056, allocations: 0 / 256.9 MB, free: 12.92 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001062/0.04067, allocations: 0 / 256.9 MB, free: 12.92 MB / 266.7 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.005969/0.04664, allocations: 4.564 MB / 261.5 MB, free: 8.285 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.04668, allocations: 8.031 kB / 261.5 MB, free: 8.277 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002353/0.04903, allocations: 0.9372 MB / 262.5 MB, free: 7.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002044/0.05108, allocations: 1.5 MB / 264 MB, free: 5.793 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.064e-05/0.05117, allocations: 193 kB / 264.1 MB, free: 5.602 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002759/0.05144, allocations: 247.9 kB / 264.4 MB, free: 5.359 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004555/0.056, allocations: 4.209 MB / 268.6 MB, free: 488 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-05/0.05607, allocations: 35.73 kB / 268.6 MB, free: 452 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002117/0.05628, allocations: 127.8 kB / 268.8 MB, free: 324 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001237/0.05752, allocations: 1.379 MB / 270.1 MB, free: 14.94 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004068/0.06159, allocations: 2.103 MB / 272.2 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1827/0.2443, allocations: 27.42 MB / 299.7 MB, free: 25.18 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003517/0.2478, allocations: 1.251 MB / 300.9 MB, free: 24.95 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005206/0.2484, allocations: 277.6 kB / 301.2 MB, free: 24.9 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006449/0.2548, allocations: 2.971 MB / 304.1 MB, free: 23.99 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.351e-05/0.2549, allocations: 50.02 kB / 304.2 MB, free: 23.95 MB / 282.7 MB Notification: Performance of pre-optimization done (n=103): time 6.142e-06/0.2549, allocations: 1.125 kB / 304.2 MB, free: 23.95 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.007357/0.2622, allocations: 2.65 MB / 306.8 MB, free: 23.35 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.2623, allocations: 142.4 kB / 307 MB, free: 23.2 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/0.2645, allocations: 2.913 MB / 309.9 MB, free: 22.59 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.94e-05/0.2646, allocations: 42.91 kB / 309.9 MB, free: 22.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009379/0.2655, allocations: 2.757 MB / 312.7 MB, free: 20.71 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.2657, allocations: 467.2 kB / 313.2 MB, free: 20.47 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007521/0.2665, allocations: 1.011 MB / 314.2 MB, free: 20.34 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.429e-05/0.2665, allocations: 301.1 kB / 314.5 MB, free: 20.05 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007768/0.2673, allocations: 0.6169 MB / 315.1 MB, free: 20.02 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/0.2692, allocations: 4.016 MB / 319.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003528/0.2728, allocations: 5.521 MB / 324.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.429e-05/0.2728, allocations: 34.69 kB / 324.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.003802/0.2766, allocations: 3.59 MB / 328.2 MB, free: 9.164 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.689e-05/0.2767, allocations: 60 kB / 328.3 MB, free: 9.105 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000111/0.2768, allocations: 132 kB / 328.4 MB, free: 8.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.264e-05/0.2769, allocations: 164 kB / 328.6 MB, free: 8.816 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.2788, allocations: 1.357 MB / 329.9 MB, free: 7.457 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-05/0.2789, allocations: 251 kB / 330.2 MB, free: 7.211 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/0.2814, allocations: 241.6 kB / 330.4 MB, free: 6.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002416/0.2816, allocations: 292 kB / 330.7 MB, free: 6.691 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 575 * 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 (667): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001059/0.2827, allocations: 0.5618 MB / 331.3 MB, free: 6.117 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003274/0.283, allocations: 167.8 kB / 331.4 MB, free: 5.953 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007536/0.2837, allocations: 0.5051 MB / 331.9 MB, free: 5.438 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/0.2838, allocations: 12 kB / 332 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.2838, allocations: 3.984 kB / 332 MB, free: 5.422 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-06/0.2838, allocations: 3.984 kB / 332 MB, free: 5.418 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003673/0.2875, allocations: 2.203 MB / 334.2 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.463e-05/0.2875, allocations: 8 kB / 334.2 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/0.2879, allocations: 143.8 kB / 334.3 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004998/0.2884, allocations: 330 kB / 334.6 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001811/0.2886, allocations: 43.64 kB / 334.7 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.2886, allocations: 23.94 kB / 334.7 MB, free: 2.617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000946/0.2895, allocations: 1.428 MB / 336.1 MB, free: 1.098 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.2895, allocations: 4.734 kB / 336.1 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009472/0.2905, allocations: 1.222 MB / 337.4 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/0.2907, allocations: 12 kB / 337.4 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/0.2912, allocations: 20 kB / 337.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.973e-05/0.2913, allocations: 55.83 kB / 337.4 MB, free: 15.75 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.372e-05/0.2913, allocations: 31.5 kB / 337.5 MB, free: 15.72 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008718/0.2922, allocations: 1.036 MB / 338.5 MB, free: 14.69 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2922, allocations: 0 / 338.5 MB, free: 14.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002888/0.2951, allocations: 0.8163 MB / 339.3 MB, free: 13.87 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (rev.w,damper.phi_rel) * 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 (78): * Single equations (assignments): 74 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003289/0.2954, allocations: 156.1 kB / 339.5 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002604/0.298, allocations: 2.029 MB / 341.5 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001717/0.2982, allocations: 100.9 kB / 341.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005733/0.2988, allocations: 418.1 kB / 342 MB, free: 11.28 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/0.3016, allocations: 2.661 MB / 344.7 MB, free: 8.273 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.3128, allocations: 5.886 MB / 350.6 MB, free: 2.297 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.3139, allocations: 0.9866 MB / 351.5 MB, free: 1.293 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001326/0.3152, allocations: 419.2 kB / 352 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005876/0.3158, allocations: 465.2 kB / 352.4 MB, free: 436 kB / 298.7 MB Notification: Performance of SimCode: time 1.914e-06/0.3158, allocations: 0 / 352.4 MB, free: 436 kB / 298.7 MB Notification: Performance of Templates: time 0.03781/0.3536, allocations: 21.24 MB / 373.6 MB, free: 11.1 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/InitSpringConstant/InitSpringConstant.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3028365103527904]