Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.PointMass.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01149/0.01149, allocations: 107.6 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001195/0.001195, allocations: 182.5 kB / 15.95 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.944/1.944, allocations: 194.5 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.299/0.299, allocations: 40.04 MB / 296.5 MB, free: 6.309 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004757/0.0004758, allocations: 16 kB / 361.1 MB, free: 9.562 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1236, allocations: 54.87 MB / 416 MB, free: 2.59 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.02207/0.1458, allocations: 14.08 MB / 430.1 MB, free: 4.461 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.1561, allocations: 3.669 MB / 433.8 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002612/0.1588, allocations: 67.81 kB / 433.8 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00256/0.1614, allocations: 0.6727 MB / 434.5 MB, free: 40 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007511/0.169, allocations: 1.87 MB / 436.4 MB, free: 14.16 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.1706, allocations: 231.5 kB / 436.6 MB, free: 13.94 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002997/0.1737, allocations: 1.091 MB / 437.7 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004754/0.1785, allocations: 1.504 MB / 439.2 MB, free: 11.3 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/0.1804, allocations: 0.5332 MB / 439.7 MB, free: 10.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002308/0.1827, allocations: 0.6929 MB / 440.4 MB, free: 10.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006399/0.1834, allocations: 72 kB / 440.5 MB, free: 10 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002587/0.186, allocations: 0.6241 MB / 441.1 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001981/0.1881, allocations: 0.7948 MB / 441.9 MB, free: 8.582 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.1892, allocations: 480.1 kB / 442.4 MB, free: 8.105 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006546/0.1958, allocations: 2.802 MB / 445.2 MB, free: 5.297 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.1958, allocations: 0 / 445.2 MB, free: 5.297 MB / 378.7 MB Notification: Performance of FrontEnd: time 6.703e-06/0.1959, allocations: 3.938 kB / 445.2 MB, free: 5.293 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001389/0.196, allocations: 7.938 kB / 445.2 MB, free: 5.285 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.008595/0.2046, allocations: 2.298 MB / 447.5 MB, free: 2.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.2047, allocations: 12.03 kB / 447.5 MB, free: 2.918 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001141/0.2058, allocations: 458.1 kB / 447.9 MB, free: 2.461 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.2171, allocations: 1.88 MB / 449.8 MB, free: 0.5742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3296/0.5468, allocations: 1.059 MB / 450.9 MB, free: 57.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001162/0.5469, allocations: 116.7 kB / 451 MB, free: 57.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006965/0.5477, allocations: 152.1 kB / 451.1 MB, free: 57.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01816/0.5658, allocations: 6.223 MB / 457.4 MB, free: 56.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001245/0.566, allocations: 24.39 kB / 457.4 MB, free: 56.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000511/0.5665, allocations: 81.55 kB / 457.5 MB, free: 56.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004551/0.5711, allocations: 1.381 MB / 458.9 MB, free: 55.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02035/0.5915, allocations: 5.404 MB / 464.3 MB, free: 54.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.052/0.6436, allocations: 24.8 MB / 489.1 MB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01191/0.6556, allocations: 2.371 MB / 491.4 MB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006753/0.6563, allocations: 327.1 kB / 491.7 MB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.469e-05/0.6564, allocations: 57.48 kB / 491.8 MB, free: 34.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 6.502e-06/0.6564, allocations: 1.469 kB / 491.8 MB, free: 34.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=106): time 0.05871/0.7151, allocations: 8.75 MB / 0.4888 GB, free: 30.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.7153, allocations: 142.2 kB / 0.489 GB, free: 30.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005965/0.7212, allocations: 2.609 MB / 0.4915 GB, free: 29.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002667/0.7216, allocations: 41.17 kB / 0.4915 GB, free: 29.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002028/0.7236, allocations: 2.007 MB / 0.4935 GB, free: 28.11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007195/0.7244, allocations: 439.6 kB / 0.4939 GB, free: 27.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003495/0.7247, allocations: 81.28 kB / 0.494 GB, free: 27.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003286/0.7251, allocations: 496.8 kB / 0.4945 GB, free: 27.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003693/0.7288, allocations: 1.316 MB / 0.4958 GB, free: 26.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005823/0.7347, allocations: 4.047 MB / 0.4997 GB, free: 22.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005595/0.7403, allocations: 2.304 MB / 0.502 GB, free: 21.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001291/0.7405, allocations: 27.53 kB / 0.502 GB, free: 21.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=557) (initialization): time 0.01461/0.7551, allocations: 5.427 MB / 0.5073 GB, free: 18.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.034e-05/0.7553, allocations: 45.41 kB / 0.5073 GB, free: 18.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/0.7554, allocations: 100 kB / 0.5074 GB, free: 18.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001747/0.7572, allocations: 480.4 kB / 0.5079 GB, free: 17.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005387/0.7626, allocations: 0.9718 MB / 0.5088 GB, free: 16.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005453/0.7681, allocations: 3.455 MB / 0.5122 GB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004344/0.7725, allocations: 227.5 kB / 0.5124 GB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007263/0.7732, allocations: 272 kB / 0.5127 GB, free: 13.02 MB / 378.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.003036/0.7763, allocations: 1.356 MB / 0.514 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006405/0.7769, allocations: 221 kB / 0.5142 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003512/0.7805, allocations: 1.325 MB / 0.5155 GB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-05/0.7806, allocations: 14.89 kB / 0.5155 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.7806, allocations: 6.375 kB / 0.5155 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/0.7806, allocations: 3.984 kB / 0.5155 GB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01173/0.7924, allocations: 4.227 MB / 0.5197 GB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/0.7924, allocations: 0 / 0.5197 GB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/0.7937, allocations: 135.8 kB / 0.5198 GB, free: 5.664 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/0.7952, allocations: 318.1 kB / 0.5201 GB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001817/0.7954, allocations: 20 kB / 0.5201 GB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004514/0.7999, allocations: 2.895 MB / 0.5229 GB, free: 2.312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.8, allocations: 4.031 kB / 0.5229 GB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006617/0.8066, allocations: 3.108 MB / 0.526 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001496/0.8082, allocations: 422.1 kB / 0.5264 GB, free: 14.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003498/0.8085, allocations: 16 kB / 0.5264 GB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.8099, allocations: 50.66 kB / 0.5264 GB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002516/0.8101, allocations: 52.36 kB / 0.5265 GB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.8103, allocations: 26.89 kB / 0.5265 GB, free: 14.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003612/0.8139, allocations: 1.605 MB / 0.5281 GB, free: 12.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8139, allocations: 0 / 0.5281 GB, free: 12.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00482/0.8187, allocations: 0.5928 MB / 0.5287 GB, free: 12.38 MB / 394.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.007932/0.8267, allocations: 3.906 MB / 0.5325 GB, free: 8.426 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008133/0.8349, allocations: 3.185 MB / 0.5356 GB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.835, allocations: 0 / 0.5356 GB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001992/0.837, allocations: 0.8599 MB / 0.5364 GB, free: 4.379 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/0.8386, allocations: 196.2 kB / 0.5366 GB, free: 4.191 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.431/1.27, allocations: 86.84 MB / 0.6214 GB, free: 142.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003273/1.273, allocations: 2.211 MB / 0.6236 GB, free: 142.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005367/1.278, allocations: 1.386 MB / 0.6249 GB, free: 142.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002457/1.281, allocations: 1.012 MB / 0.6259 GB, free: 142.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.132e-06/1.281, allocations: 0 / 0.6259 GB, free: 142.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/1.397, allocations: 44.94 MB / 0.6698 GB, free: 124.1 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002452/1.397, allocations: 190.3 kB / 0.67 GB, free: 123.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.122/5.519, allocations: 4 kB / 0.67 GB, free: 123.8 MB / 474.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