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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 172.5 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.625/1.625, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009449/0.0009447, allocations: 74.73 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.365e-05/2.367e-05, allocations: 4 kB / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08041/0.08045, allocations: 47.58 MB / 370 MB, free: 1.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2955/0.376, allocations: 93.75 MB / 463.8 MB, free: 15.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002311/0.3763, allocations: 85.83 kB / 463.9 MB, free: 15.78 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1855/0.5618, allocations: 73.59 MB / 0.5249 GB, free: 6.914 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5619, allocations: 0 / 0.5249 GB, free: 6.914 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001468/0.562, allocations: 72 kB / 0.5249 GB, free: 6.844 MB / 410.7 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.01207/0.5741, allocations: 3.851 MB / 0.5287 GB, free: 2.934 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.5742, allocations: 19.97 kB / 0.5287 GB, free: 2.914 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009832/0.584, allocations: 2.163 MB / 0.5308 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1978/0.7818, allocations: 4.472 MB / 0.5352 GB, free: 93.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002612/0.7821, allocations: 285.7 kB / 0.5355 GB, free: 93.8 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001087/0.7832, allocations: 375.4 kB / 0.5358 GB, free: 93.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0152/0.7984, allocations: 9.265 MB / 0.5449 GB, free: 91.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001274/0.7986, allocations: 52.3 kB / 0.5449 GB, free: 91.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004863/0.7991, allocations: 188.6 kB / 0.5451 GB, free: 91.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001149/0.8002, allocations: 0.9025 MB / 0.546 GB, free: 91.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01304/0.8133, allocations: 7.461 MB / 0.5533 GB, free: 91.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04215/0.8555, allocations: 43.91 MB / 0.5961 GB, free: 59.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007453/0.863, allocations: 3.422 MB / 0.5995 GB, free: 57.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001548/0.8645, allocations: 1.419 MB / 0.6009 GB, free: 57.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008378/0.8729, allocations: 6.873 MB / 0.6076 GB, free: 53.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.873, allocations: 52.72 kB / 0.6076 GB, free: 53.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 3.266e-06/0.873, allocations: 0 / 0.6076 GB, free: 53.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=139): time 0.01951/0.8925, allocations: 9.357 MB / 0.6168 GB, free: 49.26 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008673/0.8934, allocations: 1.621 MB / 0.6184 GB, free: 47.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003784/0.8972, allocations: 3.139 MB / 0.6214 GB, free: 46.46 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001861/0.8974, allocations: 43.45 kB / 0.6215 GB, free: 46.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.8986, allocations: 2.809 MB / 0.6242 GB, free: 44.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005754/0.8992, allocations: 0.5708 MB / 0.6248 GB, free: 43.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/0.8994, allocations: 110.8 kB / 0.6249 GB, free: 43.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002104/0.8996, allocations: 0.5347 MB / 0.6254 GB, free: 43.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/0.9016, allocations: 1.851 MB / 0.6272 GB, free: 41.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003214/0.9049, allocations: 5.282 MB / 0.6324 GB, free: 35.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003387/0.9083, allocations: 3.101 MB / 0.6354 GB, free: 32.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.525e-05/0.9083, allocations: 36 kB / 0.6354 GB, free: 32.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=712) (initialization): time 0.01591/0.9242, allocations: 8.361 MB / 0.6436 GB, free: 25.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.03e-05/0.9243, allocations: 56 kB / 0.6436 GB, free: 25.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008673/0.933, allocations: 3.133 MB / 0.6467 GB, free: 22.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008763/0.9418, allocations: 1.949 MB / 0.6486 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003693/0.9455, allocations: 1.247 MB / 0.6498 GB, free: 20.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006316/0.9519, allocations: 5.69 MB / 0.6554 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004201/0.9561, allocations: 369.2 kB / 0.6557 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007025/0.9568, allocations: 343.5 kB / 0.6561 GB, free: 14.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 559 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (674): * Single equations (assignments): 665 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006667/0.9575, allocations: 0.5308 MB / 0.6566 GB, free: 14.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004604/0.9579, allocations: 311.9 kB / 0.6569 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004768/0.9627, allocations: 2.725 MB / 0.6595 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003803/0.9665, allocations: 2.321 MB / 0.6618 GB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.9666, allocations: 4 kB / 0.6618 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.9666, allocations: 3.234 kB / 0.6618 GB, free: 9.938 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/0.9784, allocations: 7.828 MB / 0.6694 GB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.9784, allocations: 4 kB / 0.6695 GB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009892/0.9794, allocations: 219.7 kB / 0.6697 GB, free: 1.945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002682/0.9821, allocations: 1.049 MB / 0.6707 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/0.9823, allocations: 39.97 kB / 0.6707 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005258/0.9875, allocations: 4.952 MB / 0.6756 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000983/0.9885, allocations: 1.477 MB / 0.677 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007581/0.9961, allocations: 5.045 MB / 0.6819 GB, free: 4.895 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009788/0.9971, allocations: 361.1 kB / 0.6823 GB, free: 4.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002943/0.9974, allocations: 35.98 kB / 0.6823 GB, free: 4.484 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001331/0.9988, allocations: 131.7 kB / 0.6824 GB, free: 4.355 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002482/0.999, allocations: 80.61 kB / 0.6825 GB, free: 4.277 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001106/0.9992, allocations: 43.98 kB / 0.6826 GB, free: 4.234 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003551/1.003, allocations: 2.163 MB / 0.6847 GB, free: 2.082 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.003, allocations: 4 kB / 0.6847 GB, free: 2.078 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004772/1.008, allocations: 0.9632 MB / 0.6856 GB, free: 1.125 MB / 426.7 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 () * 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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005666/1.008, allocations: 175 kB / 0.6858 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2058/1.214, allocations: 5.078 MB / 0.6907 GB, free: 97.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/1.214, allocations: 0 / 0.6907 GB, free: 97.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003903/1.218, allocations: 1.998 MB / 0.6927 GB, free: 97.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002031/1.22, allocations: 364 kB / 0.693 GB, free: 97.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01279/1.233, allocations: 6.986 MB / 0.6999 GB, free: 96.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003094/1.236, allocations: 2.996 MB / 0.7028 GB, free: 95.28 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004116/1.24, allocations: 1.701 MB / 0.7044 GB, free: 95.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005398/1.241, allocations: 218 kB / 0.7046 GB, free: 95.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.041e-06/1.241, allocations: 0 / 0.7046 GB, free: 95.23 MB / 426.7 MB Notification: Performance of Templates: time 0.05304/1.294, allocations: 32.87 MB / 0.7368 GB, free: 93.45 MB / 426.7 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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches