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.001362/0.001362, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001654/0.001654, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 63.42 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09823/0.0995, allocations: 50.54 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01011/0.1097, allocations: 10.42 MB / 369.3 MB, free: 2.875 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1529/0.2626, allocations: 3.835 MB / 373.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.2643, allocations: 63.75 kB / 373.2 MB, free: 9.73 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004929/0.2693, allocations: 2.302 MB / 375.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005559/0.2749, allocations: 1.659 MB / 377.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001752/0.2766, allocations: 0.6079 MB / 377.8 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004726/0.2814, allocations: 3.487 MB / 381.3 MB, free: 9.156 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003689/0.2851, allocations: 3.019 MB / 384.3 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002764/0.2879, allocations: 1.367 MB / 385.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00234/0.2902, allocations: 1.789 MB / 387.5 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000561/0.2908, allocations: 290.6 kB / 387.7 MB, free: 6.859 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002165/0.293, allocations: 1.115 MB / 388.9 MB, free: 6.508 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001461/0.2944, allocations: 1.661 MB / 390.5 MB, free: 5.551 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001774/0.2962, allocations: 1.942 MB / 392.5 MB, free: 4.086 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005825/0.3021, allocations: 6.184 MB / 398.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.3021, allocations: 0 / 398.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3021, allocations: 4 kB / 398.6 MB, free: 15.96 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001029/0.3022, allocations: 0 / 398.6 MB, free: 15.96 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.007673/0.3099, allocations: 4.204 MB / 402.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3099, allocations: 11.97 kB / 402.9 MB, free: 12.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006166/0.3161, allocations: 1.889 MB / 404.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004205/0.3203, allocations: 2.021 MB / 406.8 MB, free: 8.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001329/0.3205, allocations: 212.8 kB / 407 MB, free: 8.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007742/0.3213, allocations: 375.8 kB / 407.3 MB, free: 8.129 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01413/0.3354, allocations: 8.887 MB / 416.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.3356, allocations: 43.59 kB / 416.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003825/0.336, allocations: 138 kB / 416.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002275/0.3383, allocations: 1.641 MB / 418 MB, free: 12.92 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01418/0.3524, allocations: 7.521 MB / 425.6 MB, free: 5.395 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04063/0.3931, allocations: 35.02 MB / 460.6 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007914/0.4011, allocations: 3.476 MB / 464.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001755/0.4029, allocations: 1.447 MB / 465.5 MB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009917/0.4128, allocations: 6.884 MB / 472.4 MB, free: 5.262 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.4128, allocations: 47.22 kB / 472.4 MB, free: 5.207 MB / 382.1 MB Notification: Performance of pre-optimization done (n=132): time 3.486e-06/0.4128, allocations: 0 / 472.4 MB, free: 5.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=139): time 0.0259/0.4388, allocations: 11.17 MB / 483.6 MB, free: 9.871 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001367/0.4402, allocations: 1.714 MB / 485.3 MB, free: 7.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004697/0.4449, allocations: 3.519 MB / 488.8 MB, free: 4.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003333/0.4452, allocations: 41.7 kB / 488.9 MB, free: 4.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001734/0.447, allocations: 2.789 MB / 491.7 MB, free: 1.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006207/0.4476, allocations: 0.5725 MB / 492.2 MB, free: 1.062 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/0.449, allocations: 1.105 MB / 493.4 MB, free: 15.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4491, allocations: 305.2 kB / 493.7 MB, free: 15.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002679/0.4518, allocations: 1.931 MB / 495.6 MB, free: 13.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004591/0.4564, allocations: 5.369 MB / 0.4892 GB, free: 6.621 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008599/0.465, allocations: 7.852 MB / 0.4969 GB, free: 13.05 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.004e-05/0.4651, allocations: 36 kB / 0.4969 GB, free: 13.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02075/0.4859, allocations: 8.839 MB / 0.5055 GB, free: 4.164 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.943e-05/0.486, allocations: 62.81 kB / 0.5056 GB, free: 4.105 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01007/0.4961, allocations: 3.525 MB / 0.509 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01021/0.5063, allocations: 2.324 MB / 0.5113 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004308/0.5107, allocations: 1.255 MB / 0.5125 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/0.521, allocations: 7.453 MB / 0.5198 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004547/0.5256, allocations: 379.3 kB / 0.5202 GB, free: 4.859 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001067/0.5267, allocations: 342.9 kB / 0.5205 GB, free: 4.527 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.003983/0.5307, allocations: 1.849 MB / 0.5223 GB, free: 2.664 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007959/0.5315, allocations: 300.2 kB / 0.5226 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.5326, allocations: 402.1 kB / 0.523 GB, free: 1.969 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2051/0.7377, allocations: 2.375 MB / 0.5253 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.13e-05/0.7378, allocations: 3.344 kB / 0.5253 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-05/0.7378, allocations: 6.484 kB / 0.5253 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0218/0.7596, allocations: 7.854 MB / 0.533 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/0.7597, allocations: 5.938 kB / 0.533 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.7609, allocations: 222.1 kB / 0.5332 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003239/0.7642, allocations: 1.059 MB / 0.5342 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002403/0.7644, allocations: 35.31 kB / 0.5343 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005154/0.7696, allocations: 5.287 MB / 0.5394 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008365/0.7704, allocations: 1.564 MB / 0.541 GB, free: 133.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007854/0.7783, allocations: 4.996 MB / 0.5458 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/0.7796, allocations: 357.2 kB / 0.5462 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005185/0.7801, allocations: 40.61 kB / 0.5462 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/0.7815, allocations: 132.4 kB / 0.5463 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000295/0.7818, allocations: 80.98 kB / 0.5464 GB, free: 131.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001261/0.7819, allocations: 41.41 kB / 0.5465 GB, free: 131.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003304/0.7853, allocations: 2.18 MB / 0.5486 GB, free: 130.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.7853, allocations: 0 / 0.5486 GB, free: 130.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004504/0.7898, allocations: 0.9515 MB / 0.5495 GB, free: 130.6 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.0004976/0.7903, allocations: 166.5 kB / 0.5497 GB, free: 130.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008701/0.799, allocations: 5.259 MB / 0.5548 GB, free: 128.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.7991, allocations: 0 / 0.5548 GB, free: 128.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003211/0.8023, allocations: 2.032 MB / 0.5568 GB, free: 127.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/0.8045, allocations: 401.2 kB / 0.5572 GB, free: 127.4 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/0.817, allocations: 8.42 MB / 0.5654 GB, free: 122.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002165/0.8192, allocations: 2.897 MB / 0.5682 GB, free: 119.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002991/0.8222, allocations: 1.695 MB / 0.5699 GB, free: 117.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004547/0.8227, allocations: 215 kB / 0.5701 GB, free: 117.5 MB / 446.1 MB Notification: Performance of SimCode: time 7.41e-07/0.8227, allocations: 0 / 0.5701 GB, free: 117.5 MB / 446.1 MB Notification: Performance of Templates: time 0.04721/0.8699, allocations: 31.14 MB / 0.6005 GB, free: 86.63 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 -s gbode -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.0.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