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.0013/0.0013, allocations: 117.2 kB / 20.38 MB, free: 1.539 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.001253/0.001253, allocations: 191.4 kB / 23.66 MB, free: 5.113 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.385/1.385, allocations: 225.6 MB / 252.4 MB, free: 13.3 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.001496/0.001496, allocations: 43.92 kB / 370.7 MB, free: 9.562 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2041, allocations: 52.16 MB / 422.9 MB, free: 15.04 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01256/0.2166, allocations: 10.52 MB / 433.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007236/0.2238, allocations: 3.867 MB / 437.3 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006465/0.2245, allocations: 59.81 kB / 437.3 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004257/0.2287, allocations: 2.355 MB / 439.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003073/0.2318, allocations: 1.728 MB / 441.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.2329, allocations: 0.6083 MB / 442 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003796/0.2367, allocations: 3.454 MB / 445.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002567/0.2393, allocations: 2.249 MB / 447.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001443/0.2407, allocations: 1.359 MB / 449.1 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002341/0.243, allocations: 1.955 MB / 451.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004154/0.2435, allocations: 295.9 kB / 451.3 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.2452, allocations: 1.186 MB / 452.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001593/0.2468, allocations: 1.741 MB / 454.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001745/0.2486, allocations: 1.965 MB / 456.2 MB, free: 13.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006141/0.2547, allocations: 6.26 MB / 462.5 MB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2547, allocations: 0 / 462.5 MB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2547, allocations: 0 / 462.5 MB, free: 7.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.278e-05/0.2548, allocations: 0 / 462.5 MB, free: 7.25 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.006905/0.2617, allocations: 4.344 MB / 466.8 MB, free: 2.832 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.2617, allocations: 8.031 kB / 466.8 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006699/0.2684, allocations: 1.855 MB / 468.7 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004212/0.2726, allocations: 2.069 MB / 470.8 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00017/0.2728, allocations: 209.4 kB / 471 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008017/0.2736, allocations: 359.8 kB / 471.3 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01348/0.2871, allocations: 8.873 MB / 480.2 MB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.22e-05/0.2872, allocations: 35.7 kB / 480.2 MB, free: 4.734 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003572/0.2875, allocations: 143.8 kB / 480.4 MB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002616/0.2902, allocations: 1.637 MB / 482 MB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01331/0.3035, allocations: 7.506 MB / 489.5 MB, free: 11.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03966/0.3431, allocations: 35.07 MB / 0.5123 GB, free: 7.332 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008905/0.352, allocations: 3.347 MB / 0.5156 GB, free: 3.84 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001945/0.354, allocations: 1.373 MB / 0.5169 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01028/0.3643, allocations: 6.828 MB / 0.5236 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.144e-05/0.3643, allocations: 51.09 kB / 0.5236 GB, free: 11.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 2.965e-06/0.3643, allocations: 0 / 0.5236 GB, free: 11.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.02592/0.3902, allocations: 10.88 MB / 0.5342 GB, free: 224 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/0.3903, allocations: 145 kB / 0.5344 GB, free: 48 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1602/0.5505, allocations: 3.542 MB / 0.5378 GB, free: 108.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000264/0.5508, allocations: 42.03 kB / 0.5379 GB, free: 108.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001162/0.552, allocations: 2.911 MB / 0.5407 GB, free: 107 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003668/0.5523, allocations: 0.5707 MB / 0.5413 GB, free: 106.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001008/0.5533, allocations: 1.094 MB / 0.5424 GB, free: 106.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.422e-05/0.5534, allocations: 311.1 kB / 0.5426 GB, free: 105.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001984/0.5554, allocations: 1.819 MB / 0.5444 GB, free: 105.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00286/0.5582, allocations: 5.257 MB / 0.5496 GB, free: 99.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004979/0.5632, allocations: 7.665 MB / 0.557 GB, free: 93.22 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.725e-05/0.5632, allocations: 35.31 kB / 0.5571 GB, free: 93.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=705) (initialization): time 0.01514/0.5784, allocations: 8.55 MB / 0.5654 GB, free: 86.45 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.146e-05/0.5784, allocations: 63.28 kB / 0.5655 GB, free: 86.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009231/0.5876, allocations: 3.199 MB / 0.5686 GB, free: 83.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009749/0.5974, allocations: 2.242 MB / 0.5708 GB, free: 80.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002936/0.6003, allocations: 1.237 MB / 0.572 GB, free: 79.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007873/0.6082, allocations: 7.422 MB / 0.5793 GB, free: 71.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002971/0.6112, allocations: 317.8 kB / 0.5796 GB, free: 71.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002925/0.6115, allocations: 340 kB / 0.5799 GB, free: 71.35 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 (671): * Single equations (assignments): 664 * 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 prepare postOptimizeDAE: time 0.001728/0.6132, allocations: 1.841 MB / 0.5817 GB, free: 69.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003261/0.6135, allocations: 313.9 kB / 0.582 GB, free: 69.2 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003967/0.6175, allocations: 2.456 MB / 0.5844 GB, free: 66.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.6175, allocations: 7.984 kB / 0.5844 GB, free: 66.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.6175, allocations: 7.984 kB / 0.5844 GB, free: 66.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004011/0.6179, allocations: 365 kB / 0.5847 GB, free: 66.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003322/0.6182, allocations: 35.92 kB / 0.5848 GB, free: 66.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001127/0.6194, allocations: 95.86 kB / 0.5849 GB, free: 66.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.6195, allocations: 80.31 kB / 0.5849 GB, free: 66.14 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004652/0.6242, allocations: 3.134 MB / 0.588 GB, free: 63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003294/0.6275, allocations: 3.849 MB / 0.5918 GB, free: 59.14 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000876/0.6284, allocations: 0.9225 MB / 0.5927 GB, free: 58.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002062/0.6304, allocations: 2.183 MB / 0.5948 GB, free: 56.04 MB / 446.1 MB Notification: Performance of Backend: time 1.6e-07/0.6304, allocations: 0 / 0.5948 GB, free: 56.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006595/0.637, allocations: 4.198 MB / 0.5989 GB, free: 51.81 MB / 446.1 MB Notification: Performance of SimCode: time 0.008559/0.6456, allocations: 8.477 MB / 0.6072 GB, free: 43.29 MB / 446.1 MB Notification: Performance of Templates: time 0.05709/0.7027, allocations: 43.59 MB / 0.6497 GB, free: 15.9 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 5.851195116061717]