Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001861/0.003053, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001502/0.002559, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.974/0.974, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09662/1.071, allocations: 52.49 MB / 238.3 MB, free: 4.441 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|body2.frame_a.r_0.[0-9,]+.|body2.v_0.[0-9,]+.|body2.w_a.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_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.[0-9,]+.|body1.v_0.[0-9,]+.|body1.w_a.[0-9,]+.|body2.frame_a.r_0.[0-9,]+.|body2.v_0.[0-9,]+.|body2.w_a.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.458e-05, allocations: 6.312 kB / 239.6 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.006352/0.006377, allocations: 6.718 MB / 246.3 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003702/0.01008, allocations: 3.126 MB / 249.4 MB, free: 9.281 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002772/0.01036, allocations: 39.81 kB / 249.4 MB, free: 9.242 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008424/0.0112, allocations: 0.704 MB / 250.1 MB, free: 8.535 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001688/0.01289, allocations: 1.443 MB / 251.6 MB, free: 7.086 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006397/0.01353, allocations: 0.499 MB / 252.1 MB, free: 6.586 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002432/0.01596, allocations: 3.529 MB / 255.6 MB, free: 3.055 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007372/0.01669, allocations: 0.5027 MB / 256.1 MB, free: 2.535 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.01801, allocations: 1.545 MB / 257.7 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001258/0.01927, allocations: 1.504 MB / 259.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001817/0.01945, allocations: 140 kB / 259.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.0205, allocations: 0.9359 MB / 260.2 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006795/0.02118, allocations: 1.056 MB / 261.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005031/0.02169, allocations: 0.5489 MB / 261.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002321/0.02401, allocations: 2.681 MB / 264.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.424e-05/0.02402, allocations: 4 kB / 264.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.02402, allocations: 0 / 264.5 MB, free: 10.1 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.299e-05/0.02406, allocations: 0 / 264.5 MB, free: 10.1 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: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.003398/0.02746, allocations: 3.343 MB / 267.9 MB, free: 6.695 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.766e-05/0.02748, allocations: 8.031 kB / 267.9 MB, free: 6.688 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002863/0.03035, allocations: 0.941 MB / 268.8 MB, free: 5.746 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.03148, allocations: 1.196 MB / 270 MB, free: 4.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.728e-05/0.03154, allocations: 107 kB / 270.1 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000498/0.03204, allocations: 291.3 kB / 270.4 MB, free: 4.129 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1136/0.1457, allocations: 3.921 MB / 274.3 MB, free: 21.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.47e-05/0.1458, allocations: 35.44 kB / 274.4 MB, free: 21.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002066/0.146, allocations: 75.73 kB / 274.4 MB, free: 21.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001271/0.1473, allocations: 1.212 MB / 275.6 MB, free: 21.46 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006071/0.1533, allocations: 3.077 MB / 278.7 MB, free: 21.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01521/0.1685, allocations: 22.84 MB / 301.6 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004137/0.1727, allocations: 1.796 MB / 303.4 MB, free: 3.867 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006459/0.1733, allocations: 0.5279 MB / 303.9 MB, free: 3.805 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.903e-05/0.1734, allocations: 20.12 kB / 303.9 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.407e-05/0.1734, allocations: 49.3 kB / 304 MB, free: 3.754 MB / 266.7 MB Notification: Performance of pre-optimization done (n=122): time 4.468e-06/0.1734, allocations: 0 / 304 MB, free: 3.754 MB / 266.7 MB Notification: Performance of matching and sorting (n=136): time 0.01513/0.1886, allocations: 6.19 MB / 310.1 MB, free: 14.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001323/0.1899, allocations: 2.839 MB / 313 MB, free: 11.6 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002154/0.192, allocations: 2.339 MB / 315.3 MB, free: 9.656 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004714/0.1925, allocations: 45.7 kB / 315.4 MB, free: 9.605 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008807/0.1934, allocations: 2.052 MB / 317.4 MB, free: 7.676 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005868/0.194, allocations: 0.5896 MB / 318 MB, free: 7.121 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008889/0.1949, allocations: 0.9156 MB / 318.9 MB, free: 6.305 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.756e-05/0.1949, allocations: 305.1 kB / 319.2 MB, free: 6.004 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.1963, allocations: 0.8558 MB / 320.1 MB, free: 5.145 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002448/0.1988, allocations: 3.682 MB / 323.8 MB, free: 24 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004033/0.2028, allocations: 5.055 MB / 328.8 MB, free: 9.512 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-05/0.2029, allocations: 28 kB / 328.8 MB, free: 9.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01043/0.2133, allocations: 4.566 MB / 333.4 MB, free: 4.879 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.873e-05/0.2133, allocations: 48 kB / 333.5 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009043/0.2224, allocations: 1.704 MB / 335.2 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006664/0.2291, allocations: 0.9841 MB / 336.1 MB, free: 2.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002873/0.2319, allocations: 1.175 MB / 337.3 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005638/0.2376, allocations: 5.834 MB / 343.2 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003169/0.2407, allocations: 227.7 kB / 343.4 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005042/0.2412, allocations: 275.9 kB / 343.6 MB, free: 10.18 MB / 314.7 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 (world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],body1.sphereColor[1],body1.sphereColor[2],body1.sphereColor[3],body2.sphereColor[1],body2.sphereColor[2],body2.sphereColor[3]) * 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.001081/0.2423, allocations: 0.5157 MB / 344.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003993/0.2427, allocations: 155.8 kB / 344.3 MB, free: 9.496 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003572/0.2431, allocations: 344.7 kB / 344.6 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004205/0.2473, allocations: 1.242 MB / 345.9 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.2473, allocations: 4 kB / 345.9 MB, free: 7.867 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.405e-05/0.2473, allocations: 11.97 kB / 345.9 MB, free: 7.855 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004645/0.252, allocations: 2.496 MB / 348.4 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.096e-06/0.252, allocations: 4 kB / 348.4 MB, free: 5.301 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.2531, allocations: 207.6 kB / 348.6 MB, free: 5.098 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004102/0.2535, allocations: 242.2 kB / 348.8 MB, free: 4.859 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003776/0.2573, allocations: 0.8548 MB / 349.7 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001994/0.2575, allocations: 39.95 kB / 349.7 MB, free: 3.93 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004734/0.2622, allocations: 5.581 MB / 355.3 MB, free: 13.97 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001225/0.2635, allocations: 2.674 MB / 358 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005938/0.2694, allocations: 2.654 MB / 360.6 MB, free: 8.375 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005862/0.27, allocations: 27.98 kB / 360.7 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/0.2712, allocations: 31.92 kB / 360.7 MB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003661/0.2716, allocations: 107.8 kB / 360.8 MB, free: 8.211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/0.2717, allocations: 39.95 kB / 360.9 MB, free: 8.172 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001175/0.2729, allocations: 0.8334 MB / 361.7 MB, free: 7.324 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2729, allocations: 0 / 361.7 MB, free: 7.324 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004621/0.2775, allocations: 1.16 MB / 362.8 MB, free: 6.164 MB / 330.7 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.000538/0.2781, allocations: 178 kB / 363 MB, free: 5.984 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006112/0.2842, allocations: 3.315 MB / 366.3 MB, free: 2.605 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001812/0.2844, allocations: 67.92 kB / 366.4 MB, free: 2.535 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002652/0.287, allocations: 1.461 MB / 367.9 MB, free: 1 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/0.2894, allocations: 0.6168 MB / 368.5 MB, free: 392 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/0.3, allocations: 5.502 MB / 374 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008799/0.3009, allocations: 0.7949 MB / 374.8 MB, free: 9.977 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001705/0.3026, allocations: 379.8 kB / 375.1 MB, free: 9.602 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/0.3038, allocations: 425.1 kB / 375.6 MB, free: 9.188 MB / 346.7 MB Notification: Performance of SimCode: time 1.953e-06/0.3038, allocations: 4 kB / 375.6 MB, free: 9.184 MB / 346.7 MB Notification: Performance of Templates: time 0.2074/0.5112, allocations: 48.5 MB / 424.1 MB, free: 118.7 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/PointGravity/PointGravity.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8684514611959457]