Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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.001346/0.001346, allocations: 84.95 kB / 20.68 MB, free: 1.035 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.001444/0.001444, allocations: 158.2 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.447/1.447, 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.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 325 MB, free: 492 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.16e-05/2.289e-05, allocations: 3.625 kB / 325 MB, free: 488 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.007908/0.007931, allocations: 6.181 MB / 331.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006181/0.01411, allocations: 2.95 MB / 334.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008085/0.01492, allocations: 39.59 kB / 334.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.01658, allocations: 0.689 MB / 334.9 MB, free: 9.863 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003301/0.01988, allocations: 1.437 MB / 336.3 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.02102, allocations: 0.5509 MB / 336.9 MB, free: 8.543 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0049/0.02592, allocations: 3.866 MB / 340.7 MB, free: 5.336 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001372/0.02729, allocations: 0.6777 MB / 341.4 MB, free: 4.648 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002129/0.02942, allocations: 1.294 MB / 342.7 MB, free: 3.352 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002414/0.03183, allocations: 1.59 MB / 344.3 MB, free: 1.754 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003995/0.03223, allocations: 140 kB / 344.4 MB, free: 1.617 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001855/0.03409, allocations: 0.889 MB / 345.3 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.03531, allocations: 1.153 MB / 346.5 MB, free: 15.57 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009956/0.03631, allocations: 0.6734 MB / 347.1 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004982/0.04129, allocations: 4.064 MB / 351.2 MB, free: 10.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.0413, allocations: 0 / 351.2 MB, free: 10.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.0413, allocations: 0 / 351.2 MB, free: 10.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.902e-05/0.04135, allocations: 0 / 351.2 MB, free: 10.82 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: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.007444/0.04879, allocations: 3.285 MB / 354.5 MB, free: 7.484 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.04883, allocations: 15.98 kB / 354.5 MB, free: 7.469 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009931/0.05876, allocations: 2.164 MB / 356.7 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003365/0.06213, allocations: 1.532 MB / 358.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.06225, allocations: 107 kB / 358.3 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009829/0.06323, allocations: 307.5 kB / 358.6 MB, free: 3.332 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01588/0.07911, allocations: 8.273 MB / 366.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.961e-05/0.07918, allocations: 35.67 kB / 366.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002912/0.07947, allocations: 79.89 kB / 367 MB, free: 10.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002487/0.08196, allocations: 1.401 MB / 368.4 MB, free: 8.973 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01988/0.1018, allocations: 9.659 MB / 378.1 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03782/0.1397, allocations: 29.32 MB / 407.4 MB, free: 1.129 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01296/0.1526, allocations: 3.978 MB / 411.4 MB, free: 13.1 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003215/0.1558, allocations: 2.083 MB / 413.4 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.994e-05/0.1559, allocations: 13.06 kB / 413.5 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/0.1559, allocations: 46.5 kB / 413.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.637e-06/0.156, allocations: 4 kB / 413.5 MB, free: 10.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=136): time 0.05166/0.2076, allocations: 18.29 MB / 431.8 MB, free: 8.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002635/0.2102, allocations: 2.983 MB / 434.8 MB, free: 5.277 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004362/0.2146, allocations: 2.982 MB / 437.8 MB, free: 2.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004819/0.2151, allocations: 45.89 kB / 437.8 MB, free: 2.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001655/0.2167, allocations: 2.163 MB / 440 MB, free: 32 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001013/0.2178, allocations: 0.5856 MB / 440.6 MB, free: 15.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001625/0.2194, allocations: 1.008 MB / 441.6 MB, free: 14.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.2195, allocations: 301.1 kB / 441.9 MB, free: 14.12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004452/0.224, allocations: 2.699 MB / 444.6 MB, free: 11.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007558/0.2315, allocations: 5.647 MB / 450.2 MB, free: 4.289 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01305/0.2446, allocations: 8.692 MB / 458.9 MB, free: 10.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001006/0.2447, allocations: 31.94 kB / 458.9 MB, free: 10.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.1946/0.4392, allocations: 12.03 MB / 471 MB, free: 120.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.507e-05/0.4393, allocations: 50.38 kB / 471 MB, free: 120.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02432/0.4636, allocations: 7.239 MB / 478.2 MB, free: 120.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02343/0.4871, allocations: 4.725 MB / 483 MB, free: 120.2 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004244/0.4913, allocations: 1.271 MB / 484.2 MB, free: 120.1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01457/0.5059, allocations: 11.97 MB / 496.2 MB, free: 111.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005429/0.5113, allocations: 0.7123 MB / 496.9 MB, free: 111.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005022/0.5118, allocations: 318.9 kB / 497.2 MB, free: 111.4 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (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 (592): * Single equations (assignments): 577 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001727/0.5135, allocations: 1.411 MB / 498.6 MB, free: 110.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004536/0.514, allocations: 246.8 kB / 498.9 MB, free: 110.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006722/0.5147, allocations: 391 kB / 499.3 MB, free: 110.4 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01129/0.526, allocations: 4.996 MB / 0.4924 GB, free: 106 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.579e-05/0.526, allocations: 11.94 kB / 0.4925 GB, free: 106 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.435e-05/0.526, allocations: 7.922 kB / 0.4925 GB, free: 106 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006309/0.5323, allocations: 4.671 MB / 0.497 GB, free: 101.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.5323, allocations: 0 / 0.497 GB, free: 101.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/0.534, allocations: 375.3 kB / 0.4974 GB, free: 100.9 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008693/0.5427, allocations: 2.381 MB / 0.4997 GB, free: 98.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004004/0.5431, allocations: 43.95 kB / 0.4998 GB, free: 98.5 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007363/0.5505, allocations: 8.928 MB / 0.5085 GB, free: 89.23 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001296/0.5518, allocations: 2.808 MB / 0.5112 GB, free: 86.22 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01525/0.5671, allocations: 8.743 MB / 0.5198 GB, free: 77.58 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007283/0.5678, allocations: 282.5 kB / 0.52 GB, free: 77.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004523/0.5682, allocations: 31.98 kB / 0.5201 GB, free: 77.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002533/0.5708, allocations: 399.3 kB / 0.5204 GB, free: 77.02 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004537/0.5712, allocations: 107.9 kB / 0.5205 GB, free: 76.92 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/0.5714, allocations: 51.91 kB / 0.5206 GB, free: 76.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00216/0.5736, allocations: 1.754 MB / 0.5223 GB, free: 75.1 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5736, allocations: 0 / 0.5223 GB, free: 75.1 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004054/0.5776, allocations: 1.142 MB / 0.5234 GB, free: 73.97 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[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 (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004905/0.5781, allocations: 200 kB / 0.5236 GB, free: 73.78 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01064/0.5887, allocations: 6.933 MB / 0.5304 GB, free: 66.8 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.5888, allocations: 0 / 0.5304 GB, free: 66.8 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005529/0.5943, allocations: 3.265 MB / 0.5336 GB, free: 63.48 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/0.5966, allocations: 289.9 kB / 0.5338 GB, free: 63.21 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009489/0.6061, allocations: 7.825 MB / 0.5415 GB, free: 55.35 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001551/0.6076, allocations: 1.725 MB / 0.5432 GB, free: 53.59 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003156/0.6108, allocations: 1.646 MB / 0.5448 GB, free: 51.94 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009214/0.6117, allocations: 200.4 kB / 0.545 GB, free: 51.75 MB / 430.1 MB Notification: Performance of SimCode: time 1.312e-06/0.6117, allocations: 3.172 kB / 0.545 GB, free: 51.75 MB / 430.1 MB Notification: Performance of Templates: time 0.05872/0.6704, allocations: 44.73 MB / 0.5886 GB, free: 7.219 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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.520774003118277]