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.00113/0.00113, allocations: 103.4 kB / 17.16 MB, free: 6.316 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.001225/0.001225, allocations: 190 kB / 18.07 MB, free: 5.414 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.286/1.286, allocations: 205.1 MB / 223.9 MB, free: 12.39 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.002124/0.002124, allocations: 47.94 kB / 280 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1058, allocations: 46.62 MB / 326.6 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.03484/0.1407, allocations: 38.43 MB / 365 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01806/0.1588, allocations: 8.516 MB / 373.5 MB, free: 5.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005527/0.1643, allocations: 167.6 kB / 373.7 MB, free: 5.586 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004245/0.1687, allocations: 2.295 MB / 376 MB, free: 3.285 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003805/0.1725, allocations: 1.573 MB / 377.6 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.1738, allocations: 0.5655 MB / 378.1 MB, free: 1.141 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1737/0.3475, allocations: 4.988 MB / 383.1 MB, free: 9.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00487/0.3524, allocations: 3.001 MB / 386.1 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002709/0.3551, allocations: 1.215 MB / 387.3 MB, free: 9.332 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003066/0.3582, allocations: 1.919 MB / 389.3 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007555/0.359, allocations: 201.9 kB / 389.5 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002298/0.3613, allocations: 1.096 MB / 390.6 MB, free: 9.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00192/0.3633, allocations: 1.623 MB / 392.2 MB, free: 9.055 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002289/0.3656, allocations: 1.882 MB / 394.1 MB, free: 8.363 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005626/0.3712, allocations: 5.972 MB / 400 MB, free: 7.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3712, allocations: 7.984 kB / 400 MB, free: 7.039 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3712, allocations: 0 / 400 MB, free: 7.039 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001581/0.3714, allocations: 0 / 400 MB, free: 7.039 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.008432/0.3798, allocations: 4.23 MB / 404.3 MB, free: 4.734 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.3799, allocations: 9.75 kB / 404.3 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005895/0.3858, allocations: 1.836 MB / 406.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004136/0.39, allocations: 2.056 MB / 408.2 MB, free: 2.797 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/0.3902, allocations: 212.9 kB / 408.4 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001445/0.3917, allocations: 376.6 kB / 408.8 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0169/0.4086, allocations: 8.869 MB / 417.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001021/0.4087, allocations: 39.69 kB / 417.7 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003799/0.4091, allocations: 143.9 kB / 417.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002496/0.4116, allocations: 1.644 MB / 419.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01627/0.4279, allocations: 7.491 MB / 426.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04948/0.4774, allocations: 35.18 MB / 462.1 MB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008742/0.4862, allocations: 3.445 MB / 465.6 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002106/0.4884, allocations: 1.44 MB / 467 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0108/0.4992, allocations: 6.83 MB / 473.8 MB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.438e-05/0.4993, allocations: 43.22 kB / 473.9 MB, free: 3.023 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 5.62e-06/0.4993, allocations: 4 kB / 473.9 MB, free: 3.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.02698/0.5263, allocations: 11.12 MB / 485 MB, free: 7.758 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001462/0.5278, allocations: 1.609 MB / 486.6 MB, free: 5.988 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006393/0.5342, allocations: 3.559 MB / 490.2 MB, free: 2.43 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003546/0.5346, allocations: 45.7 kB / 490.2 MB, free: 2.379 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002116/0.5367, allocations: 2.79 MB / 493 MB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008062/0.5376, allocations: 0.5696 MB / 493.6 MB, free: 15.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001997/0.5396, allocations: 1.107 MB / 494.7 MB, free: 13.91 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.5397, allocations: 301.1 kB / 495 MB, free: 13.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003042/0.5427, allocations: 1.919 MB / 496.9 MB, free: 11.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005411/0.5481, allocations: 5.367 MB / 0.4905 GB, free: 4.648 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008676/0.5568, allocations: 7.828 MB / 0.4981 GB, free: 11.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001016/0.557, allocations: 36 kB / 0.4982 GB, free: 11.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01926/0.5762, allocations: 8.755 MB / 0.5067 GB, free: 3.527 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.5764, allocations: 63.94 kB / 0.5068 GB, free: 3.465 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01013/0.5866, allocations: 3.436 MB / 0.5101 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00981/0.5964, allocations: 2.227 MB / 0.5123 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004108/0.6005, allocations: 1.255 MB / 0.5135 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009259/0.6098, allocations: 6.817 MB / 0.5202 GB, free: 5.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004322/0.6142, allocations: 393.9 kB / 0.5206 GB, free: 5.043 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008835/0.6151, allocations: 336 kB / 0.5209 GB, free: 4.715 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.003149/0.6182, allocations: 1.845 MB / 0.5227 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005986/0.6188, allocations: 308 kB / 0.523 GB, free: 2.555 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005345/0.6242, allocations: 2.761 MB / 0.5257 GB, free: 15.77 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004387/0.6286, allocations: 2.351 MB / 0.528 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.279e-05/0.6286, allocations: 7.938 kB / 0.528 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.6286, allocations: 11.72 kB / 0.528 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/0.6419, allocations: 7.851 MB / 0.5357 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.6419, allocations: 4 kB / 0.5357 GB, free: 5.438 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.6429, allocations: 223.6 kB / 0.5359 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00298/0.6459, allocations: 1.057 MB / 0.5369 GB, free: 4.148 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/0.6461, allocations: 38.94 kB / 0.5369 GB, free: 4.113 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1664/0.8125, allocations: 4.941 MB / 0.5418 GB, free: 173.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009152/0.8135, allocations: 1.477 MB / 0.5432 GB, free: 172.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008764/0.8223, allocations: 4.956 MB / 0.548 GB, free: 171.7 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009778/0.8233, allocations: 361.7 kB / 0.5484 GB, free: 171.6 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006655/0.824, allocations: 39.56 kB / 0.5484 GB, free: 171.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001517/0.8255, allocations: 124.8 kB / 0.5485 GB, free: 171.6 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002704/0.8258, allocations: 88.45 kB / 0.5486 GB, free: 171.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/0.8259, allocations: 45.8 kB / 0.5487 GB, free: 171.6 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004181/0.8301, allocations: 2.198 MB / 0.5508 GB, free: 171.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.8301, allocations: 0 / 0.5508 GB, free: 171.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004458/0.8346, allocations: 0.9688 MB / 0.5518 GB, free: 171 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.0003552/0.8349, allocations: 173.4 kB / 0.5519 GB, free: 170.9 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008027/0.843, allocations: 5.208 MB / 0.557 GB, free: 169 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.843, allocations: 0 / 0.557 GB, free: 169 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003499/0.8465, allocations: 2.014 MB / 0.559 GB, free: 168.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/0.8494, allocations: 382.9 kB / 0.5594 GB, free: 167.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/0.8627, allocations: 10.21 MB / 0.5693 GB, free: 162.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003526/0.8662, allocations: 2.915 MB / 0.5722 GB, free: 161.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00374/0.87, allocations: 1.699 MB / 0.5738 GB, free: 161.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006139/0.8706, allocations: 214.9 kB / 0.574 GB, free: 161.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.032e-06/0.8706, allocations: 3.938 kB / 0.574 GB, free: 161.1 MB / 462.1 MB Notification: Performance of Templates: time 0.05101/0.9216, allocations: 34.9 MB / 0.6081 GB, free: 129.3 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