Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.PointMass.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01116/0.01116, allocations: 103.5 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.00118/0.00118, allocations: 164.9 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.646/1.646, allocations: 170.9 MB / 187.5 MB, free: 1 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2531/0.2531, allocations: 38.08 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000458/0.000458, allocations: 16 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09289/0.09338, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.0213/0.1147, allocations: 14.06 MB / 386.4 MB, free: 14.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009758/0.1246, allocations: 3.649 MB / 390 MB, free: 11.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002208/0.1268, allocations: 71.81 kB / 390.1 MB, free: 11 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00209/0.129, allocations: 0.6766 MB / 390.8 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007374/0.1364, allocations: 1.866 MB / 392.6 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001636/0.1381, allocations: 231.5 kB / 392.8 MB, free: 8.227 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003/0.1411, allocations: 1.095 MB / 393.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003177/0.1443, allocations: 1.485 MB / 395.4 MB, free: 5.609 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.1455, allocations: 0.5332 MB / 396 MB, free: 5.074 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001374/0.1469, allocations: 0.6929 MB / 396.6 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003864/0.1473, allocations: 72 kB / 396.7 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001625/0.1489, allocations: 0.6241 MB / 397.3 MB, free: 3.684 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001093/0.1501, allocations: 0.7948 MB / 398.1 MB, free: 2.887 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006245/0.1507, allocations: 476.1 kB / 398.6 MB, free: 2.414 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004493/0.1552, allocations: 2.806 MB / 401.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1553, allocations: 0 / 401.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1553, allocations: 0 / 401.4 MB, free: 15.6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.557e-05/0.1554, allocations: 0 / 401.4 MB, free: 15.6 MB / 314.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.006634/0.162, allocations: 2.294 MB / 403.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/0.1621, allocations: 12.03 kB / 403.7 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001043/0.1631, allocations: 458 kB / 404.2 MB, free: 12.78 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01114/0.1743, allocations: 1.896 MB / 406.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003135/0.1775, allocations: 1.048 MB / 407.1 MB, free: 9.789 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.1776, allocations: 114.9 kB / 407.2 MB, free: 9.676 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005161/0.1782, allocations: 155.8 kB / 407.4 MB, free: 9.523 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/0.1927, allocations: 6.22 MB / 413.6 MB, free: 2.816 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.9e-05/0.1929, allocations: 31.66 kB / 413.6 MB, free: 2.785 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003721/0.1933, allocations: 75.89 kB / 413.7 MB, free: 2.711 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003554/0.1968, allocations: 1.382 MB / 415.1 MB, free: 1.324 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01689/0.2137, allocations: 5.404 MB / 420.5 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3097/0.5235, allocations: 24.63 MB / 445.1 MB, free: 41.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007616/0.5312, allocations: 2.367 MB / 447.5 MB, free: 40.79 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004852/0.5317, allocations: 325.3 kB / 447.8 MB, free: 40.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.5318, allocations: 48.77 kB / 447.8 MB, free: 40.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=96): time 4.468e-06/0.5318, allocations: 0 / 447.8 MB, free: 40.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=106): time 0.03748/0.5693, allocations: 8.776 MB / 456.6 MB, free: 36.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.547e-05/0.5694, allocations: 140.9 kB / 456.8 MB, free: 36.65 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004798/0.5742, allocations: 2.6 MB / 459.4 MB, free: 35.49 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002104/0.5745, allocations: 37.94 kB / 459.4 MB, free: 35.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00145/0.5759, allocations: 2.011 MB / 461.4 MB, free: 33.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000537/0.5765, allocations: 436.6 kB / 461.8 MB, free: 33.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.5768, allocations: 86.59 kB / 461.9 MB, free: 33.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002517/0.577, allocations: 498.7 kB / 462.4 MB, free: 32.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002832/0.5799, allocations: 1.311 MB / 463.7 MB, free: 32.21 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004202/0.5841, allocations: 4.055 MB / 467.8 MB, free: 27.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004448/0.5886, allocations: 2.281 MB / 470 MB, free: 26.6 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.739e-05/0.5887, allocations: 32.64 kB / 470.1 MB, free: 26.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=557) (initialization): time 0.01248/0.6012, allocations: 5.427 MB / 475.5 MB, free: 21.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.122e-05/0.6013, allocations: 48 kB / 475.6 MB, free: 21.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001012/0.6014, allocations: 103 kB / 475.7 MB, free: 21.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/0.603, allocations: 468.5 kB / 476.1 MB, free: 20.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004924/0.608, allocations: 0.9693 MB / 477.1 MB, free: 19.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005538/0.6135, allocations: 3.463 MB / 480.5 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00416/0.6178, allocations: 223.5 kB / 480.8 MB, free: 16.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007403/0.6185, allocations: 272 kB / 481 MB, free: 15.76 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 447 * 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 (524): * Single equations (assignments): 520 * 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.002624/0.6212, allocations: 1.365 MB / 482.4 MB, free: 14.39 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004899/0.6217, allocations: 217.2 kB / 482.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003351/0.625, allocations: 1.314 MB / 483.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.619e-05/0.6251, allocations: 19.06 kB / 483.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.6251, allocations: 480 / 483.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.6252, allocations: 7.984 kB / 483.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.6361, allocations: 4.241 MB / 488.2 MB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/0.6362, allocations: 0 / 488.2 MB, free: 8.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/0.6374, allocations: 143.8 kB / 488.3 MB, free: 8.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001429/0.6389, allocations: 321.2 kB / 488.6 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/0.6391, allocations: 20.56 kB / 488.7 MB, free: 8.074 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00456/0.6437, allocations: 2.888 MB / 491.6 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6437, allocations: 64 / 491.6 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006361/0.6501, allocations: 3.115 MB / 494.7 MB, free: 1.906 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00125/0.6514, allocations: 414.1 kB / 495.1 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003572/0.6517, allocations: 15.95 kB / 495.1 MB, free: 1.465 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/0.653, allocations: 47.94 kB / 495.1 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/0.6533, allocations: 52.36 kB / 495.2 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000104/0.6534, allocations: 31.94 kB / 495.2 MB, free: 1.336 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003105/0.6565, allocations: 1.609 MB / 496.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6566, allocations: 0 / 496.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004557/0.6611, allocations: 0.5891 MB / 497.4 MB, free: 15.13 MB / 346.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 (77): * Single equations (assignments): 73 * 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.008176/0.6693, allocations: 3.908 MB / 0.4896 GB, free: 11.18 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.008075/0.6775, allocations: 3.188 MB / 0.4927 GB, free: 8.004 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.6775, allocations: 0 / 0.4927 GB, free: 8.004 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002011/0.6795, allocations: 0.857 MB / 0.4935 GB, free: 7.137 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.681, allocations: 197.4 kB / 0.4937 GB, free: 6.941 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08249/0.7636, allocations: 86.84 MB / 0.5785 GB, free: 13.06 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003462/0.7671, allocations: 2.21 MB / 0.5807 GB, free: 10.82 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00596/0.773, allocations: 1.379 MB / 0.582 GB, free: 9.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002515/0.7756, allocations: 1.019 MB / 0.583 GB, free: 8.41 MB / 442.7 MB Notification: Performance of SimCode: time 1.203e-06/0.7756, allocations: 0 / 0.583 GB, free: 8.41 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4574/1.233, allocations: 44.93 MB / 0.6269 GB, free: 137.8 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002992/1.233, allocations: 190.3 kB / 0.6271 GB, free: 137.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.202/5.435, allocations: 4 kB / 0.6271 GB, free: 137.5 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