Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 166.4 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9259/0.9259, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 273.1 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.341e-05, allocations: 2.312 kB / 273.1 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.007784/0.007807, allocations: 6.769 MB / 279.8 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004548/0.01235, allocations: 3.045 MB / 282.9 MB, free: 7.992 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003196/0.01267, allocations: 39.81 kB / 282.9 MB, free: 7.953 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008481/0.01352, allocations: 0.7157 MB / 283.6 MB, free: 7.234 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001497/0.01502, allocations: 1.435 MB / 285.1 MB, free: 5.793 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004948/0.01551, allocations: 0.5651 MB / 285.6 MB, free: 5.227 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002252/0.01777, allocations: 3.861 MB / 289.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004954/0.01826, allocations: 0.6739 MB / 290.2 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.09624/0.1145, allocations: 1.294 MB / 291.5 MB, free: 16.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001674/0.1162, allocations: 1.591 MB / 293.1 MB, free: 16.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.1164, allocations: 137.4 kB / 293.2 MB, free: 16.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001108/0.1175, allocations: 0.8913 MB / 294.1 MB, free: 16.07 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006969/0.1182, allocations: 1.161 MB / 295.2 MB, free: 16.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005722/0.1188, allocations: 0.6672 MB / 295.9 MB, free: 16.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002189/0.121, allocations: 2.869 MB / 298.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.121, allocations: 0 / 298.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.121, allocations: 0.8125 kB / 298.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.172e-05/0.121, allocations: 0 / 298.8 MB, free: 15.63 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.003874/0.1249, allocations: 3.566 MB / 302.3 MB, free: 14.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.1249, allocations: 8.031 kB / 302.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004784/0.1297, allocations: 2.414 MB / 304.8 MB, free: 14.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.1309, allocations: 1.379 MB / 306.1 MB, free: 13.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.697e-05/0.131, allocations: 111.9 kB / 306.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005221/0.1315, allocations: 298 kB / 306.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00553/0.137, allocations: 5.221 MB / 311.8 MB, free: 9.465 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.348e-05/0.1371, allocations: 33.67 kB / 311.8 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001968/0.1373, allocations: 79.83 kB / 311.9 MB, free: 9.441 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0011/0.1384, allocations: 1.396 MB / 313.3 MB, free: 8.359 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006706/0.1451, allocations: 4.38 MB / 317.7 MB, free: 4.145 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01979/0.1649, allocations: 34.15 MB / 351.8 MB, free: 1.246 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00583/0.1707, allocations: 2.638 MB / 354.4 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009446/0.1717, allocations: 0.7716 MB / 355.2 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.398e-05/0.1717, allocations: 19.94 kB / 355.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.1717, allocations: 53.33 kB / 355.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 3.186e-06/0.1717, allocations: 0 / 355.3 MB, free: 13.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=136): time 0.02456/0.1963, allocations: 12.33 MB / 367.6 MB, free: 1.238 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002253/0.1986, allocations: 3.949 MB / 371.6 MB, free: 12.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004162/0.2027, allocations: 2.647 MB / 374.2 MB, free: 10.31 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002146/0.2029, allocations: 45.77 kB / 374.3 MB, free: 10.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001649/0.2046, allocations: 2.299 MB / 376.6 MB, free: 7.977 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007733/0.2054, allocations: 0.6159 MB / 377.2 MB, free: 7.367 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001735/0.2071, allocations: 1.061 MB / 378.2 MB, free: 6.297 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.2072, allocations: 480.8 kB / 378.7 MB, free: 5.824 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002084/0.2093, allocations: 0.806 MB / 379.5 MB, free: 5.012 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004512/0.2138, allocations: 5.179 MB / 384.7 MB, free: 13.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007186/0.221, allocations: 6.58 MB / 391.3 MB, free: 5.246 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.158e-05/0.2211, allocations: 28 kB / 391.3 MB, free: 5.219 MB / 346.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02333/0.2444, allocations: 8.064 MB / 399.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.067e-05/0.2444, allocations: 52 kB / 399.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01116/0.2556, allocations: 4.462 MB / 403.9 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01485/0.2705, allocations: 3.935 MB / 407.8 MB, free: 4.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003332/0.2738, allocations: 1.263 MB / 409.1 MB, free: 3.336 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009501/0.2833, allocations: 9.048 MB / 418.1 MB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003972/0.2873, allocations: 0.6707 MB / 418.8 MB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004364/0.2877, allocations: 322.3 kB / 419.1 MB, free: 8.824 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.001226/0.2889, allocations: 0.542 MB / 419.6 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000513/0.2894, allocations: 278.4 kB / 419.9 MB, free: 7.996 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004754/0.2899, allocations: 344.7 kB / 420.2 MB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006728/0.2966, allocations: 2.487 MB / 422.7 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.351e-05/0.2966, allocations: 11.94 kB / 422.7 MB, free: 5.109 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.2967, allocations: 3.984 kB / 422.8 MB, free: 5.105 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006031/0.3027, allocations: 3.73 MB / 426.5 MB, free: 1.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.3027, allocations: 7.938 kB / 426.5 MB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.304, allocations: 375.3 kB / 426.9 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005254/0.3092, allocations: 1.588 MB / 428.4 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001658/0.3094, allocations: 43.95 kB / 428.5 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005816/0.3152, allocations: 8.243 MB / 436.7 MB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001697/0.3169, allocations: 3.793 MB / 440.5 MB, free: 2.508 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1187/0.4356, allocations: 4.163 MB / 444.7 MB, free: 130.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008417/0.4364, allocations: 267.4 kB / 444.9 MB, free: 130.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004315/0.4368, allocations: 32.44 kB / 445 MB, free: 130.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001942/0.4388, allocations: 386.1 kB / 445.4 MB, free: 130.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004762/0.4393, allocations: 113.1 kB / 445.5 MB, free: 130.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/0.4394, allocations: 46.73 kB / 445.5 MB, free: 130.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001976/0.4414, allocations: 1.145 MB / 446.7 MB, free: 130.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4414, allocations: 0 / 446.7 MB, free: 130.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004276/0.4457, allocations: 1.139 MB / 447.8 MB, free: 130.2 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.0004727/0.4462, allocations: 181.2 kB / 448 MB, free: 130.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007341/0.4535, allocations: 4.357 MB / 452.3 MB, free: 129.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.4535, allocations: 3.594 kB / 452.3 MB, free: 129.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003453/0.457, allocations: 2.318 MB / 454.7 MB, free: 128.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.4587, allocations: 315.9 kB / 455 MB, free: 128.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007541/0.4662, allocations: 6.04 MB / 461 MB, free: 125.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007186/0.4669, allocations: 0.7943 MB / 461.8 MB, free: 125.6 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002438/0.4694, allocations: 1.312 MB / 463.1 MB, free: 125.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006828/0.47, allocations: 197.6 kB / 463.3 MB, free: 125.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.213e-06/0.47, allocations: 0 / 463.3 MB, free: 125.4 MB / 394.7 MB Notification: Performance of Templates: time 0.04207/0.5121, allocations: 45.78 MB / 0.4971 GB, free: 83.31 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.93221465498209]