Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.001955/0.001955, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002079/0.002079, allocations: 165.3 kB / 24.27 MB, free: 148 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.567/1.567, allocations: 177.1 MB / 204.6 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|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.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_4.1.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.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.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.04e-05, allocations: 2.312 kB / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.02095/0.02098, allocations: 10.09 MB / 282.4 MB, free: 7.715 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01206/0.03304, allocations: 3.746 MB / 286.2 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.03492, allocations: 75.62 kB / 286.2 MB, free: 3.883 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0078/0.04272, allocations: 2.476 MB / 288.7 MB, free: 1.398 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1427/0.1854, allocations: 1.756 MB / 290.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.1874, allocations: 0.6684 MB / 291.1 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006165/0.1936, allocations: 3.877 MB / 295 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004627/0.1982, allocations: 2.776 MB / 297.8 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004628/0.2029, allocations: 2.081 MB / 299.9 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003548/0.2064, allocations: 1.985 MB / 301.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009874/0.2074, allocations: 296.1 kB / 302.1 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.2097, allocations: 1.083 MB / 303.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001486/0.2112, allocations: 1.819 MB / 305 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001542/0.2127, allocations: 1.128 MB / 306.2 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006306/0.219, allocations: 6.267 MB / 312.4 MB, free: 7.648 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.219, allocations: 0 / 312.4 MB, free: 7.648 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.219, allocations: 0 / 312.4 MB, free: 7.648 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002268/0.2192, allocations: 0 / 312.4 MB, free: 7.648 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.00886/0.2281, allocations: 4.994 MB / 317.4 MB, free: 2.719 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.2281, allocations: 14.94 kB / 317.4 MB, free: 2.707 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007024/0.2352, allocations: 2.328 MB / 319.8 MB, free: 416 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00552/0.2407, allocations: 1.852 MB / 321.6 MB, free: 14.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002464/0.2409, allocations: 212.3 kB / 321.8 MB, free: 14.48 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001424/0.2423, allocations: 368.5 kB / 322.2 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01615/0.2585, allocations: 5.978 MB / 328.2 MB, free: 7.488 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001335/0.2586, allocations: 39.91 kB / 328.2 MB, free: 7.465 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005581/0.2592, allocations: 144.5 kB / 328.4 MB, free: 7.359 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00302/0.2622, allocations: 1.637 MB / 330 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01656/0.2788, allocations: 3.411 MB / 333.4 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0756/0.3544, allocations: 42.23 MB / 375.6 MB, free: 7.422 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008213/0.3626, allocations: 2.04 MB / 377.7 MB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/0.3639, allocations: 0.5367 MB / 378.2 MB, free: 4.797 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01035/0.3743, allocations: 4.207 MB / 382.4 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.061e-05/0.3743, allocations: 53.14 kB / 382.5 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of pre-optimization done (n=132): time 4.418e-06/0.3744, allocations: 0 / 382.5 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of matching and sorting (n=139): time 0.02691/0.4013, allocations: 8.298 MB / 390.8 MB, free: 8.199 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001842/0.4031, allocations: 2.049 MB / 392.8 MB, free: 6 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007109/0.4102, allocations: 3.961 MB / 396.8 MB, free: 2.012 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003856/0.4106, allocations: 41.7 kB / 396.8 MB, free: 1.965 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004383/0.415, allocations: 3.241 MB / 400.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001392/0.4164, allocations: 0.6451 MB / 400.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003274/0.4196, allocations: 1.399 MB / 402.1 MB, free: 12.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002946/0.4199, allocations: 480.5 kB / 402.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002647/0.4226, allocations: 0.686 MB / 403.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009779/0.4324, allocations: 5.968 MB / 409.2 MB, free: 3.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01456/0.4469, allocations: 7.367 MB / 416.6 MB, free: 9.594 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001929/0.4471, allocations: 36 kB / 416.6 MB, free: 9.559 MB / 378.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.03129/0.4784, allocations: 6.357 MB / 423 MB, free: 3.184 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/0.4786, allocations: 59.94 kB / 423 MB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01711/0.4957, allocations: 2.22 MB / 425.3 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01704/0.5127, allocations: 1.835 MB / 427.1 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007144/0.5199, allocations: 1.255 MB / 428.3 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/0.5332, allocations: 4.853 MB / 433.2 MB, free: 8.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00664/0.5399, allocations: 419.4 kB / 433.6 MB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009638/0.5408, allocations: 340 kB / 433.9 MB, free: 7.938 MB / 394.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.001867/0.5427, allocations: 0.7045 MB / 434.6 MB, free: 7.219 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007261/0.5434, allocations: 325.7 kB / 435 MB, free: 6.902 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008107/0.5442, allocations: 323.4 kB / 435.3 MB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003991/0.5482, allocations: 1.18 MB / 436.5 MB, free: 5.375 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/0.5482, allocations: 4 kB / 436.5 MB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-05/0.5482, allocations: 19.91 kB / 436.5 MB, free: 5.352 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1442/0.6925, allocations: 6.394 MB / 442.9 MB, free: 126 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.6925, allocations: 4.281 kB / 442.9 MB, free: 126 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.6936, allocations: 232.2 kB / 443.1 MB, free: 126 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002791/0.6964, allocations: 0.5709 MB / 443.7 MB, free: 125.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001573/0.6966, allocations: 35.88 kB / 443.7 MB, free: 125.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003925/0.7005, allocations: 4.274 MB / 448 MB, free: 122.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007522/0.7012, allocations: 1.92 MB / 449.9 MB, free: 120.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005776/0.707, allocations: 2.685 MB / 452.6 MB, free: 119.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009643/0.708, allocations: 285 kB / 452.9 MB, free: 119.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004067/0.7084, allocations: 32.14 kB / 452.9 MB, free: 119.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.7098, allocations: 147.9 kB / 453 MB, free: 119.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002863/0.7101, allocations: 98.5 kB / 453.1 MB, free: 119.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/0.7102, allocations: 38.84 kB / 453.2 MB, free: 119.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002549/0.7128, allocations: 1.607 MB / 454.8 MB, free: 119.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.7128, allocations: 0 / 454.8 MB, free: 119.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004234/0.717, allocations: 1.002 MB / 455.8 MB, free: 119.7 MB / 394.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.0005964/0.7176, allocations: 184.5 kB / 456 MB, free: 119.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007414/0.725, allocations: 3.642 MB / 459.6 MB, free: 118.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/0.725, allocations: 0 / 459.6 MB, free: 118.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003319/0.7283, allocations: 1.374 MB / 461 MB, free: 118.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/0.7307, allocations: 369.7 kB / 461.3 MB, free: 118.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009571/0.7403, allocations: 6.923 MB / 468.3 MB, free: 115.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00209/0.7423, allocations: 2.13 MB / 470.4 MB, free: 115.1 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002939/0.7453, allocations: 1.45 MB / 471.8 MB, free: 115 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005147/0.7458, allocations: 204.4 kB / 472 MB, free: 115 MB / 394.7 MB Notification: Performance of SimCode: time 1.463e-06/0.7458, allocations: 0 / 472 MB, free: 115 MB / 394.7 MB Notification: Performance of Templates: time 0.05002/0.7958, allocations: 31.87 MB / 0.4921 GB, free: 85.48 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.522297860006802]