Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.PointMass.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01347/0.01348, allocations: 165.4 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.576/1.576, allocations: 170.8 MB / 186.6 MB, free: 1.102 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001962/0.001962, allocations: 114.5 kB / 226.2 MB, free: 10.08 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4385/0.4385, allocations: 38.05 MB / 303.7 MB, free: 42.44 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004558/0.0004559, allocations: 8 kB / 363 MB, free: 5.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1095, allocations: 48.71 MB / 411.7 MB, free: 4.727 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4134/0.5229, allocations: 82.99 MB / 494.7 MB, free: 4.477 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.5232, allocations: 77.84 kB / 494.7 MB, free: 4.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1932/0.7165, allocations: 46.88 MB / 0.5289 GB, free: 10.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.7166, allocations: 0 / 0.5289 GB, free: 10.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001157/0.7167, allocations: 40 kB / 0.529 GB, free: 10.73 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: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.009537/0.7262, allocations: 2.399 MB / 0.5313 GB, free: 8.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/0.7263, allocations: 8.031 kB / 0.5313 GB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002367/0.7287, allocations: 490.1 kB / 0.5318 GB, free: 7.773 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01395/0.7427, allocations: 1.774 MB / 0.5335 GB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005011/0.7478, allocations: 1.346 MB / 0.5348 GB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/0.7481, allocations: 180.7 kB / 0.535 GB, free: 4.426 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001224/0.7493, allocations: 239.8 kB / 0.5352 GB, free: 4.191 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/0.7665, allocations: 6.572 MB / 0.5417 GB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001505/0.7667, allocations: 43.56 kB / 0.5417 GB, free: 12.81 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006386/0.7674, allocations: 125 kB / 0.5418 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001501/0.7689, allocations: 0.6954 MB / 0.5425 GB, free: 11.99 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0162/0.7851, allocations: 5.497 MB / 0.5479 GB, free: 6.492 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04496/0.8301, allocations: 31.56 MB / 0.5787 GB, free: 5.812 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007704/0.8379, allocations: 2.359 MB / 0.581 GB, free: 3.305 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.8381, allocations: 39.94 kB / 0.581 GB, free: 3.266 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/0.8382, allocations: 46.56 kB / 0.5811 GB, free: 3.211 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 5.1e-06/0.8382, allocations: 0 / 0.5811 GB, free: 3.211 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.3285/1.167, allocations: 9.709 MB / 0.5905 GB, free: 103.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.233e-05/1.167, allocations: 151.7 kB / 0.5907 GB, free: 103 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005523/1.172, allocations: 2.328 MB / 0.593 GB, free: 102.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002832/1.173, allocations: 42.25 kB / 0.593 GB, free: 102.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001944/1.175, allocations: 2.012 MB / 0.595 GB, free: 101.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007436/1.175, allocations: 465.5 kB / 0.5954 GB, free: 101.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005565/1.176, allocations: 86.83 kB / 0.5955 GB, free: 101.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000289/1.176, allocations: 0.4915 MB / 0.596 GB, free: 101.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003452/1.18, allocations: 1.368 MB / 0.5973 GB, free: 101.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005553/1.185, allocations: 4.124 MB / 0.6013 GB, free: 97.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005378/1.191, allocations: 2.36 MB / 0.6036 GB, free: 97.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001224/1.191, allocations: 26.12 kB / 0.6037 GB, free: 97.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01527/1.206, allocations: 5.577 MB / 0.6091 GB, free: 96.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001171/1.206, allocations: 54.62 kB / 0.6092 GB, free: 96.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001867/1.207, allocations: 104.1 kB / 0.6093 GB, free: 96.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001989/1.209, allocations: 478 kB / 0.6097 GB, free: 96.85 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006405/1.215, allocations: 1.012 MB / 0.6107 GB, free: 96.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005964/1.221, allocations: 3.453 MB / 0.6141 GB, free: 95.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004704/1.226, allocations: 236.3 kB / 0.6143 GB, free: 95.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001026/1.227, allocations: 274 kB / 0.6146 GB, free: 95.35 MB / 426.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.003602/1.23, allocations: 1.383 MB / 0.6159 GB, free: 95.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006765/1.231, allocations: 218.8 kB / 0.6161 GB, free: 94.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004492/1.236, allocations: 1.471 MB / 0.6176 GB, free: 94.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.539e-05/1.236, allocations: 16.39 kB / 0.6176 GB, free: 94.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-05/1.236, allocations: 3.969 kB / 0.6176 GB, free: 94.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/1.236, allocations: 7.297 kB / 0.6176 GB, free: 94.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01311/1.249, allocations: 4.459 MB / 0.6219 GB, free: 92.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.068e-05/1.249, allocations: 0 / 0.6219 GB, free: 92.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001772/1.251, allocations: 169.5 kB / 0.6221 GB, free: 92.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001606/1.252, allocations: 320.8 kB / 0.6224 GB, free: 92.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000233/1.253, allocations: 22 kB / 0.6224 GB, free: 92.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004868/1.258, allocations: 2.871 MB / 0.6252 GB, free: 90.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/1.258, allocations: 7.312 kB / 0.6252 GB, free: 90.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007334/1.265, allocations: 3.332 MB / 0.6285 GB, free: 89.31 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/1.267, allocations: 429.2 kB / 0.6289 GB, free: 89.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006641/1.267, allocations: 19.53 kB / 0.6289 GB, free: 89.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001596/1.269, allocations: 52.33 kB / 0.629 GB, free: 89.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002652/1.269, allocations: 53.3 kB / 0.629 GB, free: 89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/1.269, allocations: 32.42 kB / 0.6291 GB, free: 89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004278/1.274, allocations: 1.608 MB / 0.6306 GB, free: 88.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.274, allocations: 0 / 0.6306 GB, free: 88.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005194/1.279, allocations: 0.6137 MB / 0.6312 GB, free: 88.34 MB / 426.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.008576/1.287, allocations: 4.142 MB / 0.6353 GB, free: 86.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008328/1.296, allocations: 3.324 MB / 0.6385 GB, free: 84.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/1.296, allocations: 0 / 0.6385 GB, free: 84.92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00205/1.298, allocations: 0.9286 MB / 0.6394 GB, free: 84.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/1.3, allocations: 191.4 kB / 0.6396 GB, free: 84.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06783/1.368, allocations: 87.37 MB / 0.7249 GB, free: 19.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003916/1.372, allocations: 2.235 MB / 0.7271 GB, free: 18.56 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006676/1.379, allocations: 1.406 MB / 0.7285 GB, free: 18.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003301/1.382, allocations: 1.036 MB / 0.7295 GB, free: 17.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.944e-06/1.382, allocations: 0 / 0.7295 GB, free: 17.64 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5506/1.933, allocations: 46.32 MB / 0.7747 GB, free: 109.9 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/1.933, allocations: 190.8 kB / 0.7749 GB, free: 109.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.067/6, allocations: 10.97 kB / 0.7749 GB, free: 109.7 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat