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.001359/0.001359, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.001434/0.001434, allocations: 195.1 kB / 23.71 MB, free: 4.406 MB / 14.72 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 1.441/1.441, allocations: 225.7 MB / 252.5 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] 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.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.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.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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 51.92 kB / 370.9 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2468, allocations: 52.17 MB / 423.1 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01333/0.2601, allocations: 9.169 MB / 432.2 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008263/0.2684, allocations: 3.653 MB / 435.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.2698, allocations: 71.62 kB / 436 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004883/0.2747, allocations: 2.254 MB / 438.2 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004463/0.2791, allocations: 1.743 MB / 440 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.2805, allocations: 0.6083 MB / 440.6 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004508/0.285, allocations: 3.459 MB / 444 MB, free: 9.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002935/0.2879, allocations: 2.432 MB / 446.5 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/0.29, allocations: 1.394 MB / 447.9 MB, free: 5.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002638/0.2926, allocations: 1.834 MB / 449.7 MB, free: 3.746 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005371/0.2931, allocations: 295.9 kB / 450 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002183/0.2953, allocations: 1.053 MB / 451 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001831/0.2971, allocations: 1.737 MB / 452.8 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001789/0.2989, allocations: 1.452 MB / 454.2 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00759/0.3065, allocations: 6.287 MB / 460.5 MB, free: 8.887 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3065, allocations: 0 / 460.5 MB, free: 8.887 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3065, allocations: 0 / 460.5 MB, free: 8.887 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001559/0.3067, allocations: 4 kB / 460.5 MB, free: 8.883 MB / 366.1 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.0087/0.3154, allocations: 4.269 MB / 464.8 MB, free: 4.559 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.3154, allocations: 8.031 kB / 464.8 MB, free: 4.551 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006628/0.3221, allocations: 1.851 MB / 466.6 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005054/0.3271, allocations: 2.008 MB / 468.6 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.3273, allocations: 213.4 kB / 468.9 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009256/0.3282, allocations: 363.8 kB / 469.2 MB, free: 76 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01594/0.3442, allocations: 8.92 MB / 478.1 MB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000103/0.3443, allocations: 39.7 kB / 478.2 MB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003634/0.3446, allocations: 131.9 kB / 478.3 MB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002575/0.3472, allocations: 1.641 MB / 479.9 MB, free: 4.703 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01552/0.3627, allocations: 7.488 MB / 487.4 MB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04506/0.4078, allocations: 32.81 MB / 0.508 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008461/0.4162, allocations: 2.896 MB / 0.5109 GB, free: 8.473 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002083/0.4183, allocations: 1.385 MB / 0.5122 GB, free: 7.078 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009655/0.428, allocations: 5.307 MB / 0.5174 GB, free: 1.738 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.913e-05/0.428, allocations: 51.09 kB / 0.5175 GB, free: 1.68 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 4.378e-06/0.4281, allocations: 4 kB / 0.5175 GB, free: 1.676 MB / 430.1 MB Notification: Performance of matching and sorting (n=139): time 0.02817/0.4562, allocations: 10.98 MB / 0.5282 GB, free: 6.621 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001546/0.4578, allocations: 1.584 MB / 0.5297 GB, free: 4.895 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004752/0.4625, allocations: 3.397 MB / 0.533 GB, free: 1.484 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002377/0.4628, allocations: 41.7 kB / 0.5331 GB, free: 1.438 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2111/0.6738, allocations: 2.923 MB / 0.5359 GB, free: 108.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008981/0.6747, allocations: 0.6005 MB / 0.5365 GB, free: 108 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002028/0.6768, allocations: 1.113 MB / 0.5376 GB, free: 107.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.687e-05/0.6768, allocations: 302.5 kB / 0.5379 GB, free: 107.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002815/0.6796, allocations: 1.918 MB / 0.5398 GB, free: 106.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003943/0.6836, allocations: 5.363 MB / 0.545 GB, free: 101.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006545/0.6901, allocations: 7.838 MB / 0.5527 GB, free: 94.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001352/0.6902, allocations: 34.22 kB / 0.5527 GB, free: 94.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01861/0.7089, allocations: 8.737 MB / 0.5612 GB, free: 88.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.82e-05/0.7089, allocations: 56.97 kB / 0.5613 GB, free: 88.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009729/0.7187, allocations: 3.428 MB / 0.5646 GB, free: 85.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/0.7288, allocations: 2.23 MB / 0.5668 GB, free: 83.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003592/0.7324, allocations: 1.252 MB / 0.568 GB, free: 82.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008467/0.7409, allocations: 7.071 MB / 0.5749 GB, free: 74.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004325/0.7452, allocations: 382.3 kB / 0.5753 GB, free: 74.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008301/0.746, allocations: 340 kB / 0.5756 GB, free: 74.14 MB / 446.1 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.003035/0.749, allocations: 1.852 MB / 0.5774 GB, free: 72.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006355/0.7497, allocations: 290.1 kB / 0.5777 GB, free: 72.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005163/0.7548, allocations: 2.733 MB / 0.5804 GB, free: 69.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003827/0.7587, allocations: 2.35 MB / 0.5827 GB, free: 66.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.541e-05/0.7587, allocations: 4 kB / 0.5827 GB, free: 66.94 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.7587, allocations: 3.984 kB / 0.5827 GB, free: 66.94 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01358/0.7723, allocations: 6.87 MB / 0.5894 GB, free: 60.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/0.7723, allocations: 3.984 kB / 0.5894 GB, free: 60.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001026/0.7733, allocations: 223.6 kB / 0.5896 GB, free: 59.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002751/0.7761, allocations: 1.06 MB / 0.5906 GB, free: 58.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001453/0.7762, allocations: 35.97 kB / 0.5907 GB, free: 58.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004376/0.7806, allocations: 5.004 MB / 0.5956 GB, free: 53.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007107/0.7813, allocations: 1.439 MB / 0.597 GB, free: 51.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006294/0.7876, allocations: 4.941 MB / 0.6018 GB, free: 46.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007444/0.7883, allocations: 264.8 kB / 0.602 GB, free: 46.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003088/0.7887, allocations: 35.81 kB / 0.6021 GB, free: 46.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.7899, allocations: 123.8 kB / 0.6022 GB, free: 46.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/0.7901, allocations: 96.34 kB / 0.6023 GB, free: 46.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.861e-05/0.7902, allocations: 39.98 kB / 0.6023 GB, free: 46.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002275/0.7925, allocations: 1.936 MB / 0.6042 GB, free: 44.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7925, allocations: 0 / 0.6042 GB, free: 44.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00393/0.7964, allocations: 0.9631 MB / 0.6052 GB, free: 43.52 MB / 446.1 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.0003843/0.7968, allocations: 168.2 kB / 0.6053 GB, free: 43.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007076/0.8039, allocations: 4.886 MB / 0.6101 GB, free: 38.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.8039, allocations: 0 / 0.6101 GB, free: 38.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003164/0.8071, allocations: 1.787 MB / 0.6118 GB, free: 36.65 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002063/0.8091, allocations: 347.8 kB / 0.6122 GB, free: 36.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/0.8204, allocations: 8.572 MB / 0.6205 GB, free: 27.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002344/0.8227, allocations: 2.36 MB / 0.6228 GB, free: 25.31 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003099/0.8258, allocations: 1.662 MB / 0.6245 GB, free: 23.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004745/0.8263, allocations: 195.4 kB / 0.6247 GB, free: 23.45 MB / 446.1 MB Notification: Performance of SimCode: time 9.81e-07/0.8263, allocations: 0 / 0.6247 GB, free: 23.45 MB / 446.1 MB Notification: Performance of Templates: time 0.05764/0.8839, allocations: 34.14 MB / 0.658 GB, free: 5.773 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.459278201684356]