Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.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.002043/0.002043, allocations: 83.16 kB / 20.68 MB, free: 1.039 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.002582/0.002582, allocations: 157.6 kB / 23.95 MB, free: 4.168 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.458/1.458, allocations: 177 MB / 204.1 MB, free: 9.176 MB / 190.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.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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0.7031 kB / 325 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.337e-05/2.527e-05, allocations: 2.281 kB / 325 MB, free: 496 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.009278/0.009303, allocations: 7.03 MB / 332.1 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005588/0.01489, allocations: 2.443 MB / 334.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.01614, allocations: 39.28 kB / 334.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00343/0.01957, allocations: 1.48 MB / 336 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003129/0.0227, allocations: 1.045 MB / 337.1 MB, free: 8.324 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009512/0.02365, allocations: 276.1 kB / 337.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003511/0.02716, allocations: 2.209 MB / 339.5 MB, free: 6.527 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002312/0.02947, allocations: 1.344 MB / 340.9 MB, free: 5.164 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00244/0.03191, allocations: 1.235 MB / 342.1 MB, free: 3.926 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002209/0.03412, allocations: 1.2 MB / 343.3 MB, free: 2.719 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005078/0.03463, allocations: 160 kB / 343.5 MB, free: 2.562 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.03625, allocations: 0.6123 MB / 344.1 MB, free: 1.949 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001354/0.0376, allocations: 1.219 MB / 345.3 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.03868, allocations: 0.724 MB / 346 MB, free: 0 / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004981/0.04366, allocations: 4.204 MB / 350.2 MB, free: 11.78 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.04367, allocations: 4 kB / 350.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.04367, allocations: 0 / 350.2 MB, free: 11.77 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.185e-05/0.04374, allocations: 0 / 350.2 MB, free: 11.77 MB / 318.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.004775/0.04851, allocations: 2.895 MB / 353.1 MB, free: 8.828 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.04856, allocations: 11.98 kB / 353.1 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007965/0.05652, allocations: 1.945 MB / 355.1 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002495/0.05902, allocations: 1.113 MB / 356.2 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.05916, allocations: 155.9 kB / 356.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004603/0.05962, allocations: 211.8 kB / 356.6 MB, free: 5.363 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01875/0.07837, allocations: 8.235 MB / 364.8 MB, free: 12.52 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.803e-05/0.07847, allocations: 39.64 kB / 364.8 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003071/0.07878, allocations: 107.9 kB / 364.9 MB, free: 12.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002831/0.08161, allocations: 1.554 MB / 366.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01736/0.09897, allocations: 6.785 MB / 373.3 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03396/0.1329, allocations: 27.55 MB / 400.8 MB, free: 7.594 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02099/0.1539, allocations: 4.468 MB / 405.3 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001388/0.1553, allocations: 0.8166 MB / 406.1 MB, free: 2.223 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004764/0.1601, allocations: 2.636 MB / 408.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.1601, allocations: 58.81 kB / 408.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=111): time 3.356e-06/0.1601, allocations: 0 / 408.8 MB, free: 15.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=111): time 0.04336/0.2035, allocations: 8.46 MB / 417.3 MB, free: 7.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.2036, allocations: 191.9 kB / 417.5 MB, free: 6.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004222/0.2078, allocations: 2.961 MB / 420.4 MB, free: 3.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001429/0.208, allocations: 41.69 kB / 420.5 MB, free: 3.758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001893/0.2099, allocations: 2.512 MB / 423 MB, free: 1.219 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005735/0.2104, allocations: 0.5158 MB / 423.5 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001432/0.2119, allocations: 1.076 MB / 424.6 MB, free: 15.61 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.212, allocations: 341.9 kB / 424.9 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002321/0.2144, allocations: 1.486 MB / 426.4 MB, free: 13.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005602/0.22, allocations: 5.044 MB / 431.4 MB, free: 6.934 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009133/0.2291, allocations: 7.079 MB / 438.5 MB, free: 14.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/0.2292, allocations: 36 kB / 438.5 MB, free: 14.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01064/0.2398, allocations: 6.184 MB / 444.7 MB, free: 7.848 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.401e-05/0.2399, allocations: 60 kB / 444.8 MB, free: 7.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001418/0.2401, allocations: 128.3 kB / 444.9 MB, free: 7.664 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001743/0.2403, allocations: 168 kB / 445.1 MB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00508/0.2453, allocations: 1.45 MB / 446.5 MB, free: 6.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000223/0.2456, allocations: 247 kB / 446.8 MB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003624/0.2492, allocations: 0.7409 MB / 447.5 MB, free: 5.059 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005308/0.2497, allocations: 347.9 kB / 447.8 MB, free: 4.719 MB / 414.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.002292/0.252, allocations: 1.567 MB / 449.4 MB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004735/0.2525, allocations: 238.4 kB / 449.6 MB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005263/0.253, allocations: 297.1 kB / 449.9 MB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.382e-05/0.253, allocations: 12 kB / 449.9 MB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.253, allocations: 0 / 449.9 MB, free: 2.602 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.253, allocations: 7.984 kB / 450 MB, free: 2.594 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004979/0.258, allocations: 2.483 MB / 452.4 MB, free: 68 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/0.258, allocations: 4 kB / 452.4 MB, free: 64 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002559/0.2606, allocations: 399.5 kB / 452.8 MB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-05/0.2606, allocations: 12.02 kB / 452.8 MB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.824e-05/0.2607, allocations: 35.98 kB / 452.9 MB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.498e-06/0.2607, allocations: 7.938 kB / 452.9 MB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.2607, allocations: 4 kB / 452.9 MB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00332/0.264, allocations: 2.483 MB / 455.4 MB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/0.2644, allocations: 210.2 kB / 455.6 MB, free: 12.91 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/0.2647, allocations: 35.97 kB / 455.6 MB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008926/0.2656, allocations: 51.81 kB / 455.7 MB, free: 12.82 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.2657, allocations: 51.91 kB / 455.7 MB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.897e-05/0.2658, allocations: 31.98 kB / 455.7 MB, free: 12.74 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002428/0.2682, allocations: 1.638 MB / 457.4 MB, free: 11.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2682, allocations: 0 / 457.4 MB, free: 11.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004063/0.2723, allocations: 0.8418 MB / 458.2 MB, free: 10.25 MB / 430.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.0003722/0.2726, allocations: 163 kB / 458.4 MB, free: 10.08 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005636/0.2783, allocations: 3.238 MB / 461.6 MB, free: 6.871 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/0.2783, allocations: 0 / 461.6 MB, free: 6.871 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009113/0.2792, allocations: 0.5626 MB / 462.2 MB, free: 6.309 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/0.2807, allocations: 216.3 kB / 462.4 MB, free: 6.098 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.166/0.4468, allocations: 6.555 MB / 469 MB, free: 124.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002932/0.4497, allocations: 1.822 MB / 470.8 MB, free: 124.6 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003398/0.4531, allocations: 1.606 MB / 472.4 MB, free: 124.6 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004043/0.4535, allocations: 174.3 kB / 472.6 MB, free: 124.5 MB / 430.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4535, allocations: 0 / 472.6 MB, free: 124.5 MB / 430.1 MB Notification: Performance of Templates: time 0.03294/0.4864, allocations: 15.09 MB / 487.6 MB, free: 119.6 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.812211323529482]