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.002549/0.002549, allocations: 103.5 kB / 20.97 MB, free: 3.453 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.003028/0.003028, allocations: 156.8 kB / 24.27 MB, free: 156 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.618/1.618, allocations: 177 MB / 204.5 MB, free: 5.633 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.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.482e-06/1.482e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.241e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.01025/0.01028, allocations: 6.746 MB / 279 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007522/0.0178, allocations: 3.029 MB / 282 MB, free: 7.996 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009697/0.01877, allocations: 35.81 kB / 282 MB, free: 7.961 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.02069, allocations: 0.7119 MB / 282.7 MB, free: 7.246 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004075/0.02477, allocations: 1.443 MB / 284.2 MB, free: 5.797 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.02603, allocations: 0.5535 MB / 284.7 MB, free: 5.242 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.005529/0.03156, allocations: 3.866 MB / 288.6 MB, free: 1.367 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/0.03336, allocations: 0.6855 MB / 289.3 MB, free: 0.668 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1425/0.1758, allocations: 1.287 MB / 290.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003207/0.1791, allocations: 1.596 MB / 292.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005195/0.1796, allocations: 138 kB / 292.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.1818, allocations: 0.8901 MB / 293.2 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001337/0.1832, allocations: 1.157 MB / 294.3 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.1843, allocations: 0.6729 MB / 295 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005769/0.19, allocations: 4.064 MB / 299.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.1901, allocations: 1.125 kB / 299.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1901, allocations: 0 / 299.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001264/0.1902, allocations: 1.594 kB / 299.1 MB, free: 15.51 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.009941/0.2001, allocations: 3.801 MB / 302.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.2002, allocations: 12.36 kB / 302.9 MB, free: 13.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009602/0.2098, allocations: 2.414 MB / 305.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003555/0.2133, allocations: 1.393 MB / 306.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.341e-05/0.2134, allocations: 113.5 kB / 306.8 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000942/0.2144, allocations: 291.4 kB / 307.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01183/0.2262, allocations: 5.438 MB / 312.5 MB, free: 8.105 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.86e-05/0.2263, allocations: 29.69 kB / 312.6 MB, free: 8.105 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/0.2266, allocations: 84.38 kB / 312.6 MB, free: 8.066 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001926/0.2285, allocations: 1.395 MB / 314 MB, free: 6.695 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01248/0.241, allocations: 4.737 MB / 318.8 MB, free: 2.117 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04872/0.2897, allocations: 36.06 MB / 354.8 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01162/0.3013, allocations: 2.668 MB / 357.5 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/0.3031, allocations: 0.7521 MB / 358.3 MB, free: 9.816 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.66e-05/0.3032, allocations: 20 kB / 358.3 MB, free: 9.797 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.472e-05/0.3033, allocations: 57.2 kB / 358.3 MB, free: 9.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 3.256e-06/0.3033, allocations: 0 / 358.3 MB, free: 9.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=136): time 0.04783/0.3511, allocations: 12.35 MB / 370.7 MB, free: 13.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003857/0.355, allocations: 3.971 MB / 374.7 MB, free: 8.992 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005929/0.3609, allocations: 3.264 MB / 377.9 MB, free: 5.699 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008103/0.3617, allocations: 41.7 kB / 378 MB, free: 5.652 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003041/0.3648, allocations: 2.438 MB / 380.4 MB, free: 3.227 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001567/0.3663, allocations: 0.6552 MB / 381.1 MB, free: 2.578 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002404/0.3687, allocations: 1.226 MB / 382.3 MB, free: 1.344 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002494/0.369, allocations: 480.8 kB / 382.8 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/0.3714, allocations: 0.849 MB / 383.6 MB, free: 16 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007286/0.3787, allocations: 5.379 MB / 389 MB, free: 8.621 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/0.3895, allocations: 6.823 MB / 395.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001159/0.3897, allocations: 32 kB / 395.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03378/0.4234, allocations: 8.148 MB / 404 MB, free: 7.598 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.388e-05/0.4235, allocations: 48.19 kB / 404 MB, free: 7.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0231/0.4466, allocations: 4.473 MB / 408.5 MB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02474/0.4714, allocations: 3.943 MB / 412.4 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004995/0.4763, allocations: 1.259 MB / 413.7 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01621/0.4926, allocations: 9.113 MB / 422.8 MB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006123/0.4987, allocations: 0.6824 MB / 423.5 MB, free: 3.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008367/0.4995, allocations: 308 kB / 423.8 MB, free: 3.219 MB / 378.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 (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.001665/0.5012, allocations: 0.6117 MB / 424.4 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007237/0.5019, allocations: 276.8 kB / 424.7 MB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.5029, allocations: 344.7 kB / 425 MB, free: 1.992 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0109/0.5138, allocations: 2.496 MB / 427.5 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.087e-05/0.5139, allocations: 11.94 kB / 427.5 MB, free: 15.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.761e-05/0.5139, allocations: 11.97 kB / 427.5 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.5242, allocations: 4.203 MB / 431.7 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.5242, allocations: 7.938 kB / 431.7 MB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001988/0.5262, allocations: 367.4 kB / 432.1 MB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009466/0.5357, allocations: 1.6 MB / 433.7 MB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008863/0.5366, allocations: 39.95 kB / 433.7 MB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01081/0.5474, allocations: 8.321 MB / 442.1 MB, free: 340 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.1265/0.6739, allocations: 3.804 MB / 445.9 MB, free: 125 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01374/0.6877, allocations: 4.228 MB / 450.1 MB, free: 124.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000958/0.6886, allocations: 271.6 kB / 450.4 MB, free: 124.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005089/0.6891, allocations: 33.97 kB / 450.4 MB, free: 124.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002529/0.6917, allocations: 381.7 kB / 450.8 MB, free: 124.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004762/0.6921, allocations: 110.5 kB / 450.9 MB, free: 124.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001961/0.6923, allocations: 52.09 kB / 450.9 MB, free: 124.2 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002285/0.6946, allocations: 1.355 MB / 452.3 MB, free: 124 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6946, allocations: 0 / 452.3 MB, free: 124 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004572/0.6992, allocations: 1.135 MB / 453.4 MB, free: 124 MB / 394.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.000499/0.6997, allocations: 195.2 kB / 453.6 MB, free: 124 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008851/0.7085, allocations: 4.545 MB / 458.2 MB, free: 122.9 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.7085, allocations: 0 / 458.2 MB, free: 122.9 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00519/0.7137, allocations: 2.341 MB / 460.5 MB, free: 122.1 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/0.7161, allocations: 330.3 kB / 460.8 MB, free: 122.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008204/0.7243, allocations: 6.075 MB / 466.9 MB, free: 119.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/0.7258, allocations: 1.554 MB / 468.4 MB, free: 119.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002774/0.7286, allocations: 1.315 MB / 469.8 MB, free: 118.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007432/0.7293, allocations: 197.4 kB / 470 MB, free: 118.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.352e-06/0.7293, allocations: 0 / 470 MB, free: 118.5 MB / 394.7 MB Notification: Performance of Templates: time 0.05688/0.7862, allocations: 45.73 MB / 0.5036 GB, free: 74.76 MB / 394.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 240] 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.702401675051078]