Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001311/0.001311, allocations: 75.73 kB / 21.24 MB, free: 0.5469 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.001372/0.001372, allocations: 161.2 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.409/1.409, allocations: 177.2 MB / 204.9 MB, free: 9.031 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001546, allocations: 50.58 kB / 325.6 MB, free: 252 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08796/0.08951, allocations: 53.34 MB / 378.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses): time 0.009514/0.09902, allocations: 7.023 MB / 385.9 MB, free: 8.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004871/0.1039, allocations: 2.438 MB / 388.4 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004278/0.1043, allocations: 39.88 kB / 388.4 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002777/0.1071, allocations: 1.409 MB / 389.8 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.109, allocations: 1.019 MB / 390.8 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005676/0.1096, allocations: 263.5 kB / 391.1 MB, free: 3.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002549/0.1121, allocations: 2.153 MB / 393.2 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.1137, allocations: 1.344 MB / 394.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009256/0.1146, allocations: 0.8484 MB / 395.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.1163, allocations: 1.242 MB / 396.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002743/0.1165, allocations: 164 kB / 396.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001058/0.1176, allocations: 0.5772 MB / 397.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.1187, allocations: 1.168 MB / 398.6 MB, free: 11.88 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.1198, allocations: 0.9816 MB / 399.6 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004482/0.1243, allocations: 4.294 MB / 403.9 MB, free: 6.582 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.1243, allocations: 3.938 kB / 403.9 MB, free: 6.578 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1243, allocations: 0 / 403.9 MB, free: 6.578 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.006e-05/0.1243, allocations: 0 / 403.9 MB, free: 6.578 MB / 366.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.004176/0.1285, allocations: 2.935 MB / 406.8 MB, free: 3.594 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.1285, allocations: 8.031 kB / 406.8 MB, free: 3.586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007441/0.136, allocations: 1.945 MB / 408.8 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.138, allocations: 1.109 MB / 409.9 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.1382, allocations: 151.8 kB / 410 MB, free: 356 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000388/0.1386, allocations: 207.8 kB / 410.2 MB, free: 148 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01602/0.1546, allocations: 8.246 MB / 418.5 MB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.24e-05/0.1547, allocations: 47.64 kB / 418.5 MB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002568/0.1549, allocations: 103.9 kB / 418.6 MB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002692/0.1576, allocations: 1.558 MB / 420.2 MB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01609/0.1737, allocations: 6.773 MB / 426.9 MB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03251/0.2062, allocations: 27.62 MB / 454.6 MB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02/0.2262, allocations: 4.473 MB / 459 MB, free: 13.76 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/0.2275, allocations: 0.8205 MB / 459.9 MB, free: 12.92 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004657/0.2322, allocations: 2.643 MB / 462.5 MB, free: 10.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.008e-05/0.2322, allocations: 46.89 kB / 462.5 MB, free: 10.19 MB / 430.1 MB Notification: Performance of pre-optimization done (n=111): time 2.995e-06/0.2322, allocations: 0 / 462.5 MB, free: 10.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=111): time 0.0403/0.2725, allocations: 8.468 MB / 471 MB, free: 1.711 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.2727, allocations: 195.9 kB / 471.2 MB, free: 1.477 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1755/0.4481, allocations: 2.955 MB / 474.2 MB, free: 85.03 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.4483, allocations: 40.61 kB / 474.2 MB, free: 85 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001077/0.4494, allocations: 2.551 MB / 476.7 MB, free: 83.61 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003647/0.4497, allocations: 0.5101 MB / 477.3 MB, free: 83.34 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001118/0.4509, allocations: 1.094 MB / 478.4 MB, free: 82.93 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.904e-05/0.4509, allocations: 336.5 kB / 478.7 MB, free: 82.62 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002014/0.4529, allocations: 1.48 MB / 480.2 MB, free: 82.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003276/0.4562, allocations: 5.056 MB / 485.2 MB, free: 76.89 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00553/0.4617, allocations: 7.075 MB / 492.3 MB, free: 70.54 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001008/0.4618, allocations: 37.12 kB / 492.3 MB, free: 70.54 MB / 430.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.008154/0.47, allocations: 6.182 MB / 498.5 MB, free: 68.16 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.303e-05/0.4701, allocations: 61.56 kB / 498.6 MB, free: 68.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-05/0.4702, allocations: 125 kB / 498.7 MB, free: 68.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001204/0.4703, allocations: 169.4 kB / 498.9 MB, free: 68.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004178/0.4745, allocations: 1.449 MB / 0.4886 GB, free: 68 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001158/0.4746, allocations: 254 kB / 0.4888 GB, free: 67.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002967/0.4776, allocations: 0.7455 MB / 0.4895 GB, free: 67.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003007/0.4779, allocations: 336 kB / 0.4899 GB, free: 66.74 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.001452/0.4793, allocations: 1.569 MB / 0.4914 GB, free: 65.34 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002832/0.4796, allocations: 238.4 kB / 0.4916 GB, free: 65.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003599/0.4799, allocations: 298.7 kB / 0.4919 GB, free: 64.84 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/0.48, allocations: 18.81 kB / 0.4919 GB, free: 64.83 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.48, allocations: 4 kB / 0.4919 GB, free: 64.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.48, allocations: 3.609 kB / 0.4919 GB, free: 64.82 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003561/0.4835, allocations: 2.479 MB / 0.4944 GB, free: 62.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.4835, allocations: 4 kB / 0.4944 GB, free: 62.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002181/0.4857, allocations: 410.3 kB / 0.4948 GB, free: 62.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.4857, allocations: 4 kB / 0.4948 GB, free: 62.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.101e-05/0.4858, allocations: 39.11 kB / 0.4948 GB, free: 62.39 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.4858, allocations: 4 kB / 0.4948 GB, free: 62.39 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.4858, allocations: 0 / 0.4948 GB, free: 62.39 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.4879, allocations: 2.488 MB / 0.4972 GB, free: 60.11 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000279/0.4882, allocations: 210.2 kB / 0.4974 GB, free: 59.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.4884, allocations: 31.84 kB / 0.4975 GB, free: 59.87 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008108/0.4892, allocations: 43.09 kB / 0.4975 GB, free: 59.84 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.603e-05/0.4893, allocations: 54.11 kB / 0.4976 GB, free: 59.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.35e-05/0.4894, allocations: 32.69 kB / 0.4976 GB, free: 59.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001488/0.4909, allocations: 1.64 MB / 0.4992 GB, free: 58.34 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4909, allocations: 0 / 0.4992 GB, free: 58.34 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003242/0.4941, allocations: 0.8457 MB / 0.5 GB, free: 57.49 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.0002354/0.4944, allocations: 174.7 kB / 0.5002 GB, free: 57.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003585/0.4979, allocations: 3.234 MB / 0.5033 GB, free: 54.11 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4979, allocations: 0 / 0.5033 GB, free: 54.11 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005886/0.4985, allocations: 0.5593 MB / 0.5039 GB, free: 53.55 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/0.4998, allocations: 223 kB / 0.5041 GB, free: 53.35 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007552/0.5073, allocations: 7.019 MB / 0.511 GB, free: 46.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001697/0.509, allocations: 1.821 MB / 0.5127 GB, free: 44.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002817/0.5119, allocations: 1.608 MB / 0.5143 GB, free: 42.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003282/0.5122, allocations: 172.5 kB / 0.5145 GB, free: 42.68 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5122, allocations: 4 kB / 0.5145 GB, free: 42.68 MB / 430.1 MB Notification: Performance of Templates: time 0.03092/0.5431, allocations: 15.22 MB / 0.5293 GB, free: 27.87 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravityWithPointMasses/PointGravityWithPointMasses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.607192209921777]