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.001398/0.001398, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001461/0.001461, allocations: 161 kB / 24.56 MB, free: 16 kB / 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 1.042/1.042, allocations: 177.1 MB / 205 MB, free: 5.641 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.884e-06/1.884e-06, allocations: 0 / 273 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.472e-05, allocations: 2.312 kB / 273 MB, free: 1.547 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.005412/0.005427, allocations: 6.786 MB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004227/0.009654, allocations: 3.057 MB / 282.8 MB, free: 7.664 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005444/0.0102, allocations: 39.81 kB / 282.9 MB, free: 7.625 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.01134, allocations: 0.708 MB / 283.6 MB, free: 6.914 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002004/0.01334, allocations: 1.447 MB / 285 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000662/0.014, allocations: 0.5573 MB / 285.6 MB, free: 4.902 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002822/0.01683, allocations: 3.871 MB / 289.4 MB, free: 1.027 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000837/0.01766, allocations: 0.6817 MB / 290.1 MB, free: 340 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1209/0.1386, allocations: 1.288 MB / 291.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/0.1408, allocations: 1.588 MB / 293 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004566/0.1413, allocations: 139 kB / 293.1 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001478/0.1427, allocations: 0.8925 MB / 294 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000889/0.1436, allocations: 1.159 MB / 295.2 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001236/0.1449, allocations: 0.6692 MB / 295.9 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002937/0.1478, allocations: 2.867 MB / 298.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1478, allocations: 1.688 kB / 298.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.572e-06/0.1478, allocations: 0 / 298.7 MB, free: 15.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.373e-05/0.1478, allocations: 0.7812 kB / 298.7 MB, free: 15.23 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.004193/0.152, allocations: 3.561 MB / 302.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.1521, allocations: 11.12 kB / 302.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004732/0.1568, allocations: 2.41 MB / 304.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/0.1583, allocations: 1.381 MB / 306.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.071e-05/0.1583, allocations: 111.6 kB / 306.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005027/0.1588, allocations: 301.8 kB / 306.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005425/0.1643, allocations: 5.221 MB / 311.7 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.813e-05/0.1643, allocations: 33.16 kB / 311.7 MB, free: 9.324 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/0.1645, allocations: 82.28 kB / 311.8 MB, free: 9.305 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001078/0.1656, allocations: 1.4 MB / 313.2 MB, free: 8.105 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00613/0.1717, allocations: 4.38 MB / 317.6 MB, free: 3.895 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0194/0.1911, allocations: 34.15 MB / 351.8 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005387/0.1965, allocations: 2.635 MB / 354.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009196/0.1974, allocations: 0.7691 MB / 355.2 MB, free: 13.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.072e-05/0.1975, allocations: 16 kB / 355.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.1975, allocations: 57.25 kB / 355.2 MB, free: 13.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=122): time 2.585e-06/0.1975, allocations: 0 / 355.2 MB, free: 13.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=136): time 0.02223/0.2197, allocations: 12.33 MB / 367.6 MB, free: 1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001949/0.2217, allocations: 3.95 MB / 371.5 MB, free: 12.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002728/0.2244, allocations: 2.651 MB / 374.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001308/0.2245, allocations: 44.36 kB / 374.2 MB, free: 10.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001108/0.2257, allocations: 2.295 MB / 376.5 MB, free: 7.738 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005094/0.2262, allocations: 0.6177 MB / 377.1 MB, free: 7.129 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001126/0.2273, allocations: 1.062 MB / 378.2 MB, free: 6.059 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2274, allocations: 480.8 kB / 378.7 MB, free: 5.586 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/0.2287, allocations: 0.8061 MB / 379.5 MB, free: 4.773 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003292/0.232, allocations: 5.192 MB / 384.6 MB, free: 13.56 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004984/0.237, allocations: 6.571 MB / 391.2 MB, free: 5.004 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.2e-05/0.237, allocations: 32 kB / 391.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01506/0.2521, allocations: 8.059 MB / 399.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.251e-05/0.2521, allocations: 48.97 kB / 399.4 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01088/0.263, allocations: 4.468 MB / 403.8 MB, free: 8.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01156/0.2746, allocations: 3.932 MB / 407.8 MB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003221/0.2778, allocations: 1.259 MB / 409 MB, free: 3.098 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009686/0.2875, allocations: 9.047 MB / 418.1 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004649/0.2921, allocations: 0.6774 MB / 418.7 MB, free: 8.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004828/0.2926, allocations: 312 kB / 419 MB, free: 8.59 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.001413/0.294, allocations: 0.5482 MB / 419.6 MB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004655/0.2945, allocations: 276.9 kB / 419.9 MB, free: 7.758 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003617/0.2948, allocations: 348.7 kB / 420.2 MB, free: 7.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005208/0.3001, allocations: 2.487 MB / 422.7 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-05/0.3001, allocations: 7.938 kB / 422.7 MB, free: 4.871 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.3001, allocations: 11.97 kB / 422.7 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004851/0.3049, allocations: 3.728 MB / 426.4 MB, free: 1.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.3049, allocations: 3.938 kB / 426.4 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009631/0.3059, allocations: 371.4 kB / 426.8 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003991/0.3099, allocations: 1.592 MB / 428.4 MB, free: 15.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.31, allocations: 43.95 kB / 428.4 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004943/0.315, allocations: 8.247 MB / 436.7 MB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001533/0.3165, allocations: 3.795 MB / 440.5 MB, free: 2.262 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1544/0.4709, allocations: 4.153 MB / 444.6 MB, free: 126.4 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000818/0.4717, allocations: 270.7 kB / 444.9 MB, free: 126.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002997/0.472, allocations: 34.77 kB / 444.9 MB, free: 126.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/0.4735, allocations: 382.3 kB / 445.3 MB, free: 126.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003679/0.4738, allocations: 110.6 kB / 445.4 MB, free: 126.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/0.474, allocations: 50.75 kB / 445.5 MB, free: 126.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001854/0.4758, allocations: 1.144 MB / 446.6 MB, free: 126.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4758, allocations: 0.6562 kB / 446.6 MB, free: 126.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003804/0.4796, allocations: 1.138 MB / 447.7 MB, free: 126.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.000437/0.4801, allocations: 187.1 kB / 447.9 MB, free: 126.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.006048/0.4861, allocations: 4.353 MB / 452.3 MB, free: 125.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4861, allocations: 0 / 452.3 MB, free: 125.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002656/0.4888, allocations: 2.311 MB / 454.6 MB, free: 124.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/0.4901, allocations: 324 kB / 454.9 MB, free: 124.5 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007185/0.4973, allocations: 6.052 MB / 461 MB, free: 121.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006633/0.4979, allocations: 0.788 MB / 461.8 MB, free: 121.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001795/0.4997, allocations: 1.312 MB / 463.1 MB, free: 121.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005403/0.5003, allocations: 198.8 kB / 463.3 MB, free: 121.7 MB / 394.7 MB Notification: Performance of SimCode: time 1.353e-06/0.5003, allocations: 0 / 463.3 MB, free: 121.7 MB / 394.7 MB Notification: Performance of Templates: time 0.04313/0.5434, allocations: 45.76 MB / 0.4971 GB, free: 79.98 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: 4.317371072247624]