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.001312/0.001312, allocations: 116 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 64.27 kB / 306.4 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08691/0.08807, allocations: 50.53 MB / 357 MB, free: 14.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.176/0.2641, allocations: 38.17 MB / 395.1 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01993/0.284, allocations: 8.352 MB / 403.5 MB, free: 9.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007373/0.2914, allocations: 165 kB / 403.7 MB, free: 9.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004488/0.296, allocations: 2.2 MB / 405.9 MB, free: 7.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004981/0.301, allocations: 1.551 MB / 407.4 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.3026, allocations: 0.5733 MB / 408 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004657/0.3073, allocations: 3.518 MB / 411.5 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003496/0.3108, allocations: 3.204 MB / 414.7 MB, free: 1.871 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.3126, allocations: 1.382 MB / 416.1 MB, free: 496 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002269/0.3149, allocations: 1.998 MB / 418.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004571/0.3153, allocations: 288 kB / 418.4 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002226/0.3176, allocations: 1.135 MB / 419.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.319, allocations: 1.691 MB / 421.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001578/0.3206, allocations: 1.969 MB / 423.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005228/0.3258, allocations: 6.017 MB / 429.2 MB, free: 3.348 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3258, allocations: 4 kB / 429.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3258, allocations: 0 / 429.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.849e-05/0.3259, allocations: 0 / 429.2 MB, free: 3.344 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.006444/0.3324, allocations: 4.203 MB / 433.4 MB, free: 15.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3324, allocations: 12.03 kB / 433.4 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006298/0.3387, allocations: 1.883 MB / 435.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00327/0.342, allocations: 1.99 MB / 437.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/0.3422, allocations: 217.4 kB / 437.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008315/0.343, allocations: 367.6 kB / 437.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/0.3563, allocations: 8.893 MB / 446.7 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.03e-05/0.3564, allocations: 43.59 kB / 446.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003368/0.3568, allocations: 135.8 kB / 446.9 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0023/0.3591, allocations: 1.645 MB / 448.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01317/0.3723, allocations: 7.53 MB / 456.1 MB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04331/0.4156, allocations: 35.17 MB / 491.3 MB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008494/0.4242, allocations: 3.471 MB / 494.7 MB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/0.4261, allocations: 1.451 MB / 496.2 MB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/0.4362, allocations: 6.883 MB / 0.4913 GB, free: 7.145 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.769e-05/0.4362, allocations: 51.16 kB / 0.4913 GB, free: 7.086 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 5.881e-06/0.4363, allocations: 0 / 0.4913 GB, free: 7.086 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.02785/0.4641, allocations: 11.16 MB / 0.5022 GB, free: 11.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001345/0.4655, allocations: 1.71 MB / 0.5039 GB, free: 9.863 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005448/0.471, allocations: 3.519 MB / 0.5073 GB, free: 6.344 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001714/0.4712, allocations: 45.7 kB / 0.5074 GB, free: 6.293 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001889/0.4731, allocations: 2.778 MB / 0.5101 GB, free: 3.477 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006794/0.4738, allocations: 0.575 MB / 0.5106 GB, free: 2.895 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001727/0.4755, allocations: 1.11 MB / 0.5117 GB, free: 1.773 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.01e-05/0.4756, allocations: 305.1 kB / 0.512 GB, free: 1.473 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002902/0.4785, allocations: 1.928 MB / 0.5139 GB, free: 15.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005193/0.4837, allocations: 5.377 MB / 0.5192 GB, free: 8.426 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1752/0.6589, allocations: 7.838 MB / 0.5268 GB, free: 140 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001242/0.6591, allocations: 35.94 kB / 0.5268 GB, free: 140 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02022/0.6793, allocations: 8.843 MB / 0.5355 GB, free: 138.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.651e-05/0.6794, allocations: 62.44 kB / 0.5355 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01046/0.6899, allocations: 3.533 MB / 0.539 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009745/0.6997, allocations: 2.323 MB / 0.5413 GB, free: 137.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003668/0.7034, allocations: 1.257 MB / 0.5425 GB, free: 137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008104/0.7115, allocations: 7.445 MB / 0.5498 GB, free: 132.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003758/0.7153, allocations: 383.9 kB / 0.5501 GB, free: 132.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004048/0.7157, allocations: 343.1 kB / 0.5504 GB, free: 132.6 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.002025/0.7177, allocations: 1.85 MB / 0.5523 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003587/0.7181, allocations: 302.7 kB / 0.5525 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005353/0.7186, allocations: 404.7 kB / 0.5529 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003893/0.7225, allocations: 2.375 MB / 0.5552 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.7225, allocations: 15.72 kB / 0.5553 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.7226, allocations: 4.922 kB / 0.5553 GB, free: 130.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009997/0.7326, allocations: 7.85 MB / 0.5629 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.7326, allocations: 0 / 0.5629 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009766/0.7336, allocations: 231.3 kB / 0.5632 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002653/0.7362, allocations: 1.061 MB / 0.5642 GB, free: 124.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001147/0.7364, allocations: 35.97 kB / 0.5642 GB, free: 124.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004194/0.7406, allocations: 5.28 MB / 0.5694 GB, free: 118.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006702/0.7413, allocations: 1.569 MB / 0.5709 GB, free: 116.9 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006057/0.7473, allocations: 4.992 MB / 0.5758 GB, free: 112 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007923/0.7481, allocations: 365 kB / 0.5761 GB, free: 111.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003224/0.7485, allocations: 34.42 kB / 0.5762 GB, free: 111.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/0.7497, allocations: 127.8 kB / 0.5763 GB, free: 111.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/0.7499, allocations: 84.47 kB / 0.5764 GB, free: 111.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.7501, allocations: 51.48 kB / 0.5764 GB, free: 111.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002421/0.7525, allocations: 2.175 MB / 0.5785 GB, free: 109.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7525, allocations: 3.938 kB / 0.5785 GB, free: 109.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003669/0.7562, allocations: 0.9534 MB / 0.5795 GB, free: 108.3 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.0003638/0.7565, allocations: 161 kB / 0.5796 GB, free: 108.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007445/0.764, allocations: 5.725 MB / 0.5852 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.764, allocations: 0 / 0.5852 GB, free: 102.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003052/0.7671, allocations: 2.027 MB / 0.5872 GB, free: 100.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002304/0.7694, allocations: 402.5 kB / 0.5876 GB, free: 99.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.781, allocations: 10.21 MB / 0.5976 GB, free: 89.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002213/0.7832, allocations: 2.893 MB / 0.6004 GB, free: 86.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003501/0.7867, allocations: 1.695 MB / 0.602 GB, free: 84.99 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004971/0.7872, allocations: 211.4 kB / 0.6022 GB, free: 84.78 MB / 446.1 MB Notification: Performance of SimCode: time 7.31e-07/0.7873, allocations: 0 / 0.6022 GB, free: 84.78 MB / 446.1 MB Notification: Performance of Templates: time 0.04747/0.8347, allocations: 36.07 MB / 0.6375 GB, free: 48.89 MB / 446.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/FreeBody/FreeBody.csv","/var/lib/jenkins/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