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.001088/0.001088, allocations: 99.02 kB / 17.58 MB, free: 5.418 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.00108/0.00108, allocations: 192 kB / 18.51 MB, free: 4.508 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.344/1.344, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.00148/0.00148, allocations: 55.92 kB / 280.7 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08907/0.09057, allocations: 46.63 MB / 327.3 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01157/0.1022, allocations: 10.46 MB / 337.7 MB, free: 9.957 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007971/0.1102, allocations: 3.805 MB / 341.6 MB, free: 6.141 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001882/0.1121, allocations: 59.81 kB / 341.6 MB, free: 6.082 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005129/0.1173, allocations: 2.324 MB / 343.9 MB, free: 3.75 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004833/0.1222, allocations: 1.692 MB / 345.6 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.1238, allocations: 0.6083 MB / 346.2 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004587/0.1284, allocations: 3.459 MB / 349.7 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004897/0.1333, allocations: 3.029 MB / 352.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003247/0.1366, allocations: 1.367 MB / 354.1 MB, free: 9.523 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003776/0.1404, allocations: 1.799 MB / 355.9 MB, free: 7.719 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001187/0.1416, allocations: 296 kB / 356.2 MB, free: 7.43 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003139/0.1447, allocations: 1.139 MB / 357.3 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002477/0.1472, allocations: 1.675 MB / 359 MB, free: 4.609 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004038/0.1513, allocations: 1.957 MB / 360.9 MB, free: 2.641 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008424/0.1598, allocations: 6.032 MB / 367 MB, free: 12.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.1598, allocations: 0 / 367 MB, free: 12.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1598, allocations: 0 / 367 MB, free: 12.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002256/0.16, allocations: 0 / 367 MB, free: 12.59 MB / 318.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.01/0.1701, allocations: 4.238 MB / 371.2 MB, free: 8.281 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.1701, allocations: 12.03 kB / 371.2 MB, free: 8.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006423/0.1766, allocations: 1.828 MB / 373.1 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003974/0.1806, allocations: 2.072 MB / 375.1 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001591/0.1807, allocations: 217.4 kB / 375.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007965/0.1815, allocations: 363.6 kB / 375.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1838/0.3653, allocations: 8.865 MB / 384.6 MB, free: 47.16 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001046/0.3655, allocations: 38.33 kB / 384.6 MB, free: 47.14 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003806/0.3659, allocations: 136.3 kB / 384.7 MB, free: 47.07 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002612/0.3685, allocations: 1.638 MB / 386.4 MB, free: 46.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01437/0.3829, allocations: 7.501 MB / 393.9 MB, free: 44.38 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03195/0.4148, allocations: 35.17 MB / 429 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007291/0.4222, allocations: 3.45 MB / 432.5 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001384/0.4236, allocations: 1.452 MB / 433.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007407/0.431, allocations: 6.803 MB / 440.7 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001124/0.4312, allocations: 49.59 kB / 440.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of pre-optimization done (n=132): time 5.911e-06/0.4312, allocations: 0 / 440.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=139): time 0.02655/0.4577, allocations: 11.12 MB / 451.9 MB, free: 3.988 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001387/0.4591, allocations: 1.71 MB / 453.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004765/0.4639, allocations: 3.547 MB / 457.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002488/0.4642, allocations: 45.73 kB / 457.2 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001872/0.4661, allocations: 2.794 MB / 460 MB, free: 11.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006454/0.4667, allocations: 0.5711 MB / 460.6 MB, free: 11.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001352/0.4681, allocations: 1.103 MB / 461.7 MB, free: 9.977 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4682, allocations: 305.1 kB / 462 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002719/0.4709, allocations: 1.92 MB / 463.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004637/0.4756, allocations: 5.365 MB / 469.3 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00848/0.4841, allocations: 7.835 MB / 477.1 MB, free: 7.102 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.098e-05/0.4842, allocations: 32.66 kB / 477.1 MB, free: 7.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02007/0.5043, allocations: 8.762 MB / 485.9 MB, free: 14.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.693e-05/0.5044, allocations: 56 kB / 485.9 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01048/0.5149, allocations: 3.437 MB / 489.4 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01051/0.5254, allocations: 2.238 MB / 491.6 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003749/0.5292, allocations: 1.252 MB / 492.9 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009997/0.5392, allocations: 7.416 MB / 0.4886 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004497/0.5437, allocations: 383.3 kB / 0.4889 GB, free: 15.19 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005385/0.5443, allocations: 344 kB / 0.4893 GB, free: 14.86 MB / 398.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.002992/0.5473, allocations: 1.857 MB / 0.4911 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008749/0.5482, allocations: 307.9 kB / 0.4914 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005558/0.5537, allocations: 2.762 MB / 0.4941 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004541/0.5583, allocations: 2.359 MB / 0.4964 GB, free: 7.52 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.5583, allocations: 4 kB / 0.4964 GB, free: 7.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.5583, allocations: 3.984 kB / 0.4964 GB, free: 7.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/0.5724, allocations: 7.855 MB / 0.504 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.349e-05/0.5724, allocations: 4 kB / 0.5041 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001059/0.5735, allocations: 227.6 kB / 0.5043 GB, free: 15.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003116/0.5766, allocations: 1.053 MB / 0.5053 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/0.5767, allocations: 39.97 kB / 0.5053 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005843/0.5826, allocations: 5.278 MB / 0.5105 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001021/0.5836, allocations: 1.565 MB / 0.512 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007424/0.591, allocations: 4.958 MB / 0.5169 GB, free: 1.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007555/0.5918, allocations: 361.1 kB / 0.5172 GB, free: 1.551 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00032/0.5921, allocations: 31.94 kB / 0.5172 GB, free: 1.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.5934, allocations: 123.8 kB / 0.5174 GB, free: 1.398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002422/0.5937, allocations: 96.45 kB / 0.5174 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.5938, allocations: 39.98 kB / 0.5175 GB, free: 1.266 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003092/0.5969, allocations: 2.195 MB / 0.5196 GB, free: 15.08 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5969, allocations: 0 / 0.5196 GB, free: 15.08 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004362/0.6013, allocations: 0.9753 MB / 0.5206 GB, free: 14.11 MB / 430.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.0003599/0.6016, allocations: 168.2 kB / 0.5207 GB, free: 13.94 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009136/0.6108, allocations: 5.712 MB / 0.5263 GB, free: 8.199 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.6108, allocations: 3.938 kB / 0.5263 GB, free: 8.195 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003607/0.6144, allocations: 2.009 MB / 0.5283 GB, free: 6.113 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002325/0.6168, allocations: 399.5 kB / 0.5287 GB, free: 5.723 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1692/0.786, allocations: 8.513 MB / 0.537 GB, free: 142.9 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003775/0.7898, allocations: 2.91 MB / 0.5398 GB, free: 142.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0048/0.7946, allocations: 1.705 MB / 0.5415 GB, free: 142.1 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006565/0.7953, allocations: 210.4 kB / 0.5417 GB, free: 142.1 MB / 430.1 MB Notification: Performance of SimCode: time 8.52e-07/0.7953, allocations: 0 / 0.5417 GB, free: 142.1 MB / 430.1 MB Notification: Performance of Templates: time 0.05534/0.8506, allocations: 36.09 MB / 0.5769 GB, free: 120.2 MB / 430.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