Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001559/0.001559, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, allocations: 227.4 MB / 247.1 MB, free: 10.74 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 63.56 kB / 307.1 MB, free: 0.9062 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1025, allocations: 50.54 MB / 357.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.1822/0.2847, allocations: 38.16 MB / 395.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0195/0.3043, allocations: 8.351 MB / 404.2 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007598/0.3119, allocations: 166.2 kB / 404.4 MB, free: 8.922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0046/0.3166, allocations: 2.209 MB / 406.6 MB, free: 7.781 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004487/0.3211, allocations: 1.547 MB / 408.1 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001768/0.3228, allocations: 0.5758 MB / 408.7 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007566/0.3304, allocations: 3.523 MB / 412.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006183/0.3366, allocations: 3.193 MB / 415.4 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003221/0.3399, allocations: 1.378 MB / 416.8 MB, free: 396 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004315/0.3442, allocations: 1.998 MB / 418.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009564/0.3452, allocations: 296 kB / 419.1 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003383/0.3486, allocations: 1.131 MB / 420.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002688/0.3513, allocations: 1.691 MB / 421.9 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003437/0.3548, allocations: 1.965 MB / 423.9 MB, free: 9.285 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008064/0.3629, allocations: 4.881 MB / 428.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3629, allocations: 0 / 428.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3629, allocations: 0 / 428.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001643/0.3631, allocations: 0 / 428.7 MB, free: 4.395 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.01159/0.3747, allocations: 4.207 MB / 433 MB, free: 124 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/0.3748, allocations: 12.03 kB / 433 MB, free: 112 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.3853, allocations: 1.895 MB / 434.9 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005616/0.3909, allocations: 1.975 MB / 436.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002633/0.3912, allocations: 221.4 kB / 437.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/0.3926, allocations: 371.6 kB / 437.4 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02258/0.4152, allocations: 8.893 MB / 446.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001253/0.4153, allocations: 35.66 kB / 446.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005652/0.4159, allocations: 143.8 kB / 446.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003811/0.4197, allocations: 1.637 MB / 448.1 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02206/0.4418, allocations: 7.529 MB / 455.6 MB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06251/0.5044, allocations: 35.17 MB / 490.8 MB, free: 4.488 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/0.5154, allocations: 3.471 MB / 494.3 MB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002125/0.5175, allocations: 1.447 MB / 495.7 MB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.5278, allocations: 6.887 MB / 0.4908 GB, free: 8.195 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/0.5279, allocations: 51.14 kB / 0.4909 GB, free: 8.137 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 3.707e-06/0.5279, allocations: 0 / 0.4909 GB, free: 8.137 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.02764/0.5556, allocations: 11.16 MB / 0.5018 GB, free: 12.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00157/0.5572, allocations: 1.71 MB / 0.5035 GB, free: 10.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005038/0.5622, allocations: 3.519 MB / 0.5069 GB, free: 7.398 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002455/0.5625, allocations: 49.7 kB / 0.5069 GB, free: 7.344 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002241/0.5647, allocations: 2.786 MB / 0.5097 GB, free: 4.52 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006862/0.5654, allocations: 0.5787 MB / 0.5102 GB, free: 3.934 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001521/0.567, allocations: 1.107 MB / 0.5113 GB, free: 2.816 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.5671, allocations: 301.1 kB / 0.5116 GB, free: 2.52 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003027/0.5701, allocations: 1.931 MB / 0.5135 GB, free: 0.582 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00596/0.5761, allocations: 5.369 MB / 0.5187 GB, free: 9.477 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1643/0.7405, allocations: 7.839 MB / 0.5264 GB, free: 140.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001248/0.7406, allocations: 35.72 kB / 0.5264 GB, free: 140.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02076/0.7614, allocations: 8.853 MB / 0.5351 GB, free: 138.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.7616, allocations: 56.59 kB / 0.5351 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01085/0.7724, allocations: 3.533 MB / 0.5386 GB, free: 137.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01032/0.7828, allocations: 2.327 MB / 0.5408 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003814/0.7866, allocations: 1.252 MB / 0.5421 GB, free: 137.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008517/0.7952, allocations: 7.44 MB / 0.5493 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003947/0.7991, allocations: 381.1 kB / 0.5497 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007428/0.7999, allocations: 348.2 kB / 0.55 GB, free: 133.1 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.002622/0.8025, allocations: 1.855 MB / 0.5518 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005149/0.803, allocations: 295.5 kB / 0.5521 GB, free: 132.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000706/0.8038, allocations: 410.3 kB / 0.5525 GB, free: 132 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004017/0.8078, allocations: 2.371 MB / 0.5548 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-05/0.8078, allocations: 12.31 kB / 0.5548 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.8078, allocations: 7.891 kB / 0.5548 GB, free: 130.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.012/0.8198, allocations: 7.852 MB / 0.5625 GB, free: 126.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.8199, allocations: 0 / 0.5625 GB, free: 126.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009958/0.8209, allocations: 235 kB / 0.5627 GB, free: 126.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002703/0.8236, allocations: 1.059 MB / 0.5638 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/0.8238, allocations: 31.98 kB / 0.5638 GB, free: 125.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00434/0.8281, allocations: 5.28 MB / 0.569 GB, free: 119.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007063/0.8289, allocations: 1.567 MB / 0.5705 GB, free: 117.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00626/0.8351, allocations: 4.988 MB / 0.5754 GB, free: 113 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006841/0.8358, allocations: 369 kB / 0.5757 GB, free: 112.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004959/0.8364, allocations: 36.86 kB / 0.5757 GB, free: 112.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.8378, allocations: 123.8 kB / 0.5759 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002328/0.838, allocations: 92.45 kB / 0.576 GB, free: 112.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.8381, allocations: 39.98 kB / 0.576 GB, free: 112.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002857/0.841, allocations: 2.171 MB / 0.5781 GB, free: 110.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.841, allocations: 3.844 kB / 0.5781 GB, free: 110.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003875/0.8449, allocations: 0.9688 MB / 0.5791 GB, free: 109.2 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.0003933/0.8453, allocations: 160.2 kB / 0.5792 GB, free: 109.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008142/0.8534, allocations: 5.732 MB / 0.5848 GB, free: 103.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.8535, allocations: 0 / 0.5848 GB, free: 103.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003211/0.8567, allocations: 2.028 MB / 0.5868 GB, free: 101.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/0.8591, allocations: 398.3 kB / 0.5872 GB, free: 100.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/0.8722, allocations: 10.61 MB / 0.5975 GB, free: 90.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002859/0.8751, allocations: 2.897 MB / 0.6004 GB, free: 87.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008518/0.876, allocations: 263.4 kB / 0.6006 GB, free: 87 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.876, allocations: 0 / 0.6006 GB, free: 87 MB / 446.1 MB Notification: Performance of Templates: time 0.2663/1.142, allocations: 117.3 MB / 0.7151 GB, free: 144.5 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches