Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.PointMass.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01373/0.01373, allocations: 176 kB / 15.12 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.912/1.912, allocations: 194.5 MB / 210.3 MB, free: 8.785 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002047/0.002046, allocations: 116.6 kB / 255.6 MB, free: 11.39 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2713/0.2713, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000669/0.0006688, allocations: 13.61 kB / 406.3 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1084, allocations: 54.87 MB / 461.1 MB, free: 3.348 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4989/0.6074, allocations: 89.59 MB / 0.5378 GB, free: 21.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.6077, allocations: 80.08 kB / 0.5379 GB, free: 21.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2035/0.8113, allocations: 46.95 MB / 0.5837 GB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.8113, allocations: 0 / 0.5837 GB, free: 10.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001023/0.8114, allocations: 42.38 kB / 0.5838 GB, free: 10.02 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 946 * Number of variables: 946 Notification: Performance of Generate backend data structure: time 0.008732/0.8202, allocations: 2.391 MB / 0.5861 GB, free: 8.496 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.8203, allocations: 7.844 kB / 0.5861 GB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002193/0.8225, allocations: 498.1 kB / 0.5866 GB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01313/0.8356, allocations: 1.762 MB / 0.5883 GB, free: 7.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004387/0.8401, allocations: 1.354 MB / 0.5896 GB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001729/0.8403, allocations: 176.3 kB / 0.5898 GB, free: 6.918 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001348/0.8416, allocations: 246.6 kB / 0.59 GB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01488/0.8565, allocations: 6.581 MB / 0.5965 GB, free: 3.789 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001634/0.8568, allocations: 39.22 kB / 0.5965 GB, free: 3.766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006316/0.8574, allocations: 123.6 kB / 0.5966 GB, free: 3.766 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001176/0.8586, allocations: 0.6984 MB / 0.5973 GB, free: 3.613 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01412/0.8727, allocations: 5.495 MB / 0.6027 GB, free: 2.582 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04586/0.9187, allocations: 31.72 MB / 0.6336 GB, free: 5.305 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007912/0.9266, allocations: 2.351 MB / 0.6359 GB, free: 2.805 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.9269, allocations: 47.75 kB / 0.636 GB, free: 2.762 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.9269, allocations: 42.56 kB / 0.636 GB, free: 2.711 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 4.188e-06/0.9269, allocations: 3.938 kB / 0.636 GB, free: 2.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=115): time 0.04477/0.9717, allocations: 9.715 MB / 0.6455 GB, free: 8.805 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.9719, allocations: 145 kB / 0.6457 GB, free: 8.633 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006224/0.9781, allocations: 2.337 MB / 0.6479 GB, free: 6.273 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003023/0.9785, allocations: 37.7 kB / 0.648 GB, free: 6.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002526/0.981, allocations: 2.014 MB / 0.6499 GB, free: 4.223 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008606/0.9819, allocations: 473.4 kB / 0.6504 GB, free: 3.766 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007191/0.9827, allocations: 88 kB / 0.6505 GB, free: 3.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004721/0.9832, allocations: 0.4917 MB / 0.651 GB, free: 3.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004122/0.9873, allocations: 1.367 MB / 0.6523 GB, free: 1.805 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007117/0.9945, allocations: 4.126 MB / 0.6563 GB, free: 12.28 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006249/1.001, allocations: 2.359 MB / 0.6586 GB, free: 9.918 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001067/1.001, allocations: 28 kB / 0.6587 GB, free: 9.891 MB / 442.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01725/1.018, allocations: 5.569 MB / 0.6641 GB, free: 4.309 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.807e-05/1.018, allocations: 49.94 kB / 0.6641 GB, free: 4.262 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001845/1.019, allocations: 104 kB / 0.6642 GB, free: 4.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001978/1.021, allocations: 472.5 kB / 0.6647 GB, free: 3.695 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006501/1.027, allocations: 1.018 MB / 0.6657 GB, free: 2.676 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006787/1.034, allocations: 3.454 MB / 0.6691 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004483/1.038, allocations: 235.9 kB / 0.6693 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009452/1.039, allocations: 276 kB / 0.6695 GB, free: 14.59 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 18 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[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 (534): * Single equations (assignments): 530 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003544/1.043, allocations: 1.372 MB / 0.6709 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005936/1.044, allocations: 217.2 kB / 0.6711 GB, free: 12.99 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00467/1.048, allocations: 1.481 MB / 0.6725 GB, free: 11.49 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.953e-05/1.048, allocations: 23.84 kB / 0.6726 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.048, allocations: 4 kB / 0.6726 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-05/1.048, allocations: 3.984 kB / 0.6726 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01391/1.062, allocations: 4.47 MB / 0.6769 GB, free: 6.953 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/1.062, allocations: 0 / 0.6769 GB, free: 6.953 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001739/1.064, allocations: 171.7 kB / 0.6771 GB, free: 6.785 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001568/1.066, allocations: 316.6 kB / 0.6774 GB, free: 6.473 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001452/1.066, allocations: 15.98 kB / 0.6774 GB, free: 6.457 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005463/1.071, allocations: 2.882 MB / 0.6802 GB, free: 3.445 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.071, allocations: 0 / 0.6802 GB, free: 3.445 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008231/1.08, allocations: 3.316 MB / 0.6835 GB, free: 92 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/1.081, allocations: 434 kB / 0.6839 GB, free: 15.64 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004273/1.082, allocations: 19.95 kB / 0.6839 GB, free: 15.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001493/1.083, allocations: 55.78 kB / 0.684 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002663/1.083, allocations: 64.42 kB / 0.684 GB, free: 15.51 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/1.084, allocations: 28 kB / 0.684 GB, free: 15.48 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00456/1.088, allocations: 1.609 MB / 0.6856 GB, free: 13.86 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.51e-07/1.088, allocations: 0 / 0.6856 GB, free: 13.86 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004989/1.093, allocations: 0.6132 MB / 0.6862 GB, free: 13.25 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * 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 (86): * Single equations (assignments): 82 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009267/1.103, allocations: 4.128 MB / 0.6902 GB, free: 9.074 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008947/1.112, allocations: 3.331 MB / 0.6935 GB, free: 5.754 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.112, allocations: 0 / 0.6935 GB, free: 5.754 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002423/1.114, allocations: 0.9271 MB / 0.6944 GB, free: 4.812 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/1.116, allocations: 192.5 kB / 0.6946 GB, free: 4.621 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3818/1.498, allocations: 87.36 MB / 0.7799 GB, free: 90.37 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004305/1.502, allocations: 2.229 MB / 0.7821 GB, free: 89.62 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006179/1.508, allocations: 1.413 MB / 0.7835 GB, free: 89.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002605/1.511, allocations: 1.033 MB / 0.7845 GB, free: 89.59 MB / 490.7 MB Notification: Performance of SimCode: time 1.212e-06/1.511, allocations: 0.7812 kB / 0.7845 GB, free: 89.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1243/1.635, allocations: 46.34 MB / 0.8297 GB, free: 66.76 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002506/1.636, allocations: 190.7 kB / 0.8299 GB, free: 66.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.016/5.652, allocations: 0 / 0.8299 GB, free: 66.52 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat