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.001862/0.001862, allocations: 90.03 kB / 22 MB, free: 5.191 MB / 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.002181/0.002181, allocations: 161.8 kB / 25.24 MB, free: 3.035 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.298/1.298, allocations: 158.6 MB / 187 MB, free: 6.25 MB / 174.1 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.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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 55.92 kB / 299.4 MB, free: 6.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1993, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.008871/0.2082, allocations: 7.038 MB / 355.5 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004601/0.2128, allocations: 2.447 MB / 358 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004613/0.2132, allocations: 43.81 kB / 358 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002744/0.216, allocations: 1.394 MB / 359.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002104/0.2181, allocations: 1.023 MB / 360.5 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.2187, allocations: 271.4 kB / 360.7 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002524/0.2212, allocations: 2.185 MB / 362.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.2228, allocations: 1.348 MB / 364.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009233/0.2237, allocations: 0.8523 MB / 365.1 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001628/0.2253, allocations: 1.245 MB / 366.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002898/0.2256, allocations: 164 kB / 366.5 MB, free: 13.44 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00105/0.2267, allocations: 0.5616 MB / 367.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.2277, allocations: 1.192 MB / 368.3 MB, free: 11.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.2288, allocations: 0.9973 MB / 369.3 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004339/0.2331, allocations: 4.339 MB / 373.6 MB, free: 6.328 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.2331, allocations: 0 / 373.6 MB, free: 6.328 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2331, allocations: 0 / 373.6 MB, free: 6.328 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.279e-05/0.2332, allocations: 0 / 373.6 MB, free: 6.328 MB / 334.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.004085/0.2373, allocations: 2.958 MB / 376.6 MB, free: 3.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.2373, allocations: 11.98 kB / 376.6 MB, free: 3.309 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007225/0.2445, allocations: 1.941 MB / 378.5 MB, free: 1.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/0.2468, allocations: 1.117 MB / 379.6 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.2469, allocations: 151.8 kB / 379.8 MB, free: 72 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003634/0.2472, allocations: 199.9 kB / 380 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01569/0.2629, allocations: 8.231 MB / 388.2 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-05/0.263, allocations: 47.69 kB / 388.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002576/0.2633, allocations: 99.88 kB / 388.3 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002607/0.2659, allocations: 1.562 MB / 389.9 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01595/0.2818, allocations: 6.768 MB / 396.7 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03425/0.3161, allocations: 27.63 MB / 424.3 MB, free: 2.043 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01964/0.3357, allocations: 4.456 MB / 428.8 MB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001267/0.337, allocations: 0.826 MB / 429.6 MB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004528/0.3415, allocations: 2.601 MB / 432.2 MB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.9e-05/0.3416, allocations: 50.83 kB / 432.2 MB, free: 9.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=111): time 3.096e-06/0.3416, allocations: 0 / 432.2 MB, free: 9.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=111): time 0.03887/0.3804, allocations: 8.445 MB / 440.7 MB, free: 1.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/0.3805, allocations: 195.9 kB / 440.9 MB, free: 1.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004132/0.3847, allocations: 2.974 MB / 443.9 MB, free: 14.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.821e-05/0.3848, allocations: 37.7 kB / 443.9 MB, free: 14.25 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00192/0.3867, allocations: 2.554 MB / 446.4 MB, free: 11.67 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005209/0.3872, allocations: 0.5119 MB / 447 MB, free: 11.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001384/0.3886, allocations: 1.084 MB / 448 MB, free: 10.06 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3887, allocations: 345.9 kB / 448.4 MB, free: 9.715 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/0.391, allocations: 1.471 MB / 449.8 MB, free: 8.238 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005125/0.3961, allocations: 5.044 MB / 454.9 MB, free: 1.391 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008081/0.4042, allocations: 7.079 MB / 462 MB, free: 8.523 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001/0.4043, allocations: 36 kB / 462 MB, free: 8.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01003/0.4143, allocations: 6.17 MB / 468.2 MB, free: 2.312 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.085e-05/0.4144, allocations: 60 kB / 468.2 MB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001791/0.4146, allocations: 124 kB / 468.4 MB, free: 2.133 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/0.4148, allocations: 168 kB / 468.5 MB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004853/0.4196, allocations: 1.451 MB / 470 MB, free: 0.5156 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002369/0.4199, allocations: 259 kB / 470.2 MB, free: 268 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1717/0.5916, allocations: 0.7348 MB / 471 MB, free: 105.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008885/0.5925, allocations: 341.8 kB / 471.3 MB, free: 105.5 MB / 430.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.00217/0.5947, allocations: 1.578 MB / 472.9 MB, free: 105.4 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004659/0.5951, allocations: 240.2 kB / 473.1 MB, free: 105.4 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001024/0.5962, allocations: 0.6801 MB / 473.8 MB, free: 105.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-05/0.5962, allocations: 12.38 kB / 473.8 MB, free: 105.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.5962, allocations: 6.312 kB / 473.8 MB, free: 105.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.5962, allocations: 5.312 kB / 473.8 MB, free: 105.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004336/0.6005, allocations: 2.478 MB / 476.3 MB, free: 104.2 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/0.6005, allocations: 1.594 kB / 476.3 MB, free: 104.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002201/0.6027, allocations: 409.1 kB / 476.7 MB, free: 104.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.6027, allocations: 4.781 kB / 476.7 MB, free: 104.2 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.061e-05/0.6028, allocations: 34.02 kB / 476.7 MB, free: 104.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/0.6028, allocations: 4.531 kB / 476.7 MB, free: 104.2 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6028, allocations: 5.203 kB / 476.7 MB, free: 104.2 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/0.605, allocations: 2.467 MB / 479.2 MB, free: 103.1 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003268/0.6054, allocations: 210 kB / 479.4 MB, free: 103 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002048/0.6056, allocations: 29.86 kB / 479.4 MB, free: 103 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007982/0.6064, allocations: 44.69 kB / 479.5 MB, free: 102.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.626e-05/0.6065, allocations: 57.88 kB / 479.5 MB, free: 102.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.493e-05/0.6065, allocations: 33.45 kB / 479.6 MB, free: 102.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001703/0.6082, allocations: 1.642 MB / 481.2 MB, free: 102.4 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6082, allocations: 0 / 481.2 MB, free: 102.4 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003587/0.6118, allocations: 0.8645 MB / 482.1 MB, free: 102.2 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.0002718/0.6121, allocations: 164.6 kB / 482.2 MB, free: 102.1 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003524/0.6156, allocations: 3.226 MB / 485.5 MB, free: 101 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6156, allocations: 2 kB / 485.5 MB, free: 101 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005788/0.6162, allocations: 0.5552 MB / 486 MB, free: 100.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.6176, allocations: 221.1 kB / 486.2 MB, free: 100.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008046/0.6256, allocations: 7.023 MB / 493.3 MB, free: 93.89 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/0.6273, allocations: 1.823 MB / 495.1 MB, free: 92.51 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002835/0.6302, allocations: 1.613 MB / 496.7 MB, free: 91.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/0.6305, allocations: 175.7 kB / 496.9 MB, free: 91.16 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6305, allocations: 4 kB / 496.9 MB, free: 91.15 MB / 430.1 MB Notification: Performance of Templates: time 0.03127/0.6618, allocations: 15.24 MB / 0.5001 GB, free: 75.96 MB / 430.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","/var/lib/jenkins1/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.682111762929708]