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.001136/0.001136, allocations: 109.5 kB / 17.73 MB, free: 5.363 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.001166/0.001166, allocations: 188.1 kB / 18.66 MB, free: 4.441 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.443/1.443, allocations: 205.1 MB / 224.5 MB, free: 12.29 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.001127/0.001127, allocations: 47.94 kB / 328.5 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08918/0.09032, allocations: 46.61 MB / 375.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.2142/0.3046, allocations: 10.48 MB / 385.6 MB, free: 8.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007992/0.3126, allocations: 3.81 MB / 389.4 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002985/0.3156, allocations: 61.88 kB / 389.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005812/0.3216, allocations: 2.311 MB / 391.8 MB, free: 4.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006132/0.3277, allocations: 1.689 MB / 393.5 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.33, allocations: 0.6104 MB / 394.1 MB, free: 3.547 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007119/0.3371, allocations: 3.458 MB / 397.6 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005275/0.3425, allocations: 3.032 MB / 400.6 MB, free: 1.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003714/0.3462, allocations: 1.369 MB / 402 MB, free: 288 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004598/0.3508, allocations: 1.8 MB / 403.8 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001167/0.352, allocations: 290.7 kB / 404 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003376/0.3554, allocations: 1.145 MB / 405.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002136/0.3576, allocations: 1.71 MB / 406.9 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00378/0.3614, allocations: 1.958 MB / 408.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008409/0.3698, allocations: 6.239 MB / 415.1 MB, free: 7.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.3699, allocations: 0 / 415.1 MB, free: 7.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3699, allocations: 0 / 415.1 MB, free: 7.688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001591/0.37, allocations: 0 / 415.1 MB, free: 7.688 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.008782/0.3788, allocations: 4.235 MB / 419.3 MB, free: 3.387 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.3789, allocations: 8.031 kB / 419.3 MB, free: 3.379 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006732/0.3856, allocations: 1.832 MB / 421.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004994/0.3907, allocations: 2.107 MB / 423.3 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001919/0.3909, allocations: 217.4 kB / 423.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009528/0.3918, allocations: 367.7 kB / 423.8 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01717/0.409, allocations: 8.866 MB / 432.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.4092, allocations: 43.59 kB / 432.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004792/0.4097, allocations: 131.9 kB / 432.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00254/0.4122, allocations: 1.645 MB / 434.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01525/0.4275, allocations: 7.502 MB / 442 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04687/0.4744, allocations: 35.02 MB / 477 MB, free: 7.902 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008807/0.4833, allocations: 3.452 MB / 480.5 MB, free: 4.301 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002047/0.4854, allocations: 1.447 MB / 481.9 MB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009538/0.4949, allocations: 6.796 MB / 488.7 MB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.718e-05/0.495, allocations: 51.09 kB / 488.8 MB, free: 11.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 4.328e-06/0.495, allocations: 0 / 488.8 MB, free: 11.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.02671/0.5217, allocations: 11.12 MB / 499.9 MB, free: 392 kB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001379/0.5232, allocations: 1.706 MB / 0.4899 GB, free: 14.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005002/0.5282, allocations: 3.559 MB / 0.4933 GB, free: 10.94 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000374/0.5286, allocations: 41.7 kB / 0.4934 GB, free: 10.89 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002013/0.5306, allocations: 2.79 MB / 0.4961 GB, free: 8.066 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008953/0.5315, allocations: 0.5711 MB / 0.4967 GB, free: 7.488 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001786/0.5333, allocations: 1.103 MB / 0.4977 GB, free: 6.375 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.5334, allocations: 305.1 kB / 0.498 GB, free: 6.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003247/0.5367, allocations: 1.924 MB / 0.4999 GB, free: 4.145 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006166/0.5429, allocations: 5.357 MB / 0.5051 GB, free: 13.05 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009332/0.5522, allocations: 7.841 MB / 0.5128 GB, free: 3.492 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/0.5524, allocations: 35.94 kB / 0.5128 GB, free: 3.457 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.0234/0.5758, allocations: 8.754 MB / 0.5214 GB, free: 10.68 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001683/0.576, allocations: 56 kB / 0.5214 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01186/0.5879, allocations: 3.444 MB / 0.5248 GB, free: 7.168 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01101/0.599, allocations: 2.234 MB / 0.527 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004636/0.6036, allocations: 1.248 MB / 0.5282 GB, free: 3.668 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.615, allocations: 7.417 MB / 0.5354 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005517/0.6206, allocations: 383.3 kB / 0.5358 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001124/0.6217, allocations: 339.9 kB / 0.5361 GB, free: 11.26 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.004064/0.6258, allocations: 1.85 MB / 0.5379 GB, free: 9.398 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008572/0.6267, allocations: 308 kB / 0.5382 GB, free: 9.094 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005627/0.6323, allocations: 2.771 MB / 0.5409 GB, free: 6.297 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004556/0.6369, allocations: 2.355 MB / 0.5432 GB, free: 3.918 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.6369, allocations: 7.938 kB / 0.5432 GB, free: 3.91 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.001e-05/0.637, allocations: 3.984 kB / 0.5432 GB, free: 3.906 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2501/0.8871, allocations: 7.834 MB / 0.5509 GB, free: 147.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-05/0.8872, allocations: 0.75 kB / 0.5509 GB, free: 147.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/0.8886, allocations: 226.6 kB / 0.5511 GB, free: 147.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004067/0.8927, allocations: 1.057 MB / 0.5521 GB, free: 147.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004178/0.8931, allocations: 35.38 kB / 0.5522 GB, free: 147.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00657/0.8997, allocations: 5.281 MB / 0.5573 GB, free: 143.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001086/0.9008, allocations: 1.563 MB / 0.5589 GB, free: 142.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01038/0.9112, allocations: 4.96 MB / 0.5637 GB, free: 140.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001389/0.9127, allocations: 365.3 kB / 0.5641 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007141/0.9134, allocations: 27.83 kB / 0.5641 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002034/0.9155, allocations: 126.2 kB / 0.5642 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004472/0.9159, allocations: 88.25 kB / 0.5643 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001479/0.9161, allocations: 48.45 kB / 0.5643 GB, free: 140.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005763/0.9219, allocations: 2.204 MB / 0.5665 GB, free: 139.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.104e-06/0.9219, allocations: 0 / 0.5665 GB, free: 139.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.008118/0.93, allocations: 0.9716 MB / 0.5674 GB, free: 139.5 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.0007688/0.9308, allocations: 164.6 kB / 0.5676 GB, free: 139.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01019/0.9411, allocations: 5.232 MB / 0.5727 GB, free: 137.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.9411, allocations: 5.812 kB / 0.5727 GB, free: 137.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003809/0.9449, allocations: 2.017 MB / 0.5747 GB, free: 136.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00362/0.9486, allocations: 391.5 kB / 0.575 GB, free: 136.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01835/0.967, allocations: 8.429 MB / 0.5833 GB, free: 132.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004189/0.9712, allocations: 2.909 MB / 0.5861 GB, free: 131.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003667/0.9749, allocations: 1.701 MB / 0.5878 GB, free: 130.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006468/0.9756, allocations: 210.3 kB / 0.588 GB, free: 130.4 MB / 478.1 MB Notification: Performance of SimCode: time 1.132e-06/0.9756, allocations: 0 / 0.588 GB, free: 130.4 MB / 478.1 MB Notification: Performance of Templates: time 0.05668/1.032, allocations: 33.12 MB / 0.6203 GB, free: 97.64 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