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.0009239/0.0009239, allocations: 85.05 kB / 21.5 MB, free: 2.984 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.0009381/0.0009381, allocations: 147.5 kB / 24.89 MB, free: 8.738 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.8729/0.8729, allocations: 173.3 MB / 201.5 MB, free: 9.195 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.603e-06/1.603e-06, allocations: 0 / 268.5 MB, free: 6.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065e-05/1.225e-05, allocations: 2.312 kB / 268.5 MB, free: 6.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.006279/0.006291, allocations: 6.646 MB / 275.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004067/0.01036, allocations: 3.099 MB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003846/0.01074, allocations: 35.88 kB / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.01186, allocations: 0.7079 MB / 279 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00201/0.01387, allocations: 1.482 MB / 280.4 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006505/0.01452, allocations: 0.5651 MB / 281 MB, free: 9.586 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002855/0.01737, allocations: 3.728 MB / 284.7 MB, free: 5.855 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006573/0.01803, allocations: 0.7091 MB / 285.4 MB, free: 5.129 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.01917, allocations: 1.309 MB / 286.8 MB, free: 3.816 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001383/0.02055, allocations: 1.516 MB / 288.3 MB, free: 2.297 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001795/0.02073, allocations: 140 kB / 288.4 MB, free: 2.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001001/0.02173, allocations: 0.9085 MB / 289.3 MB, free: 1.25 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007687/0.0225, allocations: 1.169 MB / 290.5 MB, free: 80 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1114/0.1339, allocations: 0.6861 MB / 291.2 MB, free: 18.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00321/0.1371, allocations: 2.922 MB / 294.1 MB, free: 18.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1371, allocations: 0.6094 kB / 294.1 MB, free: 18.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1371, allocations: 1.125 kB / 294.1 MB, free: 18.77 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.172e-05/0.1372, allocations: 0 / 294.1 MB, free: 18.77 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.004295/0.1415, allocations: 2.785 MB / 296.9 MB, free: 17.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.1415, allocations: 10.61 kB / 296.9 MB, free: 17.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003127/0.1446, allocations: 0.9492 MB / 297.8 MB, free: 17.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.1461, allocations: 1.201 MB / 299 MB, free: 17.12 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-05/0.1461, allocations: 109.4 kB / 299.1 MB, free: 17.12 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005551/0.1467, allocations: 298.6 kB / 299.4 MB, free: 17.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004649/0.1513, allocations: 3.935 MB / 303.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.293e-05/0.1514, allocations: 34.19 kB / 303.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/0.1516, allocations: 83.48 kB / 303.5 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000948/0.1526, allocations: 1.2 MB / 304.7 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004573/0.1571, allocations: 3.139 MB / 307.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01147/0.1686, allocations: 22.85 MB / 330.7 MB, free: 10.68 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004102/0.1727, allocations: 1.841 MB / 332.5 MB, free: 8.84 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005534/0.1732, allocations: 0.5336 MB / 333.1 MB, free: 8.297 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.25e-05/0.1733, allocations: 23.56 kB / 333.1 MB, free: 8.277 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1733, allocations: 42.56 kB / 333.1 MB, free: 8.227 MB / 282.7 MB Notification: Performance of pre-optimization done (n=122): time 2.685e-06/0.1733, allocations: 4 kB / 333.1 MB, free: 8.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=136): time 0.01499/0.1883, allocations: 6.253 MB / 339.4 MB, free: 1.996 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001186/0.1895, allocations: 2.833 MB / 342.2 MB, free: 14.94 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/0.1915, allocations: 2.355 MB / 344.6 MB, free: 12.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001363/0.1916, allocations: 41.7 kB / 344.6 MB, free: 12.93 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007933/0.1924, allocations: 2.045 MB / 346.6 MB, free: 11.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004216/0.1929, allocations: 0.5895 MB / 347.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009243/0.1938, allocations: 0.9145 MB / 348.1 MB, free: 9.641 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.949e-05/0.1938, allocations: 305.1 kB / 348.4 MB, free: 9.34 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001343/0.1952, allocations: 0.8554 MB / 349.3 MB, free: 8.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002468/0.1977, allocations: 3.683 MB / 353 MB, free: 3.469 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004166/0.2018, allocations: 5.051 MB / 358 MB, free: 13.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.918e-05/0.2019, allocations: 31.06 kB / 358.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01151/0.2134, allocations: 4.558 MB / 362.6 MB, free: 8.469 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.422e-05/0.2134, allocations: 53.72 kB / 362.7 MB, free: 8.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008875/0.2223, allocations: 1.691 MB / 364.4 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009115/0.2314, allocations: 0.9807 MB / 365.3 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/0.2339, allocations: 1.053 MB / 366.4 MB, free: 4.637 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006628/0.2406, allocations: 5.822 MB / 372.2 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005987/0.2466, allocations: 230.5 kB / 372.4 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004079/0.247, allocations: 276 kB / 372.7 MB, free: 13.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.001195/0.2482, allocations: 0.5018 MB / 373.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004418/0.2486, allocations: 159 kB / 373.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000412/0.249, allocations: 344.7 kB / 373.7 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007092/0.2561, allocations: 1.24 MB / 375 MB, free: 11.69 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.2561, allocations: 11.94 kB / 375 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.2561, allocations: 7.969 kB / 375 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.2666, allocations: 2.495 MB / 377.5 MB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.2666, allocations: 8 kB / 377.5 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009119/0.2675, allocations: 171.8 kB / 377.6 MB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004483/0.272, allocations: 0.8625 MB / 378.5 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.2722, allocations: 43.94 kB / 378.5 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003286/0.2754, allocations: 5.567 MB / 384.1 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009016/0.2763, allocations: 2.666 MB / 386.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004267/0.2806, allocations: 2.65 MB / 389.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/0.2809, allocations: 250.2 kB / 389.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002481/0.2811, allocations: 31.98 kB / 389.7 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007736/0.2819, allocations: 24 kB / 389.7 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/0.2821, allocations: 111.7 kB / 389.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.2822, allocations: 43.95 kB / 389.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0007301/0.283, allocations: 0.8256 MB / 390.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.283, allocations: 0 / 390.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002858/0.2858, allocations: 1.16 MB / 391.9 MB, free: 10.11 MB / 346.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.0003663/0.2862, allocations: 182 kB / 392 MB, free: 9.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003828/0.29, allocations: 3.307 MB / 395.4 MB, free: 6.555 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.518e-05/0.2901, allocations: 59.94 kB / 395.4 MB, free: 6.492 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.2919, allocations: 1.471 MB / 396.9 MB, free: 4.953 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001233/0.2931, allocations: 412.9 kB / 397.3 MB, free: 4.551 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005162/0.2983, allocations: 5.485 MB / 402.8 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005885/0.2989, allocations: 0.7812 MB / 403.6 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008786/0.2998, allocations: 375.8 kB / 403.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009015/0.3007, allocations: 421.2 kB / 404.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.3007, allocations: 0 / 404.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of Templates: time 0.142/0.4427, allocations: 47.99 MB / 452.3 MB, free: 116.9 MB / 378.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: 3.684951998759061]