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.001069/0.001069, allocations: 105.2 kB / 17.73 MB, free: 5.238 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.001201/0.001201, allocations: 187.1 kB / 18.66 MB, free: 4.312 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.402/1.402, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001477/0.001477, allocations: 47.94 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09755/0.09904, allocations: 46.61 MB / 375.1 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.1997/0.2988, allocations: 10.47 MB / 385.6 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008626/0.3075, allocations: 3.816 MB / 389.4 MB, free: 5.391 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001379/0.3089, allocations: 65.47 kB / 389.5 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004202/0.3131, allocations: 2.312 MB / 391.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004465/0.3176, allocations: 1.684 MB / 393.5 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001745/0.3194, allocations: 0.6077 MB / 394.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006028/0.3254, allocations: 3.461 MB / 397.6 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003376/0.3288, allocations: 3.035 MB / 400.6 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002009/0.3309, allocations: 1.362 MB / 402 MB, free: 48 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002748/0.3336, allocations: 1.808 MB / 403.8 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006997/0.3343, allocations: 290.8 kB / 404 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.3368, allocations: 1.141 MB / 405.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001864/0.3387, allocations: 1.71 MB / 406.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002809/0.3415, allocations: 1.962 MB / 408.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006786/0.3483, allocations: 6.233 MB / 415.1 MB, free: 7.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3483, allocations: 3.938 kB / 415.1 MB, free: 7.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.067e-06/0.3483, allocations: 4 kB / 415.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.253e-05/0.3484, allocations: 0 / 415.1 MB, free: 7.52 MB / 334.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.008259/0.3567, allocations: 4.227 MB / 419.3 MB, free: 3.227 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3568, allocations: 8.031 kB / 419.3 MB, free: 3.219 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006871/0.3636, allocations: 1.828 MB / 421.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003667/0.3673, allocations: 2.111 MB / 423.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001489/0.3675, allocations: 217.4 kB / 423.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008206/0.3683, allocations: 367.6 kB / 423.8 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01752/0.3859, allocations: 8.874 MB / 432.7 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001185/0.386, allocations: 43.53 kB / 432.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003942/0.3864, allocations: 135.9 kB / 432.9 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002687/0.3891, allocations: 1.637 MB / 434.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0151/0.4043, allocations: 7.502 MB / 442 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04399/0.4483, allocations: 35.02 MB / 477 MB, free: 7.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009022/0.4574, allocations: 3.444 MB / 480.5 MB, free: 4.148 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002416/0.4598, allocations: 1.455 MB / 481.9 MB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009831/0.4697, allocations: 6.792 MB / 488.7 MB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.556e-05/0.4698, allocations: 51.14 kB / 488.8 MB, free: 11.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 6.162e-06/0.4698, allocations: 3.938 kB / 488.8 MB, free: 11.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.02811/0.4979, allocations: 11.13 MB / 499.9 MB, free: 220 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001368/0.4993, allocations: 1.703 MB / 0.4899 GB, free: 14.34 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00493/0.5042, allocations: 3.548 MB / 0.4933 GB, free: 10.79 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003068/0.5046, allocations: 45.64 kB / 0.4934 GB, free: 10.74 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002915/0.5075, allocations: 2.798 MB / 0.4961 GB, free: 7.902 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001071/0.5086, allocations: 0.5672 MB / 0.4967 GB, free: 7.328 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00172/0.5103, allocations: 1.107 MB / 0.4977 GB, free: 6.211 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5105, allocations: 305.1 kB / 0.498 GB, free: 5.91 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003088/0.5135, allocations: 1.92 MB / 0.4999 GB, free: 3.984 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005392/0.519, allocations: 5.369 MB / 0.5051 GB, free: 12.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009177/0.5282, allocations: 7.83 MB / 0.5128 GB, free: 3.332 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.59e-05/0.5283, allocations: 36 kB / 0.5128 GB, free: 3.297 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02212/0.5504, allocations: 8.758 MB / 0.5214 GB, free: 10.51 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.219e-05/0.5505, allocations: 56 kB / 0.5214 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01071/0.5613, allocations: 3.44 MB / 0.5248 GB, free: 7.008 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01079/0.5721, allocations: 2.227 MB / 0.527 GB, free: 4.766 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004388/0.5765, allocations: 1.252 MB / 0.5282 GB, free: 3.512 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/0.5874, allocations: 7.425 MB / 0.5354 GB, free: 11.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005301/0.5927, allocations: 383.2 kB / 0.5358 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001393/0.5942, allocations: 340 kB / 0.5361 GB, free: 11.1 MB / 478.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.005101/0.5993, allocations: 1.853 MB / 0.5379 GB, free: 9.23 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/0.6003, allocations: 304.1 kB / 0.5382 GB, free: 8.93 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007053/0.6074, allocations: 2.766 MB / 0.5409 GB, free: 6.137 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004883/0.6123, allocations: 2.351 MB / 0.5432 GB, free: 3.762 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.359e-05/0.6124, allocations: 7.938 kB / 0.5432 GB, free: 3.754 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.657e-05/0.6124, allocations: 7.969 kB / 0.5432 GB, free: 3.746 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2396/0.852, allocations: 7.837 MB / 0.5509 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.852, allocations: 1.781 kB / 0.5509 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.8531, allocations: 225.1 kB / 0.5511 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00313/0.8562, allocations: 1.053 MB / 0.5521 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/0.8564, allocations: 37.11 kB / 0.5522 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005499/0.8619, allocations: 5.282 MB / 0.5573 GB, free: 143.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008991/0.8628, allocations: 1.569 MB / 0.5589 GB, free: 142.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008487/0.8713, allocations: 4.961 MB / 0.5637 GB, free: 140.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008186/0.8722, allocations: 360.5 kB / 0.5641 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003544/0.8725, allocations: 31.92 kB / 0.5641 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001419/0.874, allocations: 122.4 kB / 0.5642 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003111/0.8743, allocations: 86.06 kB / 0.5643 GB, free: 140.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.8744, allocations: 55.12 kB / 0.5643 GB, free: 140.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003543/0.878, allocations: 2.201 MB / 0.5665 GB, free: 139.5 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.878, allocations: 0 / 0.5665 GB, free: 139.5 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005447/0.8834, allocations: 0.9663 MB / 0.5674 GB, free: 139.4 MB / 478.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.0004642/0.8839, allocations: 164.6 kB / 0.5676 GB, free: 139.3 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008928/0.8928, allocations: 5.237 MB / 0.5727 GB, free: 137.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.8929, allocations: 0 / 0.5727 GB, free: 137.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003609/0.8965, allocations: 2.02 MB / 0.5747 GB, free: 136.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002826/0.8994, allocations: 393.6 kB / 0.5751 GB, free: 136.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01434/0.9137, allocations: 8.424 MB / 0.5833 GB, free: 132.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002805/0.9166, allocations: 2.906 MB / 0.5861 GB, free: 131.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003307/0.9199, allocations: 1.7 MB / 0.5878 GB, free: 130.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005013/0.9204, allocations: 218.5 kB / 0.588 GB, free: 130.1 MB / 478.1 MB Notification: Performance of SimCode: time 1.072e-06/0.9204, allocations: 0 / 0.588 GB, free: 130.1 MB / 478.1 MB Notification: Performance of Templates: time 0.05204/0.9725, allocations: 33.18 MB / 0.6204 GB, free: 97.25 MB / 478.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches