Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001002/0.001002, allocations: 173.7 kB / 16.72 MB, free: 5.086 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.298/1.298, allocations: 205.4 MB / 222.9 MB, free: 9.027 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.0007813/0.0007813, allocations: 90.36 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003105, allocations: 12 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2359, allocations: 47.57 MB / 375.1 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.02317/0.2591, allocations: 34.78 MB / 409.9 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01612/0.2753, allocations: 8.038 MB / 417.9 MB, free: 5.801 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00666/0.282, allocations: 163.6 kB / 418.1 MB, free: 5.641 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005079/0.2871, allocations: 1.769 MB / 419.8 MB, free: 3.863 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01379/0.3009, allocations: 5.389 MB / 425.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.3038, allocations: 0.546 MB / 425.8 MB, free: 13.91 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005658/0.3095, allocations: 3.994 MB / 429.8 MB, free: 9.898 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005609/0.3151, allocations: 3.942 MB / 433.7 MB, free: 5.879 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00191/0.3171, allocations: 1.113 MB / 434.8 MB, free: 4.762 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/0.3193, allocations: 1.663 MB / 436.5 MB, free: 3.094 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004161/0.3197, allocations: 124 kB / 436.6 MB, free: 2.973 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.3216, allocations: 1.002 MB / 437.6 MB, free: 1.969 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001428/0.3231, allocations: 1.476 MB / 439.1 MB, free: 500 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001723/0.3248, allocations: 1.66 MB / 440.7 MB, free: 14.81 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004871/0.3297, allocations: 4.775 MB / 445.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.3297, allocations: 0 / 445.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3297, allocations: 0 / 445.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001385/0.3299, allocations: 0 / 445.5 MB, free: 10.02 MB / 330.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.006726/0.3366, allocations: 3.478 MB / 449 MB, free: 6.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3366, allocations: 8.031 kB / 449 MB, free: 6.473 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006438/0.3431, allocations: 1.883 MB / 450.9 MB, free: 4.582 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003978/0.3471, allocations: 2.068 MB / 453 MB, free: 2.453 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001543/0.3473, allocations: 213.4 kB / 453.2 MB, free: 2.242 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008398/0.3481, allocations: 363.7 kB / 453.5 MB, free: 1.887 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01439/0.3625, allocations: 8.858 MB / 462.4 MB, free: 8.398 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.432e-05/0.3627, allocations: 43.58 kB / 462.4 MB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003862/0.3631, allocations: 135.9 kB / 462.5 MB, free: 8.223 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002329/0.3654, allocations: 1.637 MB / 464.2 MB, free: 6.586 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01409/0.3795, allocations: 7.482 MB / 471.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2386/0.6181, allocations: 35.16 MB / 0.495 GB, free: 86.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01515/0.6333, allocations: 3.433 MB / 0.4983 GB, free: 86.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003287/0.6367, allocations: 1.442 MB / 0.4997 GB, free: 86.2 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01504/0.6518, allocations: 6.804 MB / 0.5064 GB, free: 82.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/0.6519, allocations: 50.88 kB / 0.5064 GB, free: 82.85 MB / 378.7 MB Notification: Performance of pre-optimization done (n=132): time 7.584e-06/0.6519, allocations: 0 / 0.5064 GB, free: 82.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=139): time 0.04447/0.6964, allocations: 11.12 MB / 0.5173 GB, free: 76.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001418/0.6978, allocations: 1.613 MB / 0.5188 GB, free: 75.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007471/0.7053, allocations: 3.537 MB / 0.5223 GB, free: 72.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003187/0.7057, allocations: 45.7 kB / 0.5223 GB, free: 72.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002155/0.7079, allocations: 2.786 MB / 0.5251 GB, free: 69.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008037/0.7087, allocations: 0.5753 MB / 0.5256 GB, free: 68.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004698/0.7092, allocations: 104 kB / 0.5257 GB, free: 68.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003524/0.7096, allocations: 0.5374 MB / 0.5263 GB, free: 68.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004623/0.7142, allocations: 1.896 MB / 0.5281 GB, free: 66.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005922/0.7202, allocations: 5.344 MB / 0.5333 GB, free: 59.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006355/0.7266, allocations: 7.804 MB / 0.5409 GB, free: 50.2 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.825e-05/0.7267, allocations: 32 kB / 0.541 GB, free: 50.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01746/0.7442, allocations: 8.724 MB / 0.5495 GB, free: 41.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.7443, allocations: 59.94 kB / 0.5496 GB, free: 41.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009225/0.7535, allocations: 3.437 MB / 0.5529 GB, free: 37.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009381/0.763, allocations: 2.23 MB / 0.5551 GB, free: 35.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003513/0.7665, allocations: 1.253 MB / 0.5563 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007531/0.7741, allocations: 6.807 MB / 0.563 GB, free: 27.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004056/0.7782, allocations: 388.2 kB / 0.5633 GB, free: 26.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008079/0.779, allocations: 341.5 kB / 0.5637 GB, free: 26.65 MB / 378.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 (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.003123/0.7822, allocations: 1.848 MB / 0.5655 GB, free: 24.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005984/0.7828, allocations: 312 kB / 0.5658 GB, free: 24.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004861/0.7876, allocations: 2.768 MB / 0.5685 GB, free: 21.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003773/0.7914, allocations: 2.353 MB / 0.5708 GB, free: 19.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.7915, allocations: 7.938 kB / 0.5708 GB, free: 19.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.02e-05/0.7915, allocations: 7.984 kB / 0.5708 GB, free: 19.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/0.8047, allocations: 7.84 MB / 0.5784 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.8047, allocations: 0 / 0.5784 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.8058, allocations: 235.7 kB / 0.5787 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002602/0.8084, allocations: 1.049 MB / 0.5797 GB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001527/0.8085, allocations: 35.98 kB / 0.5797 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004115/0.8127, allocations: 4.96 MB / 0.5846 GB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006695/0.8134, allocations: 1.488 MB / 0.586 GB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00685/0.8202, allocations: 4.949 MB / 0.5908 GB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/0.8213, allocations: 369 kB / 0.5912 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006276/0.8219, allocations: 33.97 kB / 0.5912 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00162/0.8235, allocations: 127.8 kB / 0.5913 GB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002788/0.8238, allocations: 92.45 kB / 0.5914 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/0.824, allocations: 39.98 kB / 0.5915 GB, free: 13.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004152/0.8281, allocations: 2.179 MB / 0.5936 GB, free: 11.37 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8282, allocations: 0 / 0.5936 GB, free: 11.37 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004775/0.8329, allocations: 0.9716 MB / 0.5946 GB, free: 10.4 MB / 394.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 (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 Backend phase and start with SimCode phase: time 0.0005081/0.8335, allocations: 168.2 kB / 0.5947 GB, free: 10.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008844/0.8423, allocations: 5.181 MB / 0.5998 GB, free: 5.016 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.8424, allocations: 0 / 0.5998 GB, free: 5.016 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003588/0.846, allocations: 2.015 MB / 0.6017 GB, free: 2.926 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003197/0.8492, allocations: 377.7 kB / 0.6021 GB, free: 2.555 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01623/0.8654, allocations: 10.38 MB / 0.6122 GB, free: 8.117 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004083/0.8695, allocations: 2.898 MB / 0.6151 GB, free: 5.188 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009301/0.8705, allocations: 255.4 kB / 0.6153 GB, free: 4.938 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.8705, allocations: 0 / 0.6153 GB, free: 4.938 MB / 410.7 MB Notification: Performance of Templates: time 0.2654/1.136, allocations: 117 MB / 0.7296 GB, free: 86.38 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches