Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 179.2 kB / 17.36 MB, free: 4.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.282/1.282, allocations: 205.6 MB / 223.7 MB, free: 8.953 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007359/0.000736, allocations: 90.36 kB / 272.1 MB, free: 8.129 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002336/0.0002337, allocations: 8 kB / 329 MB, free: 15.06 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2037, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.02551/0.2293, allocations: 34.88 MB / 411.5 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01782/0.2472, allocations: 11.2 MB / 422.7 MB, free: 1.621 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006957/0.2542, allocations: 167.6 kB / 422.9 MB, free: 1.457 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.2555, allocations: 382.1 kB / 423.2 MB, free: 1.082 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004049/0.2595, allocations: 1.58 MB / 424.8 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.261, allocations: 0.5617 MB / 425.4 MB, free: 14.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006035/0.267, allocations: 5 MB / 430.4 MB, free: 9.918 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005896/0.2729, allocations: 4.829 MB / 435.2 MB, free: 4.824 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001975/0.2749, allocations: 1.132 MB / 436.3 MB, free: 3.688 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002269/0.2772, allocations: 1.662 MB / 438 MB, free: 2.02 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003641/0.2776, allocations: 124 kB / 438.1 MB, free: 1.898 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00203/0.2796, allocations: 1.002 MB / 439.1 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001567/0.2812, allocations: 1.484 MB / 440.6 MB, free: 15.41 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001987/0.2832, allocations: 1.768 MB / 442.4 MB, free: 13.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006787/0.29, allocations: 5.8 MB / 448.2 MB, free: 7.797 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.29, allocations: 0 / 448.2 MB, free: 7.797 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2901, allocations: 0 / 448.2 MB, free: 7.797 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001253/0.2902, allocations: 0 / 448.2 MB, free: 7.797 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.006461/0.2967, allocations: 3.47 MB / 451.6 MB, free: 4.262 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.2967, allocations: 12.03 kB / 451.6 MB, free: 4.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006102/0.3028, allocations: 1.875 MB / 453.5 MB, free: 2.367 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00371/0.3066, allocations: 2.076 MB / 455.6 MB, free: 236 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.3067, allocations: 213.4 kB / 455.8 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007205/0.3075, allocations: 367.6 kB / 456.2 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0135/0.321, allocations: 8.862 MB / 465 MB, free: 6.168 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-05/0.3211, allocations: 39.59 kB / 465.1 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003347/0.3214, allocations: 135.9 kB / 465.2 MB, free: 5.996 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002298/0.3237, allocations: 1.637 MB / 466.8 MB, free: 4.359 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01378/0.3375, allocations: 7.474 MB / 474.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2387/0.5763, allocations: 35.16 MB / 0.4975 GB, free: 87.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008565/0.5849, allocations: 3.444 MB / 0.5009 GB, free: 86.53 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002029/0.587, allocations: 1.444 MB / 0.5023 GB, free: 86.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0108/0.5978, allocations: 6.807 MB / 0.509 GB, free: 82.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.058e-05/0.598, allocations: 50.53 kB / 0.509 GB, free: 82.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=132): time 7.735e-06/0.598, allocations: 0 / 0.509 GB, free: 82.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=139): time 0.02488/0.6229, allocations: 11.12 MB / 0.5199 GB, free: 76.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009772/0.6239, allocations: 1.613 MB / 0.5214 GB, free: 75.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004844/0.6288, allocations: 3.527 MB / 0.5249 GB, free: 71.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002072/0.629, allocations: 44.83 kB / 0.5249 GB, free: 71.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001167/0.6302, allocations: 2.79 MB / 0.5276 GB, free: 68.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004707/0.6307, allocations: 0.567 MB / 0.5282 GB, free: 68.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001857/0.6309, allocations: 105.1 kB / 0.5283 GB, free: 68.19 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002291/0.6311, allocations: 0.5374 MB / 0.5288 GB, free: 67.64 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002145/0.6332, allocations: 1.896 MB / 0.5307 GB, free: 65.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003232/0.6365, allocations: 5.349 MB / 0.5359 GB, free: 58.79 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006271/0.6428, allocations: 7.809 MB / 0.5435 GB, free: 49.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.383e-05/0.6429, allocations: 36 kB / 0.5436 GB, free: 49.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01689/0.6598, allocations: 8.717 MB / 0.5521 GB, free: 40.64 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.395e-05/0.6599, allocations: 60.03 kB / 0.5521 GB, free: 40.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009015/0.6689, allocations: 3.431 MB / 0.5555 GB, free: 37.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009139/0.6781, allocations: 2.23 MB / 0.5577 GB, free: 34.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003462/0.6816, allocations: 1.248 MB / 0.5589 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007408/0.689, allocations: 6.812 MB / 0.5655 GB, free: 26.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004337/0.6934, allocations: 380.7 kB / 0.5659 GB, free: 26.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005127/0.6939, allocations: 345.1 kB / 0.5662 GB, free: 25.86 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 (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.002455/0.6964, allocations: 1.854 MB / 0.568 GB, free: 24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004231/0.6968, allocations: 308 kB / 0.5683 GB, free: 23.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004398/0.7012, allocations: 2.773 MB / 0.571 GB, free: 20.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003615/0.7049, allocations: 2.355 MB / 0.5733 GB, free: 18.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.7049, allocations: 0 / 0.5733 GB, free: 18.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.7049, allocations: 15.97 kB / 0.5733 GB, free: 18.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01124/0.7162, allocations: 7.839 MB / 0.581 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.7162, allocations: 0 / 0.581 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.7173, allocations: 227.6 kB / 0.5812 GB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002628/0.7199, allocations: 1.053 MB / 0.5822 GB, free: 9.297 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/0.72, allocations: 35.97 kB / 0.5823 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004073/0.7241, allocations: 4.971 MB / 0.5871 GB, free: 4.027 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006753/0.7248, allocations: 1.474 MB / 0.5886 GB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007212/0.732, allocations: 4.949 MB / 0.5934 GB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001101/0.7332, allocations: 372.9 kB / 0.5938 GB, free: 13.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005693/0.7337, allocations: 31.73 kB / 0.5938 GB, free: 13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/0.7354, allocations: 131.8 kB / 0.5939 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002652/0.7357, allocations: 84.47 kB / 0.594 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.7358, allocations: 43.97 kB / 0.594 GB, free: 12.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003994/0.7398, allocations: 2.171 MB / 0.5962 GB, free: 10.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.7398, allocations: 0 / 0.5962 GB, free: 10.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005128/0.7449, allocations: 0.9661 MB / 0.5971 GB, free: 9.625 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 (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.0004634/0.7454, allocations: 178.9 kB / 0.5973 GB, free: 9.445 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.009147/0.7546, allocations: 5.18 MB / 0.6023 GB, free: 4.227 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.7546, allocations: 3.938 kB / 0.6023 GB, free: 4.223 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003844/0.7585, allocations: 1.998 MB / 0.6043 GB, free: 2.152 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003791/0.7623, allocations: 379.9 kB / 0.6047 GB, free: 1.777 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/0.7786, allocations: 10.38 MB / 0.6148 GB, free: 7.352 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003091/0.7817, allocations: 2.906 MB / 0.6176 GB, free: 4.414 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004422/0.7862, allocations: 1.708 MB / 0.6193 GB, free: 2.703 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005898/0.7868, allocations: 211.4 kB / 0.6195 GB, free: 2.496 MB / 410.7 MB Notification: Performance of SimCode: time 9.01e-07/0.7868, allocations: 4 kB / 0.6195 GB, free: 2.492 MB / 410.7 MB Notification: Performance of Templates: time 0.06424/0.851, allocations: 34.5 MB / 0.6532 GB, free: 100 kB / 442.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