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.001551/0.001551, allocations: 110.9 kB / 19.03 MB, free: 3.402 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.001559/0.001559, allocations: 194 kB / 22.22 MB, free: 228 kB / 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.692/1.692, allocations: 225.6 MB / 250.8 MB, free: 13.34 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.001554/0.001554, allocations: 55.86 kB / 368.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2745, allocations: 52.14 MB / 420.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01313/0.2876, allocations: 10.52 MB / 431.4 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008469/0.2961, allocations: 3.874 MB / 435.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002277/0.2984, allocations: 59.81 kB / 435.3 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004772/0.3032, allocations: 2.348 MB / 437.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005141/0.3083, allocations: 1.732 MB / 439.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.3099, allocations: 0.6044 MB / 440 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005253/0.3152, allocations: 3.458 MB / 443.5 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003042/0.3182, allocations: 2.245 MB / 445.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002353/0.3206, allocations: 1.367 MB / 447.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003011/0.3236, allocations: 1.943 MB / 449 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006618/0.3242, allocations: 292 kB / 449.3 MB, free: 2.496 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002253/0.3265, allocations: 1.19 MB / 450.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001849/0.3283, allocations: 1.749 MB / 452.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002193/0.3305, allocations: 1.954 MB / 454.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007612/0.3382, allocations: 6.264 MB / 460.5 MB, free: 7.297 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.316e-06/0.3382, allocations: 3.984 kB / 460.5 MB, free: 7.293 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3382, allocations: 0 / 460.5 MB, free: 7.293 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001731/0.3383, allocations: 0 / 460.5 MB, free: 7.293 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.008991/0.3473, allocations: 4.34 MB / 464.8 MB, free: 2.879 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/0.3474, allocations: 12.03 kB / 464.8 MB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006945/0.3543, allocations: 1.855 MB / 466.7 MB, free: 1.008 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006573/0.3609, allocations: 2.065 MB / 468.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002495/0.3611, allocations: 209.4 kB / 468.9 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001688/0.3628, allocations: 371.7 kB / 469.3 MB, free: 14.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01811/0.3809, allocations: 8.866 MB / 478.2 MB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001343/0.3811, allocations: 35.64 kB / 478.2 MB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006143/0.3817, allocations: 139.9 kB / 478.3 MB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002778/0.3845, allocations: 1.641 MB / 480 MB, free: 3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01582/0.4003, allocations: 7.506 MB / 487.5 MB, free: 11.48 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04618/0.4465, allocations: 35.08 MB / 0.5103 GB, free: 7.363 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008703/0.4552, allocations: 3.335 MB / 0.5136 GB, free: 3.883 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002271/0.4574, allocations: 1.381 MB / 0.5149 GB, free: 2.492 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01194/0.4694, allocations: 6.828 MB / 0.5216 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.4694, allocations: 47.22 kB / 0.5216 GB, free: 11.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 3.827e-06/0.4694, allocations: 0 / 0.5216 GB, free: 11.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.2976/0.7671, allocations: 11.29 MB / 0.5327 GB, free: 108.6 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001167/0.7682, allocations: 1.705 MB / 0.5343 GB, free: 107 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004881/0.7731, allocations: 3.54 MB / 0.5378 GB, free: 106 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002764/0.7734, allocations: 41.67 kB / 0.5378 GB, free: 106 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001223/0.7746, allocations: 2.911 MB / 0.5407 GB, free: 104.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004957/0.7751, allocations: 0.5961 MB / 0.5413 GB, free: 104.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/0.7762, allocations: 1.117 MB / 0.5423 GB, free: 103.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.529e-05/0.7763, allocations: 305.1 kB / 0.5426 GB, free: 103.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002068/0.7783, allocations: 1.918 MB / 0.5445 GB, free: 102.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003102/0.7814, allocations: 5.373 MB / 0.5498 GB, free: 97.36 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005714/0.7871, allocations: 7.837 MB / 0.5574 GB, free: 90.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.2e-05/0.7872, allocations: 35.5 kB / 0.5574 GB, free: 90.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01693/0.8041, allocations: 8.761 MB / 0.566 GB, free: 83.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.312e-05/0.8042, allocations: 56 kB / 0.5661 GB, free: 83.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009043/0.8132, allocations: 3.428 MB / 0.5694 GB, free: 80.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009327/0.8226, allocations: 2.234 MB / 0.5716 GB, free: 77.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003312/0.8259, allocations: 1.252 MB / 0.5728 GB, free: 76.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007534/0.8334, allocations: 7.409 MB / 0.58 GB, free: 68.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004403/0.8378, allocations: 388.4 kB / 0.5804 GB, free: 68.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008686/0.8387, allocations: 340 kB / 0.5807 GB, free: 68.22 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.003095/0.8418, allocations: 1.858 MB / 0.5825 GB, free: 66.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006519/0.8424, allocations: 317.8 kB / 0.5829 GB, free: 66.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004494/0.8469, allocations: 2.756 MB / 0.5855 GB, free: 63.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003622/0.8506, allocations: 2.347 MB / 0.5878 GB, free: 60.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.8506, allocations: 4 kB / 0.5878 GB, free: 60.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/0.8506, allocations: 7.969 kB / 0.5878 GB, free: 60.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/0.8624, allocations: 7.83 MB / 0.5955 GB, free: 52.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.8624, allocations: 8.094 kB / 0.5955 GB, free: 52.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009994/0.8634, allocations: 219.6 kB / 0.5957 GB, free: 52.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002633/0.8661, allocations: 1.061 MB / 0.5967 GB, free: 51.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/0.8662, allocations: 35.97 kB / 0.5968 GB, free: 51.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004169/0.8704, allocations: 5.278 MB / 0.6019 GB, free: 46.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006934/0.8711, allocations: 1.573 MB / 0.6035 GB, free: 44.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006077/0.8772, allocations: 4.964 MB / 0.6083 GB, free: 39.37 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007898/0.8779, allocations: 378.8 kB / 0.6087 GB, free: 38.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003239/0.8783, allocations: 39.92 kB / 0.6087 GB, free: 38.94 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001208/0.8795, allocations: 119.8 kB / 0.6088 GB, free: 38.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002394/0.8797, allocations: 88.47 kB / 0.6089 GB, free: 38.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.8798, allocations: 47.09 kB / 0.609 GB, free: 38.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002365/0.8822, allocations: 2.179 MB / 0.6111 GB, free: 36.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8822, allocations: 0 / 0.6111 GB, free: 36.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003883/0.8861, allocations: 0.9687 MB / 0.612 GB, free: 35.56 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.000362/0.8864, allocations: 170.9 kB / 0.6122 GB, free: 35.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007169/0.8936, allocations: 5.031 MB / 0.6171 GB, free: 30.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.8936, allocations: 192 / 0.6171 GB, free: 30.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002969/0.8966, allocations: 1.93 MB / 0.619 GB, free: 28.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/0.8988, allocations: 405.2 kB / 0.6194 GB, free: 27.93 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.9089, allocations: 8.613 MB / 0.6278 GB, free: 19.26 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002104/0.911, allocations: 2.905 MB / 0.6306 GB, free: 16.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003057/0.9141, allocations: 1.711 MB / 0.6323 GB, free: 14.61 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004865/0.9146, allocations: 211.4 kB / 0.6325 GB, free: 14.4 MB / 446.1 MB Notification: Performance of SimCode: time 1.794e-06/0.9146, allocations: 0 / 0.6325 GB, free: 14.4 MB / 446.1 MB Notification: Performance of Templates: time 0.06119/0.9758, allocations: 34.87 MB / 0.6666 GB, free: 11.74 MB / 478.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.6100587928667665]