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.001431/0.001431, allocations: 112.5 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001739/0.001739, allocations: 203.9 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.408/1.408, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 59.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2868, allocations: 50.56 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01058/0.2974, allocations: 10.43 MB / 420.4 MB, free: 7.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007093/0.3046, allocations: 3.828 MB / 424.2 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001448/0.306, allocations: 63.81 kB / 424.3 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004175/0.3103, allocations: 2.305 MB / 426.6 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003881/0.3142, allocations: 1.661 MB / 428.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00134/0.3155, allocations: 0.6083 MB / 428.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004417/0.32, allocations: 3.49 MB / 432.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003613/0.3236, allocations: 3.024 MB / 435.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/0.3257, allocations: 1.351 MB / 436.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002519/0.3282, allocations: 1.791 MB / 438.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008092/0.3291, allocations: 292 kB / 438.8 MB, free: 4.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002204/0.3313, allocations: 1.127 MB / 439.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001836/0.3331, allocations: 1.679 MB / 441.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002541/0.3357, allocations: 1.946 MB / 443.5 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006567/0.3423, allocations: 6.187 MB / 449.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3423, allocations: 0 / 449.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3423, allocations: 0 / 449.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001903/0.3425, allocations: 0 / 449.7 MB, free: 9.625 MB / 366.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.008856/0.3514, allocations: 4.207 MB / 453.9 MB, free: 5.352 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3514, allocations: 8.031 kB / 453.9 MB, free: 5.344 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007801/0.3592, allocations: 1.891 MB / 455.8 MB, free: 3.445 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004893/0.3642, allocations: 2.029 MB / 457.8 MB, free: 1.355 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001922/0.3644, allocations: 213.4 kB / 458.1 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001305/0.3657, allocations: 363.7 kB / 458.4 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01671/0.3824, allocations: 8.905 MB / 467.3 MB, free: 7.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/0.3826, allocations: 35.66 kB / 467.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006123/0.3832, allocations: 139.8 kB / 467.5 MB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002398/0.3856, allocations: 1.637 MB / 469.1 MB, free: 5.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01418/0.3998, allocations: 7.529 MB / 476.6 MB, free: 13.9 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0405/0.4403, allocations: 35 MB / 0.4997 GB, free: 9.852 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008593/0.449, allocations: 3.471 MB / 0.503 GB, free: 6.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001884/0.4509, allocations: 1.454 MB / 0.5045 GB, free: 4.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01034/0.4612, allocations: 6.883 MB / 0.5112 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.4613, allocations: 55.16 kB / 0.5112 GB, free: 13.49 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 4.138e-06/0.4613, allocations: 0 / 0.5112 GB, free: 13.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.02834/0.4897, allocations: 11.16 MB / 0.5221 GB, free: 2.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001372/0.4911, allocations: 1.706 MB / 0.5238 GB, free: 276 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005792/0.4969, allocations: 3.523 MB / 0.5273 GB, free: 12.74 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003287/0.4973, allocations: 49.67 kB / 0.5273 GB, free: 12.69 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002203/0.4995, allocations: 2.79 MB / 0.53 GB, free: 9.863 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009009/0.5004, allocations: 0.5672 MB / 0.5306 GB, free: 9.289 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002447/0.5029, allocations: 1.107 MB / 0.5317 GB, free: 8.172 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.503, allocations: 305.1 kB / 0.5319 GB, free: 7.871 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003311/0.5063, allocations: 1.924 MB / 0.5338 GB, free: 5.941 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2884/0.7947, allocations: 5.375 MB / 0.5391 GB, free: 119.4 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00975/0.8045, allocations: 7.85 MB / 0.5467 GB, free: 113.4 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001626/0.8048, allocations: 35.5 kB / 0.5468 GB, free: 113.4 MB / 462.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01949/0.8243, allocations: 8.847 MB / 0.5554 GB, free: 110.6 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.228e-05/0.8244, allocations: 62.81 kB / 0.5555 GB, free: 110.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01009/0.8345, allocations: 3.516 MB / 0.5589 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01057/0.8451, allocations: 2.328 MB / 0.5612 GB, free: 108 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00378/0.8489, allocations: 1.258 MB / 0.5624 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00906/0.858, allocations: 7.436 MB / 0.5697 GB, free: 99.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005522/0.8636, allocations: 384.3 kB / 0.57 GB, free: 98.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009873/0.8646, allocations: 348.9 kB / 0.5704 GB, free: 98.4 MB / 462.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.002826/0.8675, allocations: 1.852 MB / 0.5722 GB, free: 96.59 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000533/0.868, allocations: 301.4 kB / 0.5725 GB, free: 96.45 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000565/0.8686, allocations: 410.1 kB / 0.5729 GB, free: 96.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004047/0.8726, allocations: 2.378 MB / 0.5752 GB, free: 93.65 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/0.8727, allocations: 4 kB / 0.5752 GB, free: 93.64 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.8727, allocations: 3.984 kB / 0.5752 GB, free: 93.64 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01979/0.8925, allocations: 7.847 MB / 0.5829 GB, free: 85.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.475e-05/0.8926, allocations: 11.06 kB / 0.5829 GB, free: 85.74 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/0.894, allocations: 227.7 kB / 0.5831 GB, free: 85.52 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003804/0.8978, allocations: 1.061 MB / 0.5841 GB, free: 84.45 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003802/0.8983, allocations: 31.98 kB / 0.5841 GB, free: 84.41 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006967/0.9052, allocations: 5.274 MB / 0.5893 GB, free: 78.9 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001231/0.9065, allocations: 1.571 MB / 0.5908 GB, free: 77.19 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/0.9184, allocations: 5.003 MB / 0.5957 GB, free: 72.3 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001945/0.9204, allocations: 357.1 kB / 0.5961 GB, free: 71.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006942/0.9211, allocations: 27.98 kB / 0.5961 GB, free: 71.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002142/0.9233, allocations: 123.8 kB / 0.5962 GB, free: 71.78 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004269/0.9237, allocations: 92.45 kB / 0.5963 GB, free: 71.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/0.9239, allocations: 39.98 kB / 0.5963 GB, free: 71.65 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005058/0.929, allocations: 2.183 MB / 0.5985 GB, free: 69.48 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.112e-06/0.929, allocations: 0 / 0.5985 GB, free: 69.48 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.01036/0.9394, allocations: 0.9556 MB / 0.5994 GB, free: 68.53 MB / 462.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.000931/0.9405, allocations: 165.5 kB / 0.5995 GB, free: 68.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01502/0.9555, allocations: 5.262 MB / 0.6047 GB, free: 63.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.6e-05/0.9556, allocations: 0 / 0.6047 GB, free: 63.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005625/0.9612, allocations: 2.028 MB / 0.6067 GB, free: 60.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004423/0.9657, allocations: 390.2 kB / 0.607 GB, free: 60.59 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02643/0.9922, allocations: 8.835 MB / 0.6157 GB, free: 51.71 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005126/0.9974, allocations: 2.901 MB / 0.6185 GB, free: 48.78 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001702/0.9992, allocations: 251.4 kB / 0.6187 GB, free: 48.53 MB / 462.1 MB Notification: Performance of SimCode: time 2.544e-06/0.9992, allocations: 4 kB / 0.6187 GB, free: 48.53 MB / 462.1 MB Notification: Performance of Templates: time 0.9564/1.956, allocations: 118.4 MB / 0.7344 GB, free: 189.9 MB / 0.5294 GB 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.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