Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009274/0.0009274, allocations: 200.4 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007738/0.0007738, allocations: 100.5 kB / 299.9 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002231/0.0002231, allocations: 8 kB / 360.6 MB, free: 8.484 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2006, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.02454/0.2252, allocations: 34.88 MB / 446.9 MB, free: 6.93 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01726/0.2425, allocations: 11.62 MB / 458.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005717/0.2483, allocations: 163.6 kB / 458.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001289/0.2496, allocations: 382.1 kB / 459.1 MB, free: 9.98 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004914/0.2545, allocations: 1.569 MB / 460.7 MB, free: 8.406 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.2562, allocations: 0.5539 MB / 461.2 MB, free: 7.852 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.006243/0.2625, allocations: 5.05 MB / 466.3 MB, free: 2.789 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005707/0.2682, allocations: 4.812 MB / 471.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001994/0.2702, allocations: 1.132 MB / 472.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002257/0.2725, allocations: 1.662 MB / 473.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004362/0.273, allocations: 120 kB / 474 MB, free: 10.79 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001924/0.2749, allocations: 0.9944 MB / 475 MB, free: 9.793 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001452/0.2764, allocations: 1.476 MB / 476.5 MB, free: 8.312 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001895/0.2783, allocations: 1.768 MB / 478.2 MB, free: 6.527 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006845/0.2851, allocations: 5.798 MB / 484 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.2852, allocations: 0 / 484 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.2852, allocations: 0 / 484 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001792/0.2854, allocations: 0 / 484 MB, free: 0.7109 MB / 346.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.006505/0.2919, allocations: 3.47 MB / 487.5 MB, free: 13.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.2919, allocations: 8.031 kB / 487.5 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006409/0.2984, allocations: 1.93 MB / 489.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004316/0.3027, allocations: 1.994 MB / 491.4 MB, free: 9.176 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.3029, allocations: 213.4 kB / 491.6 MB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009263/0.3038, allocations: 363.8 kB / 492 MB, free: 8.609 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01514/0.319, allocations: 8.862 MB / 0.4891 GB, free: 15.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.639e-05/0.3191, allocations: 39.69 kB / 0.4891 GB, free: 15.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003627/0.3195, allocations: 131.9 kB / 0.4893 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002237/0.3217, allocations: 1.645 MB / 0.4909 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/0.3354, allocations: 7.471 MB / 0.4982 GB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2148/0.5502, allocations: 35.15 MB / 0.5325 GB, free: 65.95 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006821/0.5571, allocations: 3.45 MB / 0.5359 GB, free: 63.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.5586, allocations: 1.443 MB / 0.5373 GB, free: 63.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007407/0.566, allocations: 6.795 MB / 0.5439 GB, free: 57.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.5661, allocations: 55.16 kB / 0.544 GB, free: 57.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=132): time 3.818e-06/0.5661, allocations: 0 / 0.544 GB, free: 57.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=139): time 0.02161/0.5877, allocations: 11.11 MB / 0.5548 GB, free: 45.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008727/0.5886, allocations: 1.62 MB / 0.5564 GB, free: 43.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003662/0.5923, allocations: 3.504 MB / 0.5598 GB, free: 40.46 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001452/0.5925, allocations: 41.7 kB / 0.5599 GB, free: 40.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001126/0.5936, allocations: 2.786 MB / 0.5626 GB, free: 37.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003953/0.594, allocations: 0.5688 MB / 0.5631 GB, free: 37.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00018/0.5942, allocations: 108.1 kB / 0.5632 GB, free: 36.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.5944, allocations: 0.5412 MB / 0.5638 GB, free: 36.42 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002072/0.5965, allocations: 1.896 MB / 0.5656 GB, free: 34.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003328/0.5998, allocations: 5.342 MB / 0.5708 GB, free: 27.44 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006181/0.606, allocations: 7.809 MB / 0.5785 GB, free: 17.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.295e-05/0.6061, allocations: 40 kB / 0.5785 GB, free: 17.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01609/0.6222, allocations: 8.773 MB / 0.5871 GB, free: 9.086 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.965e-05/0.6222, allocations: 58.16 kB / 0.5871 GB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008882/0.6311, allocations: 3.512 MB / 0.5905 GB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009166/0.6403, allocations: 2.32 MB / 0.5928 GB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003421/0.6438, allocations: 1.248 MB / 0.594 GB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008778/0.6526, allocations: 6.835 MB / 0.6007 GB, free: 10.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003949/0.6565, allocations: 384.1 kB / 0.6011 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004852/0.657, allocations: 336.8 kB / 0.6014 GB, free: 10.11 MB / 394.7 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.002854/0.6599, allocations: 1.855 MB / 0.6032 GB, free: 8.242 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004225/0.6603, allocations: 304.1 kB / 0.6035 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00519/0.6655, allocations: 2.768 MB / 0.6062 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004408/0.67, allocations: 2.356 MB / 0.6085 GB, free: 2.781 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.67, allocations: 11.94 kB / 0.6085 GB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.67, allocations: 11.92 kB / 0.6085 GB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01317/0.6832, allocations: 7.825 MB / 0.6162 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.6832, allocations: 0 / 0.6162 GB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/0.6843, allocations: 223.7 kB / 0.6164 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003049/0.6874, allocations: 1.061 MB / 0.6174 GB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.6875, allocations: 31.98 kB / 0.6174 GB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005382/0.6929, allocations: 4.969 MB / 0.6223 GB, free: 4.289 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009936/0.6939, allocations: 1.481 MB / 0.6237 GB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007559/0.7015, allocations: 4.953 MB / 0.6286 GB, free: 13.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.7026, allocations: 369.2 kB / 0.6289 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003312/0.7029, allocations: 28 kB / 0.629 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/0.7042, allocations: 134.8 kB / 0.6291 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002803/0.7045, allocations: 88.44 kB / 0.6292 GB, free: 13.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/0.7047, allocations: 43.98 kB / 0.6292 GB, free: 13 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003078/0.7077, allocations: 2.156 MB / 0.6313 GB, free: 10.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.7078, allocations: 0 / 0.6313 GB, free: 10.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004013/0.7118, allocations: 0.9696 MB / 0.6323 GB, free: 9.898 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 () * 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.0004034/0.7122, allocations: 173.1 kB / 0.6324 GB, free: 9.727 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008579/0.7208, allocations: 5.181 MB / 0.6375 GB, free: 4.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.7208, allocations: 0 / 0.6375 GB, free: 4.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003629/0.7245, allocations: 2.001 MB / 0.6394 GB, free: 2.426 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/0.7274, allocations: 380.7 kB / 0.6398 GB, free: 2.051 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/0.7414, allocations: 10.38 MB / 0.6499 GB, free: 7.629 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003183/0.7446, allocations: 2.898 MB / 0.6528 GB, free: 4.699 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004355/0.749, allocations: 1.699 MB / 0.6544 GB, free: 2.996 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005397/0.7496, allocations: 215.4 kB / 0.6546 GB, free: 2.785 MB / 442.7 MB Notification: Performance of SimCode: time 6.41e-07/0.7496, allocations: 4 kB / 0.6546 GB, free: 2.781 MB / 442.7 MB Notification: Performance of Templates: time 0.257/1.007, allocations: 34.36 MB / 0.6882 GB, free: 148.7 MB / 458.7 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","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches