Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.36/2.36, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.567e-05/3.603e-05, allocations: 4 kB / 309.8 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3882, allocations: 54.85 MB / 364.6 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1967/0.585, allocations: 97.14 MB / 461.8 MB, free: 15.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.5853, allocations: 76.83 kB / 461.8 MB, free: 15.24 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1512/0.7365, allocations: 33.26 MB / 495.1 MB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.7365, allocations: 4 kB / 495.1 MB, free: 13.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001086/0.7367, allocations: 28 kB / 495.1 MB, free: 13.85 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.00548/0.7422, allocations: 1.651 MB / 496.8 MB, free: 12.14 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.7422, allocations: 8.031 kB / 496.8 MB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007836/0.743, allocations: 244.8 kB / 497 MB, free: 11.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003403/0.7464, allocations: 405.5 kB / 497.4 MB, free: 11.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01198/0.7585, allocations: 2.904 MB / 0.4886 GB, free: 8.539 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.7586, allocations: 106.8 kB / 0.4887 GB, free: 8.434 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005595/0.7592, allocations: 144.2 kB / 0.4888 GB, free: 8.293 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009495/0.7687, allocations: 2.884 MB / 0.4917 GB, free: 5.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-05/0.7689, allocations: 15.88 kB / 0.4917 GB, free: 5.164 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002474/0.7691, allocations: 67.98 kB / 0.4917 GB, free: 5.098 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007484/0.7699, allocations: 262 kB / 0.492 GB, free: 4.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00846/0.7784, allocations: 2.07 MB / 0.494 GB, free: 2.762 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02044/0.7989, allocations: 11.27 MB / 0.505 GB, free: 7.172 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006219/0.8052, allocations: 1.067 MB / 0.5061 GB, free: 6.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008847/0.8061, allocations: 359.4 kB / 0.5064 GB, free: 5.734 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0056/0.8117, allocations: 2.641 MB / 0.509 GB, free: 2.898 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.8118, allocations: 34.78 kB / 0.509 GB, free: 2.855 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 4.108e-06/0.8118, allocations: 0 / 0.509 GB, free: 2.855 MB / 442.7 MB Notification: Performance of matching and sorting (n=50): time 0.01807/0.8299, allocations: 3.159 MB / 0.5121 GB, free: 15.59 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.08e-05/0.83, allocations: 81.55 kB / 0.5122 GB, free: 15.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002218/0.8323, allocations: 1.044 MB / 0.5132 GB, free: 14.43 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.8324, allocations: 33.7 kB / 0.5132 GB, free: 14.39 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008119/0.8332, allocations: 0.9263 MB / 0.5141 GB, free: 13.46 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002609/0.8335, allocations: 197.5 kB / 0.5143 GB, free: 13.26 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.297e-05/0.8336, allocations: 32 kB / 0.5144 GB, free: 13.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.8338, allocations: 374.7 kB / 0.5147 GB, free: 12.86 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009371/0.8347, allocations: 371.8 kB / 0.5151 GB, free: 12.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001636/0.8364, allocations: 1.191 MB / 0.5162 GB, free: 10.89 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/0.8379, allocations: 0.6571 MB / 0.5169 GB, free: 10.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.122e-05/0.838, allocations: 8 kB / 0.5169 GB, free: 10.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.003986/0.842, allocations: 1.557 MB / 0.5184 GB, free: 8.656 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.616e-05/0.8421, allocations: 16 kB / 0.5184 GB, free: 8.641 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.326e-05/0.8421, allocations: 32 kB / 0.5184 GB, free: 8.609 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003243/0.8425, allocations: 96.81 kB / 0.5185 GB, free: 8.512 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002197/0.8447, allocations: 344 kB / 0.5189 GB, free: 8.176 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002154/0.8468, allocations: 1.709 MB / 0.5205 GB, free: 6.332 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.8485, allocations: 71.92 kB / 0.5206 GB, free: 6.262 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001877/0.8487, allocations: 80 kB / 0.5207 GB, free: 6.184 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 181 * Array equations: 0 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003726/0.8491, allocations: 226.5 kB / 0.5209 GB, free: 5.953 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002279/0.8493, allocations: 114.5 kB / 0.521 GB, free: 5.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.8512, allocations: 0.6449 MB / 0.5216 GB, free: 5.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/0.8512, allocations: 7.984 kB / 0.5216 GB, free: 5.172 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.8512, allocations: 4 kB / 0.5216 GB, free: 5.168 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.8512, allocations: 7.938 kB / 0.5217 GB, free: 5.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005308/0.8566, allocations: 2.138 MB / 0.5237 GB, free: 2.914 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/0.8566, allocations: 8.109 kB / 0.5237 GB, free: 2.906 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007185/0.8573, allocations: 95.83 kB / 0.5238 GB, free: 2.812 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000293/0.8576, allocations: 69.25 kB / 0.5239 GB, free: 2.742 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/0.8577, allocations: 12 kB / 0.5239 GB, free: 2.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002265/0.86, allocations: 1.729 MB / 0.5256 GB, free: 0.8633 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/0.86, allocations: 7.938 kB / 0.5256 GB, free: 0.8555 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3037/1.164, allocations: 1.169 MB / 0.5268 GB, free: 127.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005905/1.164, allocations: 216 kB / 0.527 GB, free: 127.8 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/1.165, allocations: 11.14 kB / 0.527 GB, free: 127.8 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006506/1.165, allocations: 26.25 kB / 0.527 GB, free: 127.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/1.165, allocations: 43.2 kB / 0.527 GB, free: 127.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-05/1.165, allocations: 20.3 kB / 0.5271 GB, free: 127.8 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001677/1.167, allocations: 0.7401 MB / 0.5278 GB, free: 127.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.182e-06/1.167, allocations: 3.094 kB / 0.5278 GB, free: 127.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003181/1.17, allocations: 296.3 kB / 0.5281 GB, free: 127.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003591/1.174, allocations: 2.706 MB / 0.5307 GB, free: 125.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003358/1.177, allocations: 1.015 MB / 0.5317 GB, free: 125.6 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/1.177, allocations: 1.812 kB / 0.5317 GB, free: 125.6 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00112/1.179, allocations: 367.4 kB / 0.5321 GB, free: 125.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002104/1.181, allocations: 165.8 kB / 0.5322 GB, free: 125.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/1.192, allocations: 2.647 MB / 0.5348 GB, free: 124.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002668/1.195, allocations: 1.456 MB / 0.5362 GB, free: 124.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001553/1.196, allocations: 0.5647 MB / 0.5368 GB, free: 124.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.493e-06/1.196, allocations: 0 / 0.5368 GB, free: 124.1 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.193/4.389, allocations: 28.58 MB / 0.5647 GB, free: 120.2 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat