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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 114.5 kB / 17.73 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 187 kB / 18.67 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 56.39 kB / 328.5 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1014, allocations: 46.62 MB / 375.1 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.2516/0.353, allocations: 10.46 MB / 385.6 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009781/0.3629, allocations: 3.808 MB / 389.4 MB, free: 5.387 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.3646, allocations: 66.16 kB / 389.5 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004579/0.3692, allocations: 2.314 MB / 391.8 MB, free: 4.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004613/0.3738, allocations: 1.691 MB / 393.5 MB, free: 3.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.3754, allocations: 0.6084 MB / 394.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005708/0.3812, allocations: 3.464 MB / 397.6 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004103/0.3853, allocations: 3.02 MB / 400.6 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002629/0.3879, allocations: 1.379 MB / 402 MB, free: 36 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002704/0.3907, allocations: 1.797 MB / 403.8 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001001/0.3917, allocations: 290.9 kB / 404 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003452/0.3951, allocations: 1.134 MB / 405.2 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002509/0.3977, allocations: 1.686 MB / 406.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002879/0.4006, allocations: 1.958 MB / 408.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009782/0.4104, allocations: 6.256 MB / 415.1 MB, free: 7.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.4104, allocations: 7.938 kB / 415.1 MB, free: 7.504 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.4104, allocations: 0 / 415.1 MB, free: 7.504 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0003171/0.4107, allocations: 0 / 415.1 MB, free: 7.504 MB / 334.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.01109/0.4218, allocations: 4.344 MB / 419.4 MB, free: 3.086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.4219, allocations: 8.031 kB / 419.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006734/0.4286, allocations: 1.855 MB / 421.3 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005002/0.4337, allocations: 2.113 MB / 423.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.4339, allocations: 213.4 kB / 423.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001046/0.4349, allocations: 371.7 kB / 424 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01783/0.4528, allocations: 8.87 MB / 432.8 MB, free: 4.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/0.4529, allocations: 39.64 kB / 432.9 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004178/0.4534, allocations: 139.9 kB / 433 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002916/0.4563, allocations: 1.633 MB / 434.7 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01673/0.473, allocations: 7.517 MB / 442.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05168/0.5248, allocations: 35.07 MB / 477.2 MB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009568/0.5344, allocations: 3.448 MB / 480.7 MB, free: 3.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002397/0.5369, allocations: 1.445 MB / 482.1 MB, free: 2.469 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0126/0.5495, allocations: 6.817 MB / 489 MB, free: 11.33 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.636e-05/0.5496, allocations: 59.09 kB / 489 MB, free: 11.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 5.54e-06/0.5496, allocations: 4 kB / 489 MB, free: 11.26 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.03064/0.5803, allocations: 11.31 MB / 0.4886 GB, free: 15.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001529/0.5818, allocations: 1.706 MB / 0.4903 GB, free: 13.92 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006982/0.5889, allocations: 3.56 MB / 0.4937 GB, free: 10.36 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005348/0.5894, allocations: 45.7 kB / 0.4938 GB, free: 10.31 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00264/0.5921, allocations: 2.9 MB / 0.4966 GB, free: 7.383 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001038/0.5931, allocations: 0.5971 MB / 0.4972 GB, free: 6.781 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002521/0.5957, allocations: 1.115 MB / 0.4983 GB, free: 5.656 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.5958, allocations: 301.2 kB / 0.4986 GB, free: 5.359 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003211/0.599, allocations: 1.924 MB / 0.5005 GB, free: 3.43 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005795/0.6048, allocations: 5.361 MB / 0.5057 GB, free: 12.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009937/0.6148, allocations: 7.834 MB / 0.5133 GB, free: 2.781 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001398/0.615, allocations: 36 kB / 0.5134 GB, free: 2.746 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02275/0.6377, allocations: 8.779 MB / 0.522 GB, free: 9.945 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.638, allocations: 56 kB / 0.522 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0115/0.6495, allocations: 3.441 MB / 0.5254 GB, free: 6.438 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01073/0.6603, allocations: 2.23 MB / 0.5275 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004436/0.6648, allocations: 1.259 MB / 0.5288 GB, free: 2.93 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0109/0.6757, allocations: 7.413 MB / 0.536 GB, free: 11.23 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004891/0.6806, allocations: 375.5 kB / 0.5364 GB, free: 10.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001327/0.682, allocations: 343.9 kB / 0.5367 GB, free: 10.53 MB / 478.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.00507/0.6871, allocations: 1.861 MB / 0.5385 GB, free: 8.656 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/0.6882, allocations: 317.8 kB / 0.5388 GB, free: 8.344 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006418/0.6946, allocations: 2.761 MB / 0.5415 GB, free: 5.555 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004675/0.6993, allocations: 2.359 MB / 0.5438 GB, free: 3.172 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.6993, allocations: 4 kB / 0.5438 GB, free: 3.168 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.338e-05/0.6994, allocations: 7.969 kB / 0.5438 GB, free: 3.16 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2209/0.9203, allocations: 7.837 MB / 0.5515 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.761e-05/0.9204, allocations: 3.391 kB / 0.5515 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.9216, allocations: 227.7 kB / 0.5517 GB, free: 147.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003228/0.9248, allocations: 1.052 MB / 0.5527 GB, free: 147.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001977/0.925, allocations: 38.41 kB / 0.5528 GB, free: 147 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00535/0.9304, allocations: 5.283 MB / 0.5579 GB, free: 143.5 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007966/0.9312, allocations: 1.565 MB / 0.5595 GB, free: 142 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008496/0.9397, allocations: 4.979 MB / 0.5643 GB, free: 140.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009337/0.9407, allocations: 379 kB / 0.5647 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007095/0.9414, allocations: 30.22 kB / 0.5647 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001921/0.9433, allocations: 121 kB / 0.5648 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003134/0.9436, allocations: 89.09 kB / 0.5649 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/0.9438, allocations: 48.5 kB / 0.565 GB, free: 140 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005136/0.9489, allocations: 2.197 MB / 0.5671 GB, free: 139.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.9489, allocations: 1.094 kB / 0.5671 GB, free: 139.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006555/0.9555, allocations: 0.97 MB / 0.5681 GB, free: 139.1 MB / 478.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.0006314/0.9561, allocations: 170.4 kB / 0.5682 GB, free: 139 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009355/0.9655, allocations: 5.238 MB / 0.5733 GB, free: 137.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.9655, allocations: 0 / 0.5733 GB, free: 137.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003402/0.969, allocations: 2.022 MB / 0.5753 GB, free: 136.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003468/0.9724, allocations: 399.8 kB / 0.5757 GB, free: 136 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/0.9889, allocations: 8.548 MB / 0.584 GB, free: 132.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004541/0.9935, allocations: 2.915 MB / 0.5869 GB, free: 130.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003431/0.9969, allocations: 1.696 MB / 0.5885 GB, free: 129.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/0.9975, allocations: 214.4 kB / 0.5887 GB, free: 129.5 MB / 478.1 MB Notification: Performance of SimCode: time 5.41e-07/0.9975, allocations: 4 kB / 0.5887 GB, free: 129.5 MB / 478.1 MB Notification: Performance of Templates: time 0.04945/1.047, allocations: 33.19 MB / 0.6212 GB, free: 96.43 MB / 478.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches