Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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.001999/0.001999, allocations: 88.31 kB / 21.44 MB, free: 276 kB / 14.72 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.002722/0.002722, allocations: 164 kB / 24.71 MB, free: 3.527 MB / 14.72 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 1.433/1.433, allocations: 158.6 MB / 186.5 MB, free: 6.387 MB / 174.1 MB " [Timeout remaining time 178] 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.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.r_0.1.|body1.r_0.2.|body1.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.r_0.1.|body2.r_0.2.|body2.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.r_0.1.|body3.r_0.2.|body3.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body4.r_0.1.|body4.r_0.2.|body4.r_0.3.|body4.v_0.1.|body4.v_0.2.|body4.v_0.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.r_0.1.|body1.r_0.2.|body1.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body2.r_0.1.|body2.r_0.2.|body2.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body3.r_0.1.|body3.r_0.2.|body3.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body4.r_0.1.|body4.r_0.2.|body4.r_0.3.|body4.v_0.1.|body4.v_0.2.|body4.v_0.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 299 MB, free: 8.715 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.426e-05/3.61e-05, allocations: 2.281 kB / 299 MB, free: 8.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.01043/0.01046, allocations: 7.044 MB / 306 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006692/0.01715, allocations: 2.451 MB / 308.5 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.01847, allocations: 43.81 kB / 308.5 MB, free: 15.13 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003849/0.02232, allocations: 1.456 MB / 310 MB, free: 13.67 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003299/0.02562, allocations: 1.042 MB / 311 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009436/0.02656, allocations: 279.2 kB / 311.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003814/0.03037, allocations: 2.25 MB / 313.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002892/0.03327, allocations: 1.352 MB / 314.9 MB, free: 8.719 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003379/0.03665, allocations: 1.247 MB / 316.1 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002445/0.03909, allocations: 1.208 MB / 317.3 MB, free: 6.258 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006791/0.03977, allocations: 160 kB / 317.5 MB, free: 6.102 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001793/0.04156, allocations: 0.6122 MB / 318.1 MB, free: 5.488 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001663/0.04323, allocations: 1.239 MB / 319.3 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001849/0.04507, allocations: 0.7318 MB / 320.1 MB, free: 3.512 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1868/0.2318, allocations: 4.239 MB / 324.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.2318, allocations: 1.375 kB / 324.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2318, allocations: 0 / 324.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001612/0.232, allocations: 0 / 324.3 MB, free: 19.68 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1113 * Number of variables: 1113 Notification: Performance of Generate backend data structure: time 0.005727/0.2377, allocations: 2.919 MB / 327.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.2378, allocations: 14.67 kB / 327.2 MB, free: 18.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007934/0.2457, allocations: 1.945 MB / 329.2 MB, free: 18.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002743/0.2485, allocations: 1.109 MB / 330.3 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.2486, allocations: 157.1 kB / 330.4 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004609/0.2491, allocations: 207.9 kB / 330.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01785/0.2669, allocations: 8.229 MB / 338.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001016/0.267, allocations: 36.05 kB / 338.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003081/0.2673, allocations: 106.9 kB / 339 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002469/0.2698, allocations: 1.561 MB / 340.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01572/0.2855, allocations: 6.763 MB / 347.3 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03783/0.3233, allocations: 27.56 MB / 374.9 MB, free: 332 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02085/0.3442, allocations: 4.467 MB / 379.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001766/0.3459, allocations: 0.8268 MB / 380.2 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005847/0.3518, allocations: 2.606 MB / 382.8 MB, free: 8.363 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.157e-05/0.3519, allocations: 46.55 kB / 382.8 MB, free: 8.312 MB / 334.1 MB Notification: Performance of pre-optimization done (n=111): time 3.557e-06/0.3519, allocations: 4 kB / 382.8 MB, free: 8.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=111): time 0.04244/0.3943, allocations: 8.429 MB / 391.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/0.3945, allocations: 199.8 kB / 391.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00441/0.3989, allocations: 2.969 MB / 394.4 MB, free: 12.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002037/0.3991, allocations: 41.7 kB / 394.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002153/0.4012, allocations: 2.52 MB / 397 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006949/0.4019, allocations: 0.51 MB / 397.5 MB, free: 9.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001405/0.4033, allocations: 1.066 MB / 398.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.4035, allocations: 341.9 kB / 398.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002516/0.406, allocations: 1.482 MB / 400.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005679/0.4117, allocations: 5.043 MB / 405.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009851/0.4216, allocations: 7.075 MB / 412.5 MB, free: 7.117 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000165/0.4217, allocations: 36 kB / 412.5 MB, free: 7.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01358/0.4353, allocations: 6.173 MB / 418.7 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000106/0.4354, allocations: 60 kB / 418.8 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002108/0.4356, allocations: 128.1 kB / 418.9 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.4358, allocations: 171.9 kB / 419.1 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005487/0.4413, allocations: 1.45 MB / 420.5 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002187/0.4415, allocations: 251 kB / 420.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004754/0.4463, allocations: 0.7402 MB / 421.5 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009375/0.4472, allocations: 338 kB / 421.8 MB, free: 13.79 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 580 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (681): * Single equations (assignments): 678 * 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.002981/0.4502, allocations: 1.575 MB / 423.4 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005268/0.4507, allocations: 243.3 kB / 423.6 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.452, allocations: 0.6705 MB / 424.3 MB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-05/0.4521, allocations: 12 kB / 424.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.4521, allocations: 4 kB / 424.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.4521, allocations: 3.984 kB / 424.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005615/0.4577, allocations: 2.478 MB / 426.8 MB, free: 8.773 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.4577, allocations: 8 kB / 426.8 MB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002424/0.4601, allocations: 408.6 kB / 427.2 MB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.304e-05/0.4602, allocations: 4.375 kB / 427.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/0.4603, allocations: 39.97 kB / 427.3 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/0.4603, allocations: 4 kB / 427.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4603, allocations: 3.391 kB / 427.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003614/0.4639, allocations: 2.465 MB / 429.7 MB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005834/0.4645, allocations: 218.1 kB / 430 MB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/0.4648, allocations: 31.98 kB / 430 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008675/0.4656, allocations: 39.95 kB / 430 MB, free: 5.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001404/0.4658, allocations: 61.52 kB / 430.1 MB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.34e-05/0.4658, allocations: 32 kB / 430.1 MB, free: 5.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002522/0.4684, allocations: 1.635 MB / 431.7 MB, free: 3.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4684, allocations: 4 kB / 431.8 MB, free: 3.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00394/0.4723, allocations: 0.86 MB / 432.6 MB, free: 2.941 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[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 (87): * Single equations (assignments): 84 * 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 Backend phase and start with SimCode phase: time 0.0003865/0.4727, allocations: 172.1 kB / 432.8 MB, free: 2.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005919/0.4786, allocations: 3.227 MB / 436 MB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.4786, allocations: 0 / 436 MB, free: 15.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008838/0.4795, allocations: 0.5522 MB / 436.6 MB, free: 15.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.4814, allocations: 230.3 kB / 436.8 MB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.4937, allocations: 6.539 MB / 443.3 MB, free: 8.227 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00244/0.4961, allocations: 1.829 MB / 445.2 MB, free: 6.363 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.003773/0.4999, allocations: 1.608 MB / 446.8 MB, free: 4.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004713/0.5003, allocations: 164.5 kB / 446.9 MB, free: 4.59 MB / 398.1 MB Notification: Performance of SimCode: time 1.453e-06/0.5003, allocations: 4 kB / 446.9 MB, free: 4.586 MB / 398.1 MB Notification: Performance of Templates: time 0.04114/0.5415, allocations: 15.13 MB / 462.1 MB, free: 5.492 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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: 5.958393216133118]