Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001088/0.001088, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001261/0.001261, allocations: 168 kB / 25.33 MB, free: 9.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9233/0.9233, allocations: 158.6 MB / 187.2 MB, free: 2.547 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 3.938 kB / 251.1 MB, free: 3.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.978e-05/3.212e-05, allocations: 2.312 kB / 251.1 MB, free: 3.586 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.00631/0.006342, allocations: 6.838 MB / 257.9 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004865/0.01121, allocations: 3.034 MB / 260.9 MB, free: 9.676 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009879/0.0122, allocations: 35.88 kB / 261 MB, free: 9.641 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.01348, allocations: 0.708 MB / 261.7 MB, free: 8.93 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003341/0.01682, allocations: 1.486 MB / 263.2 MB, free: 7.438 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.01787, allocations: 0.5613 MB / 263.7 MB, free: 6.875 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004106/0.02198, allocations: 3.735 MB / 267.4 MB, free: 3.133 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.02331, allocations: 0.6778 MB / 268.1 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002248/0.02555, allocations: 1.317 MB / 269.4 MB, free: 1.121 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002642/0.0282, allocations: 1.602 MB / 271 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004652/0.02866, allocations: 136 kB / 271.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.03017, allocations: 0.9124 MB / 272.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00102/0.03119, allocations: 1.18 MB / 273.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.03232, allocations: 0.6929 MB / 274 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003758/0.03608, allocations: 2.911 MB / 276.9 MB, free: 9.668 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.03608, allocations: 3.938 kB / 276.9 MB, free: 9.664 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.03608, allocations: 0 / 276.9 MB, free: 9.664 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001003/0.03618, allocations: 0 / 276.9 MB, free: 9.664 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.00677/0.04295, allocations: 3.602 MB / 280.5 MB, free: 6.008 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.04301, allocations: 11.98 kB / 280.5 MB, free: 5.996 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006607/0.04961, allocations: 2.3 MB / 282.8 MB, free: 3.691 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002982/0.0526, allocations: 1.474 MB / 284.3 MB, free: 2.184 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001378/0.05273, allocations: 107 kB / 284.4 MB, free: 2.078 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001146/0.05388, allocations: 295.3 kB / 284.7 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/0.06717, allocations: 5.237 MB / 289.9 MB, free: 11.78 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.551e-05/0.06725, allocations: 27.75 kB / 289.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002891/0.06754, allocations: 79.89 kB / 290 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007902/0.07544, allocations: 1.393 MB / 291.4 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01225/0.08768, allocations: 4.38 MB / 295.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1433/0.231, allocations: 34.16 MB / 329.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005701/0.2367, allocations: 2.631 MB / 332.6 MB, free: 15.27 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009395/0.2376, allocations: 0.783 MB / 333.3 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.414e-05/0.2377, allocations: 14.88 kB / 333.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.2377, allocations: 52.92 kB / 333.4 MB, free: 15.07 MB / 282.7 MB Notification: Performance of pre-optimization done (n=122): time 3.346e-06/0.2377, allocations: 3.406 kB / 333.4 MB, free: 15.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=136): time 0.02252/0.2602, allocations: 12.37 MB / 345.8 MB, free: 9.035 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001139/0.2614, allocations: 3.95 MB / 349.7 MB, free: 4.809 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002557/0.2639, allocations: 2.688 MB / 352.4 MB, free: 2.223 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004151/0.2643, allocations: 44.52 kB / 352.5 MB, free: 2.176 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008998/0.2652, allocations: 2.3 MB / 354.8 MB, free: 60 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009101/0.2661, allocations: 0.6174 MB / 355.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001623/0.2678, allocations: 1.061 MB / 356.4 MB, free: 14.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.2679, allocations: 480.8 kB / 356.9 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002027/0.2699, allocations: 0.806 MB / 357.7 MB, free: 13.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004964/0.2749, allocations: 5.184 MB / 362.9 MB, free: 5.941 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006905/0.2818, allocations: 6.569 MB / 369.5 MB, free: 13.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.004e-05/0.2819, allocations: 32 kB / 369.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01665/0.2985, allocations: 7.934 MB / 377.4 MB, free: 5.988 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.535e-05/0.2986, allocations: 48 kB / 377.5 MB, free: 5.941 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01178/0.3104, allocations: 4.316 MB / 381.8 MB, free: 1.586 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01107/0.3215, allocations: 3.751 MB / 385.6 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003622/0.3251, allocations: 1.263 MB / 386.8 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009042/0.3341, allocations: 8.996 MB / 395.8 MB, free: 3.055 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004849/0.339, allocations: 0.6969 MB / 396.5 MB, free: 2.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009319/0.3399, allocations: 315.9 kB / 396.8 MB, free: 2.051 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 (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.001597/0.3415, allocations: 0.5487 MB / 397.4 MB, free: 1.492 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007773/0.3423, allocations: 282.3 kB / 397.6 MB, free: 1.215 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004007/0.3427, allocations: 344.7 kB / 398 MB, free: 0.875 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005656/0.3483, allocations: 2.491 MB / 400.5 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.022e-05/0.3484, allocations: 8 kB / 400.5 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.506e-05/0.3484, allocations: 3.984 kB / 400.5 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005987/0.3544, allocations: 3.753 MB / 404.2 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.3544, allocations: 7.984 kB / 404.2 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.3554, allocations: 359.4 kB / 404.6 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004185/0.3596, allocations: 1.592 MB / 406.2 MB, free: 8.551 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004665/0.3601, allocations: 47.95 kB / 406.2 MB, free: 8.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005876/0.366, allocations: 8.243 MB / 414.5 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001751/0.3677, allocations: 3.791 MB / 418.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008399/0.3761, allocations: 4.171 MB / 422.4 MB, free: 7.496 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008278/0.3769, allocations: 274.2 kB / 422.7 MB, free: 7.227 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004008/0.3773, allocations: 31.98 kB / 422.7 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/0.3789, allocations: 397.8 kB / 423.1 MB, free: 6.809 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004139/0.3793, allocations: 111.6 kB / 423.2 MB, free: 6.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/0.3794, allocations: 55.95 kB / 423.3 MB, free: 6.645 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001627/0.3811, allocations: 1.176 MB / 424.5 MB, free: 5.461 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3811, allocations: 0 / 424.5 MB, free: 5.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003586/0.3847, allocations: 1.152 MB / 425.6 MB, free: 4.309 MB / 362.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.0005664/0.3852, allocations: 194 kB / 425.8 MB, free: 4.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00712/0.3923, allocations: 4.358 MB / 430.2 MB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.3923, allocations: 0 / 430.2 MB, free: 15.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003006/0.3953, allocations: 2.315 MB / 432.5 MB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.397, allocations: 310.6 kB / 432.8 MB, free: 12.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007743/0.4047, allocations: 6.093 MB / 438.9 MB, free: 6.793 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007258/0.4055, allocations: 0.801 MB / 439.7 MB, free: 5.969 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002277/0.4077, allocations: 1.314 MB / 441 MB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006421/0.4084, allocations: 204.3 kB / 441.2 MB, free: 4.449 MB / 378.7 MB Notification: Performance of SimCode: time 1.502e-06/0.4084, allocations: 0 / 441.2 MB, free: 4.449 MB / 378.7 MB Notification: Performance of Templates: time 0.17/0.5784, allocations: 47.29 MB / 488.5 MB, free: 103.2 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.239700208883733]