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.001912/0.001912, allocations: 88.28 kB / 20.96 MB, free: 3.449 MB / 18.57 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.002382/0.002382, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 18.57 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.609/1.609, allocations: 177 MB / 204.4 MB, free: 5.594 MB / 186.7 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.723e-06/1.723e-06, allocations: 0 / 272.2 MB, free: 1.762 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.784e-05/2.957e-05, allocations: 2.312 kB / 272.2 MB, free: 1.758 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.01127/0.0113, allocations: 7.037 MB / 279.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006785/0.01809, allocations: 2.434 MB / 281.7 MB, free: 8.238 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002136/0.02022, allocations: 43.81 kB / 281.7 MB, free: 8.195 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003996/0.02422, allocations: 1.487 MB / 283.2 MB, free: 6.703 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003165/0.02738, allocations: 1.045 MB / 284.3 MB, free: 5.652 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009656/0.02835, allocations: 275.3 kB / 284.5 MB, free: 5.383 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003962/0.03231, allocations: 2.207 MB / 286.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0029/0.03521, allocations: 1.399 MB / 288.1 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00305/0.03826, allocations: 1.231 MB / 289.4 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.123/0.1613, allocations: 1.193 MB / 290.6 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005157/0.1618, allocations: 158.9 kB / 290.7 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.1631, allocations: 0.614 MB / 291.3 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001045/0.1642, allocations: 1.217 MB / 292.6 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008885/0.1651, allocations: 0.7213 MB / 293.3 MB, free: 16.24 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004608/0.1697, allocations: 4.204 MB / 297.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1697, allocations: 0 / 297.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1697, allocations: 4.5 kB / 297.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001113/0.1698, allocations: 0.9688 kB / 297.5 MB, free: 15.87 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: 1113 * Number of variables: 1113 Notification: Performance of Generate backend data structure: time 0.005084/0.1749, allocations: 2.894 MB / 300.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1749, allocations: 13.48 kB / 300.4 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007489/0.1824, allocations: 2.303 MB / 302.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/0.1851, allocations: 1.119 MB / 303.8 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001597/0.1852, allocations: 152.2 kB / 304 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006458/0.1859, allocations: 208.7 kB / 304.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01695/0.2028, allocations: 8.245 MB / 312.4 MB, free: 8.105 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-05/0.2029, allocations: 37.2 kB / 312.4 MB, free: 8.086 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002782/0.2032, allocations: 107.9 kB / 312.6 MB, free: 8.012 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002044/0.2052, allocations: 1.555 MB / 314.1 MB, free: 6.488 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01442/0.2197, allocations: 6.769 MB / 320.9 MB, free: 15.88 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04077/0.2604, allocations: 27.62 MB / 348.5 MB, free: 3.754 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02036/0.2808, allocations: 4.481 MB / 353 MB, free: 15.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.2824, allocations: 0.826 MB / 353.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006224/0.2887, allocations: 2.619 MB / 356.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.017e-05/0.2887, allocations: 51.98 kB / 356.5 MB, free: 11.7 MB / 314.7 MB Notification: Performance of pre-optimization done (n=111): time 3.637e-06/0.2887, allocations: 0 / 356.5 MB, free: 11.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=111): time 0.04237/0.3311, allocations: 8.504 MB / 365 MB, free: 3.203 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001589/0.3312, allocations: 195.9 kB / 365.2 MB, free: 2.969 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005159/0.3364, allocations: 2.961 MB / 368.1 MB, free: 15.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002384/0.3366, allocations: 37.7 kB / 368.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002597/0.3392, allocations: 2.518 MB / 370.7 MB, free: 13.44 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007937/0.34, allocations: 0.5052 MB / 371.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001758/0.3418, allocations: 1.078 MB / 372.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002373/0.342, allocations: 341.9 kB / 372.6 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002866/0.3449, allocations: 1.482 MB / 374.1 MB, free: 10.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006688/0.3516, allocations: 5.05 MB / 379.1 MB, free: 3.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/0.362, allocations: 7.082 MB / 386.2 MB, free: 10.33 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/0.3621, allocations: 40 kB / 386.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01264/0.3748, allocations: 6.469 MB / 392.7 MB, free: 3.824 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.226e-05/0.3749, allocations: 60.06 kB / 392.8 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001573/0.375, allocations: 128 kB / 392.9 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002172/0.3753, allocations: 172 kB / 393.1 MB, free: 3.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005174/0.3804, allocations: 1.45 MB / 394.5 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002505/0.3807, allocations: 247.7 kB / 394.8 MB, free: 1.777 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003584/0.3843, allocations: 0.7391 MB / 395.5 MB, free: 1.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006675/0.3849, allocations: 340 kB / 395.8 MB, free: 0.707 MB / 346.7 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.002588/0.3875, allocations: 1.581 MB / 397.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005304/0.388, allocations: 271.8 kB / 397.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005806/0.3886, allocations: 293.1 kB / 398 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/0.3887, allocations: 12 kB / 398 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.3887, allocations: 0 / 398 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.3887, allocations: 7.984 kB / 398 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005156/0.3938, allocations: 2.482 MB / 400.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.3938, allocations: 4 kB / 400.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002422/0.3963, allocations: 403.5 kB / 400.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.3963, allocations: 7.938 kB / 400.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.244e-05/0.3964, allocations: 31.98 kB / 400.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.3964, allocations: 4 kB / 400.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3964, allocations: 0 / 400.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00378/0.4002, allocations: 2.514 MB / 403.4 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004239/0.4006, allocations: 214.1 kB / 403.6 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002299/0.4008, allocations: 27.98 kB / 403.7 MB, free: 8.828 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008536/0.4017, allocations: 49.36 kB / 403.7 MB, free: 8.785 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/0.4018, allocations: 55.83 kB / 403.8 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.434e-05/0.4019, allocations: 34.39 kB / 403.8 MB, free: 8.699 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002626/0.4045, allocations: 1.634 MB / 405.4 MB, free: 7.055 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4045, allocations: 0 / 405.4 MB, free: 7.055 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004182/0.4087, allocations: 0.8457 MB / 406.3 MB, free: 6.207 MB / 362.7 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.0003984/0.4091, allocations: 168.9 kB / 406.4 MB, free: 6.031 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005664/0.4148, allocations: 3.238 MB / 409.7 MB, free: 2.828 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4148, allocations: 0 / 409.7 MB, free: 2.828 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001168/0.4159, allocations: 0.5723 MB / 410.3 MB, free: 2.258 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.4174, allocations: 222.2 kB / 410.5 MB, free: 2.043 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.4287, allocations: 6.645 MB / 417.1 MB, free: 11.34 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00286/0.4316, allocations: 1.832 MB / 418.9 MB, free: 9.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003738/0.4353, allocations: 1.604 MB / 420.6 MB, free: 7.871 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004292/0.4357, allocations: 172.5 kB / 420.7 MB, free: 7.699 MB / 378.7 MB Notification: Performance of SimCode: time 1.463e-06/0.4357, allocations: 0 / 420.7 MB, free: 7.699 MB / 378.7 MB Notification: Performance of Templates: time 0.1437/0.5795, allocations: 15.23 MB / 436 MB, free: 119.7 MB / 378.7 MB " [Timeout remaining time 659] 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: 6.09825629403349]