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.455/2.455, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004558/0.0004561, allocations: 16 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3465/0.347, allocations: 54.86 MB / 369.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1747/0.5218, allocations: 97.23 MB / 466.6 MB, free: 9.328 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.5221, allocations: 83.89 kB / 466.7 MB, free: 9.246 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4734/0.9956, allocations: 33.28 MB / 499.9 MB, free: 84.7 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.9956, allocations: 0 / 499.9 MB, free: 84.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.792e-05/0.9957, allocations: 32 kB / 500 MB, free: 84.67 MB / 394.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.005968/1.002, allocations: 1.795 MB / 0.49 GB, free: 82.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/1.002, allocations: 12.03 kB / 0.49 GB, free: 82.82 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008481/1.003, allocations: 236.7 kB / 0.4903 GB, free: 82.58 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0034/1.006, allocations: 401.5 kB / 0.4906 GB, free: 82.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01076/1.017, allocations: 2.933 MB / 0.4935 GB, free: 79.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.996e-05/1.017, allocations: 106.7 kB / 0.4936 GB, free: 79.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004019/1.017, allocations: 135.8 kB / 0.4937 GB, free: 79.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008702/1.026, allocations: 2.911 MB / 0.4966 GB, free: 75.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.345e-05/1.026, allocations: 11.92 kB / 0.4966 GB, free: 75.89 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002366/1.027, allocations: 71.69 kB / 0.4967 GB, free: 75.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006699/1.027, allocations: 262 kB / 0.4969 GB, free: 75.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007839/1.035, allocations: 2.112 MB / 0.499 GB, free: 73.45 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01736/1.053, allocations: 11.25 MB / 0.51 GB, free: 61.94 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005988/1.059, allocations: 1.101 MB / 0.511 GB, free: 60.82 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004702/1.063, allocations: 2.629 MB / 0.5136 GB, free: 58.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.71e-05/1.063, allocations: 42.56 kB / 0.5136 GB, free: 57.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.797e-06/1.063, allocations: 0 / 0.5136 GB, free: 57.97 MB / 394.7 MB Notification: Performance of matching and sorting (n=50): time 0.01842/1.082, allocations: 3.508 MB / 0.5171 GB, free: 54.35 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/1.082, allocations: 85.55 kB / 0.5171 GB, free: 54.24 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/1.084, allocations: 1.05 MB / 0.5182 GB, free: 53.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/1.084, allocations: 37.7 kB / 0.5182 GB, free: 53.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006161/1.085, allocations: 0.9297 MB / 0.5191 GB, free: 52.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002285/1.085, allocations: 197.1 kB / 0.5193 GB, free: 52.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.208e-05/1.085, allocations: 28 kB / 0.5193 GB, free: 51.99 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/1.085, allocations: 374.8 kB / 0.5197 GB, free: 51.61 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009447/1.086, allocations: 379.8 kB / 0.52 GB, free: 51.24 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/1.087, allocations: 1.206 MB / 0.5212 GB, free: 49.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/1.089, allocations: 0.6419 MB / 0.5219 GB, free: 48.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.73e-05/1.089, allocations: 8 kB / 0.5219 GB, free: 48.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.003549/1.092, allocations: 1.597 MB / 0.5234 GB, free: 47.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/1.092, allocations: 18.03 kB / 0.5234 GB, free: 47.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.399e-05/1.093, allocations: 32.16 kB / 0.5235 GB, free: 47.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002934/1.093, allocations: 92.83 kB / 0.5236 GB, free: 47.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002051/1.095, allocations: 347.3 kB / 0.5239 GB, free: 46.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00181/1.097, allocations: 1.721 MB / 0.5256 GB, free: 45.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/1.098, allocations: 67.92 kB / 0.5256 GB, free: 44.97 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/1.099, allocations: 84.23 kB / 0.5257 GB, free: 44.89 MB / 394.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 () * Number of clocked 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.001333/1.1, allocations: 0.632 MB / 0.5263 GB, free: 44.24 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002645/1.1, allocations: 114.5 kB / 0.5264 GB, free: 44.13 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/1.102, allocations: 0.6566 MB / 0.5271 GB, free: 43.45 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/1.102, allocations: 7.984 kB / 0.5271 GB, free: 43.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.102, allocations: 4 kB / 0.5271 GB, free: 43.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/1.102, allocations: 0 / 0.5271 GB, free: 43.44 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004789/1.107, allocations: 2.153 MB / 0.5292 GB, free: 41.19 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.467e-06/1.107, allocations: 7.953 kB / 0.5292 GB, free: 41.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000662/1.108, allocations: 91.88 kB / 0.5293 GB, free: 41.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00026/1.108, allocations: 56.83 kB / 0.5293 GB, free: 41.04 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.868e-05/1.108, allocations: 12 kB / 0.5294 GB, free: 41.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001829/1.11, allocations: 1.765 MB / 0.5311 GB, free: 39.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/1.11, allocations: 7.938 kB / 0.5311 GB, free: 39.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002046/1.112, allocations: 1.204 MB / 0.5323 GB, free: 37.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004393/1.112, allocations: 219.6 kB / 0.5325 GB, free: 37.56 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/1.112, allocations: 12 kB / 0.5325 GB, free: 37.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005991/1.113, allocations: 23.98 kB / 0.5325 GB, free: 37.52 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.258e-05/1.113, allocations: 51.91 kB / 0.5326 GB, free: 37.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.554e-05/1.113, allocations: 12 kB / 0.5326 GB, free: 37.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001405/1.115, allocations: 0.7554 MB / 0.5333 GB, free: 36.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/1.115, allocations: 0 / 0.5333 GB, free: 36.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001875/1.117, allocations: 292 kB / 0.5336 GB, free: 36.41 MB / 394.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 () * Number of clocked 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.002607/1.119, allocations: 2.722 MB / 0.5362 GB, free: 33.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002496/1.122, allocations: 1.039 MB / 0.5373 GB, free: 32.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/1.122, allocations: 0 / 0.5373 GB, free: 32.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007904/1.123, allocations: 387.6 kB / 0.5376 GB, free: 32.13 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/1.124, allocations: 164.5 kB / 0.5378 GB, free: 31.97 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01291/1.137, allocations: 24.89 MB / 0.5621 GB, free: 6.379 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/1.138, allocations: 1.458 MB / 0.5635 GB, free: 4.891 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009701/1.139, allocations: 0.5618 MB / 0.5641 GB, free: 4.328 MB / 394.7 MB Notification: Performance of SimCode: time 1.052e-06/1.139, allocations: 0 / 0.5641 GB, free: 4.328 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.319/4.458, allocations: 28.21 MB / 0.5916 GB, free: 8.098 MB / 426.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