Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=5000,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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 116.2 kB / 17.28 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 193.3 kB / 18.2 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.256/1.256, allocations: 205.1 MB / 224.1 MB, free: 12.41 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001784/0.001784, allocations: 47.94 kB / 280.1 MB, free: 3.508 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09522/0.09702, allocations: 46.64 MB / 326.8 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.03513/0.1322, allocations: 38.42 MB / 365.2 MB, free: 14.22 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02085/0.1531, allocations: 8.434 MB / 373.6 MB, free: 5.758 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007879/0.161, allocations: 167.6 kB / 373.8 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004589/0.1657, allocations: 2.221 MB / 376 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004216/0.1699, allocations: 1.565 MB / 377.6 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00126/0.1712, allocations: 0.5695 MB / 378.2 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1788/0.35, allocations: 3.497 MB / 381.7 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00474/0.3548, allocations: 3.205 MB / 384.9 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002836/0.3576, allocations: 1.395 MB / 386.3 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003122/0.3608, allocations: 2.004 MB / 388.3 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001145/0.362, allocations: 291.3 kB / 388.5 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.3647, allocations: 1.147 MB / 389.7 MB, free: 9.27 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002023/0.3668, allocations: 1.708 MB / 391.4 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002097/0.3689, allocations: 1.981 MB / 393.4 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00542/0.3743, allocations: 6.072 MB / 399.5 MB, free: 7.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.3744, allocations: 0 / 399.5 MB, free: 7.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3744, allocations: 0 / 399.5 MB, free: 7.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001442/0.3745, allocations: 4 kB / 399.5 MB, free: 7.57 MB / 318.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.008816/0.3833, allocations: 4.23 MB / 403.7 MB, free: 5.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.3834, allocations: 16.86 kB / 403.7 MB, free: 5.172 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005964/0.3894, allocations: 1.83 MB / 405.5 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002924/0.3923, allocations: 2.068 MB / 407.6 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.3925, allocations: 207 kB / 407.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000693/0.3932, allocations: 373.6 kB / 408.2 MB, free: 2.809 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01362/0.4068, allocations: 8.869 MB / 417 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/0.4069, allocations: 42.83 kB / 417.1 MB, free: 12.69 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003888/0.4073, allocations: 143.4 kB / 417.2 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002451/0.4098, allocations: 1.643 MB / 418.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01416/0.424, allocations: 7.5 MB / 426.4 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04312/0.4671, allocations: 35.17 MB / 461.5 MB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008148/0.4753, allocations: 3.445 MB / 465 MB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/0.4772, allocations: 1.45 MB / 466.4 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009054/0.4863, allocations: 6.803 MB / 473.2 MB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.4864, allocations: 47.2 kB / 473.3 MB, free: 3.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 4.148e-06/0.4864, allocations: 0 / 473.3 MB, free: 3.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02509/0.5115, allocations: 11.13 MB / 484.4 MB, free: 8.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001228/0.5127, allocations: 1.71 MB / 486.1 MB, free: 6.555 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004962/0.5177, allocations: 3.547 MB / 489.7 MB, free: 3.008 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004057/0.5182, allocations: 41.7 kB / 489.7 MB, free: 2.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001951/0.5201, allocations: 2.79 MB / 492.5 MB, free: 180 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008354/0.521, allocations: 0.5714 MB / 493.1 MB, free: 15.61 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001482/0.5225, allocations: 1.111 MB / 494.2 MB, free: 14.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.5226, allocations: 301.1 kB / 494.5 MB, free: 14.2 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002672/0.5252, allocations: 1.92 MB / 496.4 MB, free: 12.27 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004839/0.5301, allocations: 5.366 MB / 0.49 GB, free: 5.227 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00857/0.5387, allocations: 7.831 MB / 0.4976 GB, free: 12.19 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/0.5388, allocations: 36 kB / 0.4977 GB, free: 12.15 MB / 430.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01962/0.5585, allocations: 8.756 MB / 0.5062 GB, free: 4.117 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.495e-05/0.5586, allocations: 63.75 kB / 0.5063 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009828/0.5684, allocations: 3.436 MB / 0.5096 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/0.5787, allocations: 2.23 MB / 0.5118 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004056/0.5827, allocations: 1.252 MB / 0.513 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009726/0.5925, allocations: 7.436 MB / 0.5203 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004245/0.5968, allocations: 379.3 kB / 0.5207 GB, free: 5.078 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000729/0.5975, allocations: 340 kB / 0.521 GB, free: 4.746 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.002936/0.6005, allocations: 1.858 MB / 0.5228 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005158/0.601, allocations: 300.1 kB / 0.5231 GB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005519/0.6065, allocations: 2.758 MB / 0.5258 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004403/0.6109, allocations: 2.358 MB / 0.5281 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.611, allocations: 0 / 0.5281 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/0.611, allocations: 11.97 kB / 0.5281 GB, free: 13.41 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01314/0.6241, allocations: 7.86 MB / 0.5358 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.6242, allocations: 0 / 0.5358 GB, free: 5.461 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.6252, allocations: 227.6 kB / 0.536 GB, free: 5.238 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003033/0.6282, allocations: 1.057 MB / 0.537 GB, free: 4.168 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/0.6284, allocations: 35.97 kB / 0.5371 GB, free: 4.133 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1839/0.8123, allocations: 5.272 MB / 0.5422 GB, free: 173.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001055/0.8134, allocations: 1.565 MB / 0.5437 GB, free: 172.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008575/0.822, allocations: 4.959 MB / 0.5486 GB, free: 171.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000849/0.8229, allocations: 363 kB / 0.5489 GB, free: 171.7 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005994/0.8235, allocations: 30.83 kB / 0.549 GB, free: 171.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/0.825, allocations: 125.6 kB / 0.5491 GB, free: 171.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/0.8253, allocations: 91.48 kB / 0.5492 GB, free: 171.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.8254, allocations: 41.39 kB / 0.5492 GB, free: 171.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004219/0.8296, allocations: 2.199 MB / 0.5513 GB, free: 171.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8296, allocations: 3.375 kB / 0.5514 GB, free: 171.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004498/0.8342, allocations: 0.9717 MB / 0.5523 GB, free: 171.1 MB / 462.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.0003433/0.8345, allocations: 163.5 kB / 0.5525 GB, free: 171 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008549/0.8431, allocations: 5.71 MB / 0.558 GB, free: 169.1 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.8431, allocations: 3.188 kB / 0.558 GB, free: 169.1 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00312/0.8462, allocations: 2.02 MB / 0.56 GB, free: 168.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.8483, allocations: 392.9 kB / 0.5604 GB, free: 168 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0114/0.8597, allocations: 10.22 MB / 0.5704 GB, free: 162.6 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002382/0.8621, allocations: 2.907 MB / 0.5732 GB, free: 161.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003409/0.8655, allocations: 1.706 MB / 0.5749 GB, free: 161.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000472/0.866, allocations: 216.7 kB / 0.5751 GB, free: 161.2 MB / 462.1 MB Notification: Performance of SimCode: time 5.01e-07/0.866, allocations: 0 / 0.5751 GB, free: 161.2 MB / 462.1 MB Notification: Performance of Templates: time 0.04679/0.9128, allocations: 36.3 MB / 0.6105 GB, free: 127.1 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches