Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.001078/0.001078, allocations: 76.08 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.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.0008852/0.0008852, allocations: 145.1 kB / 24.54 MB, free: 28 kB / 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.9495/0.9495, allocations: 173.3 MB / 201.1 MB, free: 9.332 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.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.[0-9,]+.|body.body.w_a.[0-9,]+.|body.v_0.[0-9,]+.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.513e-05, allocations: 6.25 kB / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.007555/0.00758, allocations: 10.19 MB / 278.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004351/0.01193, allocations: 3.757 MB / 281.9 MB, free: 8.406 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005645/0.0125, allocations: 75.62 kB / 282 MB, free: 8.332 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002343/0.01484, allocations: 2.484 MB / 284.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002142/0.01698, allocations: 1.804 MB / 286.3 MB, free: 4.027 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007453/0.01773, allocations: 0.6743 MB / 287 MB, free: 3.352 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1146/0.1324, allocations: 3.804 MB / 290.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003196/0.1356, allocations: 2.785 MB / 293.6 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002493/0.1381, allocations: 2.093 MB / 295.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002424/0.1405, allocations: 1.99 MB / 297.7 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000451/0.1409, allocations: 300.4 kB / 297.9 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.1426, allocations: 1.102 MB / 299.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.1437, allocations: 1.834 MB / 300.9 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009619/0.1447, allocations: 1.147 MB / 302 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002801/0.1475, allocations: 4.097 MB / 306.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1475, allocations: 3.438 kB / 306.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1475, allocations: 0 / 306.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.457e-05/0.1475, allocations: 0 / 306.1 MB, free: 13.05 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: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.004374/0.1519, allocations: 4.635 MB / 310.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1519, allocations: 10.36 kB / 310.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004762/0.1567, allocations: 2.28 MB / 313.1 MB, free: 9.426 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/0.1587, allocations: 1.87 MB / 314.9 MB, free: 8.332 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/0.1588, allocations: 213 kB / 315.1 MB, free: 8.262 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005727/0.1594, allocations: 369.7 kB / 315.5 MB, free: 8.074 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006229/0.1656, allocations: 5.542 MB / 321 MB, free: 1.844 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.373e-05/0.1657, allocations: 34 kB / 321.1 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002818/0.166, allocations: 136 kB / 321.2 MB, free: 1.727 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001546/0.1675, allocations: 1.645 MB / 322.8 MB, free: 112 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006602/0.1741, allocations: 3.078 MB / 325.9 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05282/0.227, allocations: 38.74 MB / 364.7 MB, free: 5.688 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005106/0.2321, allocations: 2.012 MB / 366.7 MB, free: 3.641 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00079/0.2328, allocations: 0.5176 MB / 367.2 MB, free: 3.109 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005113/0.238, allocations: 4.115 MB / 371.3 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.238, allocations: 50.05 kB / 371.4 MB, free: 14.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 2.945e-06/0.238, allocations: 0 / 371.4 MB, free: 14.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.01589/0.2539, allocations: 8.146 MB / 379.5 MB, free: 6.758 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001022/0.2549, allocations: 2.044 MB / 381.6 MB, free: 4.559 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00304/0.258, allocations: 3.149 MB / 384.7 MB, free: 1.383 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.901e-05/0.258, allocations: 53.06 kB / 384.8 MB, free: 1.328 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00143/0.2595, allocations: 3.049 MB / 387.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000397/0.2599, allocations: 0.6126 MB / 388.4 MB, free: 13.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009643/0.2608, allocations: 1.187 MB / 389.6 MB, free: 12.49 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.336e-05/0.2609, allocations: 484.7 kB / 390.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009379/0.2619, allocations: 0.6391 MB / 390.7 MB, free: 11.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002956/0.2648, allocations: 5.734 MB / 396.4 MB, free: 3.324 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004489/0.2693, allocations: 7.065 MB / 403.5 MB, free: 10.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.419e-05/0.2693, allocations: 36 kB / 403.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.008962/0.2783, allocations: 6.185 MB / 409.7 MB, free: 3.812 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.162e-05/0.2783, allocations: 59.94 kB / 409.8 MB, free: 3.754 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00464/0.283, allocations: 2.096 MB / 411.9 MB, free: 1.645 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004832/0.2878, allocations: 1.742 MB / 413.6 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.2898, allocations: 1.259 MB / 414.9 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004014/0.2938, allocations: 4.779 MB / 419.7 MB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/0.2957, allocations: 419.3 kB / 420.1 MB, free: 9.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002786/0.296, allocations: 343.1 kB / 420.4 MB, free: 8.852 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (676): * Single equations (assignments): 667 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008721/0.2969, allocations: 0.6149 MB / 421 MB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/0.2971, allocations: 330 kB / 421.3 MB, free: 7.898 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.2994, allocations: 1.504 MB / 422.9 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001859/0.3012, allocations: 1.14 MB / 424 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.3012, allocations: 4 kB / 424 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.3012, allocations: 11.92 kB / 424 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1112/0.4124, allocations: 5.572 MB / 429.6 MB, free: 114.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.655e-05/0.4125, allocations: 2.516 kB / 429.6 MB, free: 114.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009151/0.4134, allocations: 225.5 kB / 429.8 MB, free: 114.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001917/0.4153, allocations: 0.5632 MB / 430.4 MB, free: 114.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/0.4154, allocations: 33.31 kB / 430.4 MB, free: 114.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002768/0.4182, allocations: 4.229 MB / 434.6 MB, free: 110.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005082/0.4187, allocations: 1.91 MB / 436.5 MB, free: 109 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004186/0.4229, allocations: 2.546 MB / 439.1 MB, free: 108.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004808/0.4234, allocations: 282.2 kB / 439.4 MB, free: 108.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002707/0.4236, allocations: 27.73 kB / 439.4 MB, free: 108.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009986/0.4246, allocations: 144.6 kB / 439.5 MB, free: 108.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/0.4249, allocations: 91.42 kB / 439.6 MB, free: 108.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001001/0.425, allocations: 47.23 kB / 439.7 MB, free: 108.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001695/0.4267, allocations: 1.349 MB / 441 MB, free: 108.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4267, allocations: 1.219 kB / 441 MB, free: 108.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002924/0.4296, allocations: 1.018 MB / 442 MB, free: 108.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.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 (105): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0003232/0.4299, allocations: 190.3 kB / 442.2 MB, free: 108 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004184/0.4341, allocations: 3.376 MB / 445.6 MB, free: 107.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4341, allocations: 0 / 445.6 MB, free: 107.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001517/0.4356, allocations: 1.31 MB / 446.9 MB, free: 107.1 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.4369, allocations: 369.2 kB / 447.3 MB, free: 107.1 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006522/0.4434, allocations: 6.858 MB / 454.1 MB, free: 104.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006888/0.4441, allocations: 1.062 MB / 455.2 MB, free: 104 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001714/0.4458, allocations: 1.458 MB / 456.6 MB, free: 103.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003296/0.4461, allocations: 204.6 kB / 456.8 MB, free: 103.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.4461, allocations: 0 / 456.8 MB, free: 103.8 MB / 378.7 MB Notification: Performance of Templates: time 0.03576/0.4819, allocations: 33.09 MB / 489.9 MB, free: 74.77 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.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.9153887978754938]