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.Prismatic.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.Prismatic,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.408/2.408, allocations: 235 MB / 248.1 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.576e-05/3.592e-05, allocations: 4 kB / 309.8 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3948, allocations: 54.85 MB / 364.6 MB, free: 5.406 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2014/0.5963, allocations: 95.39 MB / 460 MB, free: 1.004 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.5966, allocations: 75.95 kB / 460.1 MB, free: 0.9297 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7744/1.371, allocations: 84.72 MB / 0.532 GB, free: 110.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.795e-06/1.371, allocations: 0 / 0.532 GB, free: 110.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002389/1.371, allocations: 78.06 kB / 0.5321 GB, free: 110.1 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1554 * Number of variables: 1554 Notification: Performance of Generate backend data structure: time 0.01453/1.386, allocations: 3.515 MB / 0.5355 GB, free: 108.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/1.386, allocations: 10.09 kB / 0.5356 GB, free: 108.6 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004096/1.39, allocations: 0.7777 MB / 0.5363 GB, free: 108.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02825/1.418, allocations: 3.507 MB / 0.5397 GB, free: 108.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02429/1.443, allocations: 4.178 MB / 0.5438 GB, free: 107.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007247/1.444, allocations: 296.4 kB / 0.5441 GB, free: 107.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003632/1.447, allocations: 403.1 kB / 0.5445 GB, free: 107.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0328/1.48, allocations: 9.856 MB / 0.5541 GB, free: 106.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002279/1.48, allocations: 24.47 kB / 0.5541 GB, free: 106.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001873/1.482, allocations: 179.6 kB / 0.5543 GB, free: 106.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002644/1.485, allocations: 1.164 MB / 0.5554 GB, free: 106.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03252/1.517, allocations: 9.28 MB / 0.5645 GB, free: 105.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0748/1.592, allocations: 32.44 MB / 0.5962 GB, free: 85.58 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008731/1.601, allocations: 3.334 MB / 0.5994 GB, free: 83.77 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002351/1.603, allocations: 1.059 MB / 0.6005 GB, free: 83.42 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001485/1.605, allocations: 1.311 MB / 0.6018 GB, free: 82.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.292e-05/1.605, allocations: 47.53 kB / 0.6018 GB, free: 82.19 MB / 458.7 MB Notification: Performance of pre-optimization done (n=187): time 6.632e-06/1.605, allocations: 0 / 0.6018 GB, free: 82.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=193): time 0.03005/1.635, allocations: 8.699 MB / 0.6103 GB, free: 75.22 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/1.635, allocations: 91.83 kB / 0.6104 GB, free: 75.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004784/1.64, allocations: 2.319 MB / 0.6127 GB, free: 73.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003596/1.64, allocations: 45.7 kB / 0.6127 GB, free: 72.99 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001847/1.642, allocations: 2.739 MB / 0.6154 GB, free: 70.52 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009489/1.643, allocations: 0.7129 MB / 0.6161 GB, free: 69.9 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004332/1.644, allocations: 96 kB / 0.6162 GB, free: 69.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003232/1.644, allocations: 0.5147 MB / 0.6167 GB, free: 69.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003573/1.648, allocations: 1.503 MB / 0.6181 GB, free: 67.99 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005408/1.653, allocations: 4.381 MB / 0.6224 GB, free: 62.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005501/1.659, allocations: 2.615 MB / 0.625 GB, free: 60.18 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.074e-05/1.659, allocations: 31.95 kB / 0.625 GB, free: 60.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=653) (initialization): time 0.01407/1.673, allocations: 5.738 MB / 0.6306 GB, free: 55.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.797e-05/1.673, allocations: 48 kB / 0.6306 GB, free: 55.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000115/1.673, allocations: 100 kB / 0.6307 GB, free: 54.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000442/1.674, allocations: 196.7 kB / 0.6309 GB, free: 54.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006243/1.68, allocations: 1.099 MB / 0.632 GB, free: 53.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/1.682, allocations: 1.674 MB / 0.6336 GB, free: 52.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004516/1.686, allocations: 215.5 kB / 0.6338 GB, free: 51.83 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009967/1.687, allocations: 295.6 kB / 0.6341 GB, free: 51.55 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (601): * Single equations (assignments): 594 * Array equations: 6 * 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.0009335/1.688, allocations: 473.2 kB / 0.6346 GB, free: 51.08 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006082/1.689, allocations: 252.7 kB / 0.6348 GB, free: 50.83 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005428/1.694, allocations: 2.5 MB / 0.6373 GB, free: 48.69 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.348e-05/1.694, allocations: 20 kB / 0.6373 GB, free: 48.67 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/1.694, allocations: 9.156 kB / 0.6373 GB, free: 48.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.116e-05/1.695, allocations: 6.703 kB / 0.6373 GB, free: 48.66 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0192/1.714, allocations: 8.158 MB / 0.6453 GB, free: 41.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.922e-05/1.714, allocations: 16.25 kB / 0.6453 GB, free: 41.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/1.716, allocations: 251.6 kB / 0.6455 GB, free: 41.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002257/1.716, allocations: 60.83 kB / 0.6456 GB, free: 40.99 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001491/1.716, allocations: 39.98 kB / 0.6456 GB, free: 40.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/1.718, allocations: 1.492 MB / 0.6471 GB, free: 39.32 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.256e-05/1.718, allocations: 19.88 kB / 0.6471 GB, free: 39.31 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007545/1.725, allocations: 4.863 MB / 0.6518 GB, free: 34.01 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001602/1.727, allocations: 0.5095 MB / 0.6523 GB, free: 33.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004054/1.727, allocations: 35.91 kB / 0.6524 GB, free: 33.45 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/1.729, allocations: 59.95 kB / 0.6524 GB, free: 33.39 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002611/1.729, allocations: 131.1 kB / 0.6525 GB, free: 33.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/1.729, allocations: 60 kB / 0.6526 GB, free: 33.21 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003139/1.732, allocations: 1.579 MB / 0.6541 GB, free: 31.61 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.082e-06/1.732, allocations: 0 / 0.6541 GB, free: 31.61 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005114/1.737, allocations: 0.8161 MB / 0.6549 GB, free: 30.8 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * 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 (142): * Single equations (assignments): 135 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.008234/1.746, allocations: 8.226 MB / 0.663 GB, free: 22.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007835/1.754, allocations: 3.795 MB / 0.6667 GB, free: 18.46 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/1.754, allocations: 4 kB / 0.6667 GB, free: 18.46 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00237/1.756, allocations: 1.237 MB / 0.6679 GB, free: 17.21 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/1.758, allocations: 311.4 kB / 0.6682 GB, free: 16.92 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02933/1.788, allocations: 8.905 MB / 0.6769 GB, free: 7.848 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007968/1.796, allocations: 3.278 MB / 0.6801 GB, free: 4.555 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004888/1.801, allocations: 1.796 MB / 0.6818 GB, free: 2.758 MB / 458.7 MB Notification: Performance of SimCode: time 1.363e-06/1.801, allocations: 0 / 0.6818 GB, free: 2.758 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.299/6.1, allocations: 86.63 MB / 0.7664 GB, free: 89.42 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.Prismatic_res.mat does not exist to compare? outputFormat=mat