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.0009224/0.0009224, allocations: 82.28 kB / 22.21 MB, free: 2.293 MB / 18.57 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.001358/0.001358, allocations: 145.2 kB / 25.59 MB, free: 8.918 MB / 18.57 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.9843/0.9843, allocations: 173.4 MB / 202.3 MB, free: 8.27 MB / 186.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.573e-06/1.573e-06, allocations: 0 / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.651e-05, allocations: 5.266 kB / 269.2 MB, free: 9.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008224/0.00825, allocations: 6.631 MB / 275.8 MB, free: 3.129 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00613/0.01438, allocations: 2.991 MB / 278.8 MB, free: 144 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.01555, allocations: 40.5 kB / 278.9 MB, free: 104 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.01676, allocations: 0.7045 MB / 279.6 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002488/0.01924, allocations: 1.482 MB / 281.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006958/0.01994, allocations: 0.5652 MB / 281.6 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002977/0.02292, allocations: 3.735 MB / 285.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001096/0.02401, allocations: 0.6778 MB / 286 MB, free: 8.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.02572, allocations: 1.313 MB / 287.3 MB, free: 7.594 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/0.02775, allocations: 1.598 MB / 288.9 MB, free: 5.992 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003664/0.02812, allocations: 136 kB / 289.1 MB, free: 5.859 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.02937, allocations: 0.9124 MB / 290 MB, free: 4.945 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007663/0.03014, allocations: 1.173 MB / 291.2 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007404/0.03088, allocations: 0.6851 MB / 291.8 MB, free: 3.082 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002815/0.03369, allocations: 2.914 MB / 294.8 MB, free: 160 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.0337, allocations: 4 kB / 294.8 MB, free: 156 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.0337, allocations: 0 / 294.8 MB, free: 156 kB / 266.7 MB Notification: Performance of Transformations before backend: time 9.528e-05/0.0338, allocations: 0 / 294.8 MB, free: 156 kB / 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.004782/0.03858, allocations: 3.228 MB / 298 MB, free: 12.87 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.03861, allocations: 8.031 kB / 298 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003852/0.04247, allocations: 1.294 MB / 299.3 MB, free: 11.56 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001614/0.04408, allocations: 1.286 MB / 300.6 MB, free: 10.24 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.711e-05/0.04415, allocations: 107 kB / 300.7 MB, free: 10.14 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005603/0.04471, allocations: 299.3 kB / 301 MB, free: 9.844 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006525/0.05123, allocations: 4.406 MB / 305.4 MB, free: 4.668 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.237e-05/0.0513, allocations: 31.75 kB / 305.4 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002053/0.0515, allocations: 75.89 kB / 305.5 MB, free: 4.562 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001175/0.05268, allocations: 1.202 MB / 306.7 MB, free: 3.359 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007569/0.06024, allocations: 3.212 MB / 309.9 MB, free: 152 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0271/0.08734, allocations: 32.72 MB / 342.6 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006678/0.09402, allocations: 1.826 MB / 344.4 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001041/0.09506, allocations: 0.6555 MB / 345.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.945e-05/0.09512, allocations: 27.92 kB / 345.1 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/0.09516, allocations: 57.3 kB / 345.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=122): time 3.978e-06/0.09516, allocations: 0 / 345.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=136): time 0.02428/0.1194, allocations: 7.207 MB / 352.4 MB, free: 4.387 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002106/0.1215, allocations: 3.875 MB / 356.3 MB, free: 228 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1301/0.2517, allocations: 2.639 MB / 358.9 MB, free: 84.69 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007058/0.2524, allocations: 43.36 kB / 358.9 MB, free: 84.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001234/0.2536, allocations: 2.323 MB / 361.3 MB, free: 83.49 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009859/0.2546, allocations: 0.6263 MB / 361.9 MB, free: 83.19 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001427/0.256, allocations: 1.087 MB / 363 MB, free: 83.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.486e-05/0.256, allocations: 477.8 kB / 363.5 MB, free: 82.6 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/0.2574, allocations: 0.7327 MB / 364.2 MB, free: 82.58 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002425/0.2598, allocations: 5.133 MB / 369.3 MB, free: 76.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004089/0.2639, allocations: 6.436 MB / 375.8 MB, free: 71.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.193e-05/0.264, allocations: 29.06 kB / 375.8 MB, free: 71.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01213/0.2761, allocations: 5.191 MB / 381 MB, free: 69.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.98e-05/0.2762, allocations: 52.56 kB / 381 MB, free: 69.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007482/0.2836, allocations: 1.868 MB / 382.9 MB, free: 68.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007991/0.2916, allocations: 0.9861 MB / 383.9 MB, free: 67.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002939/0.2946, allocations: 1.06 MB / 384.9 MB, free: 66.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00557/0.3001, allocations: 8.041 MB / 393 MB, free: 58.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003741/0.3039, allocations: 231.7 kB / 393.2 MB, free: 58.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007503/0.3046, allocations: 279.5 kB / 393.5 MB, free: 57.98 MB / 330.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.001079/0.3057, allocations: 0.5463 MB / 394 MB, free: 57.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005308/0.3062, allocations: 282 kB / 394.3 MB, free: 57.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.3065, allocations: 344.7 kB / 394.6 MB, free: 56.81 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0034/0.3099, allocations: 1.439 MB / 396.1 MB, free: 55.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.549e-05/0.31, allocations: 8.875 kB / 396.1 MB, free: 55.33 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.31, allocations: 3.984 kB / 396.1 MB, free: 55.33 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003842/0.3138, allocations: 3.057 MB / 399.1 MB, free: 52.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.3138, allocations: 6.875 kB / 399.2 MB, free: 52.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007007/0.3145, allocations: 171.8 kB / 399.3 MB, free: 52.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002794/0.3173, allocations: 0.7355 MB / 400.1 MB, free: 51.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.3174, allocations: 47.94 kB / 400.1 MB, free: 51.28 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003307/0.3207, allocations: 7.812 MB / 407.9 MB, free: 43.03 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009315/0.3217, allocations: 3.728 MB / 411.6 MB, free: 39.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006606/0.3283, allocations: 3.056 MB / 414.7 MB, free: 35.94 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009541/0.3292, allocations: 250.2 kB / 414.9 MB, free: 35.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003983/0.3296, allocations: 31.92 kB / 415 MB, free: 35.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001427/0.3311, allocations: 20 kB / 415 MB, free: 35.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004242/0.3315, allocations: 111.7 kB / 415.1 MB, free: 35.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001667/0.3317, allocations: 51.94 kB / 415.2 MB, free: 35.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001454/0.3331, allocations: 1.063 MB / 416.2 MB, free: 34.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3331, allocations: 4 kB / 416.2 MB, free: 34.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.005156/0.3383, allocations: 1.162 MB / 417.4 MB, free: 33.25 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.0005171/0.3388, allocations: 189 kB / 417.6 MB, free: 33.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007601/0.3464, allocations: 3.718 MB / 421.3 MB, free: 29.26 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.3464, allocations: 0 / 421.3 MB, free: 29.26 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002864/0.3493, allocations: 1.787 MB / 423.1 MB, free: 27.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001767/0.351, allocations: 312.9 kB / 423.4 MB, free: 27.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006777/0.3578, allocations: 5.981 MB / 429.4 MB, free: 21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005836/0.3584, allocations: 0.7971 MB / 430.2 MB, free: 20.18 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001412/0.3598, allocations: 379.7 kB / 430.5 MB, free: 19.81 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008091/0.3606, allocations: 462 kB / 431 MB, free: 19.36 MB / 330.7 MB Notification: Performance of SimCode: time 1.973e-06/0.3606, allocations: 3.828 kB / 431 MB, free: 19.36 MB / 330.7 MB Notification: Performance of Templates: time 0.05568/0.4163, allocations: 49.19 MB / 480.2 MB, free: 2.305 MB / 362.7 MB " [Timeout remaining time 660] 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 -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: 4.353187941014767]