Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.Prismatic.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadModel(ModelicaTest): time 1.914/1.914, allocations: 209.3 MB / 224.8 MB, free: 288 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004453/0.0004455, allocations: 8 kB / 282.5 MB, free: 9.664 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2862, allocations: 48.71 MB / 331.2 MB, free: 6.488 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.03173/0.3179, allocations: 24.72 MB / 355.9 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01724/0.3352, allocations: 6.303 MB / 362.2 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005377/0.3407, allocations: 119.7 kB / 362.3 MB, free: 15.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004094/0.3448, allocations: 1.268 MB / 363.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01315/0.358, allocations: 3.779 MB / 367.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.3599, allocations: 375.4 kB / 367.8 MB, free: 9.918 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004382/0.3643, allocations: 1.996 MB / 369.7 MB, free: 7.918 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004116/0.3684, allocations: 2.253 MB / 372 MB, free: 5.617 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001473/0.37, allocations: 0.8913 MB / 372.9 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001852/0.3718, allocations: 1.254 MB / 374.1 MB, free: 3.465 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004101/0.3723, allocations: 136 kB / 374.3 MB, free: 3.332 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001613/0.3739, allocations: 0.6515 MB / 374.9 MB, free: 2.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001628/0.3755, allocations: 1.391 MB / 376.3 MB, free: 1.285 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008971/0.3764, allocations: 0.757 MB / 377.1 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006508/0.383, allocations: 4.751 MB / 381.8 MB, free: 11.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.648e-06/0.383, allocations: 0 / 381.8 MB, free: 11.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.798e-06/0.383, allocations: 0 / 381.8 MB, free: 11.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001249/0.3832, allocations: 0 / 381.8 MB, free: 11.76 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: 1554 * Number of variables: 1554 Notification: Performance of Generate backend data structure: time 0.007475/0.3907, allocations: 3.442 MB / 385.3 MB, free: 8.246 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.3907, allocations: 12.03 kB / 385.3 MB, free: 8.234 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01631/0.407, allocations: 3.723 MB / 389 MB, free: 4.496 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005372/0.4125, allocations: 2.143 MB / 391.1 MB, free: 2.301 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002479/0.4128, allocations: 192.8 kB / 391.3 MB, free: 2.109 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009164/0.4137, allocations: 251.8 kB / 391.6 MB, free: 1.863 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02174/0.4354, allocations: 10.43 MB / 402 MB, free: 6.977 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001086/0.4356, allocations: 31.67 kB / 402 MB, free: 6.945 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005318/0.4361, allocations: 119.8 kB / 402.2 MB, free: 6.828 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005647/0.4418, allocations: 2.55 MB / 404.7 MB, free: 4.277 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0233/0.4651, allocations: 9.483 MB / 414.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0581/0.5233, allocations: 32.46 MB / 446.7 MB, free: 9.453 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008119/0.5314, allocations: 3.354 MB / 450 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001684/0.5332, allocations: 1.318 MB / 451.3 MB, free: 4.324 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.307e-05/0.5332, allocations: 47.81 kB / 451.4 MB, free: 4.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=187): time 6.77e-06/0.5333, allocations: 0 / 451.4 MB, free: 4.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=193): time 0.02798/0.5613, allocations: 10.32 MB / 461.7 MB, free: 9.734 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.151e-05/0.5614, allocations: 94.42 kB / 461.8 MB, free: 9.621 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004701/0.5661, allocations: 2.737 MB / 464.5 MB, free: 6.863 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002065/0.5663, allocations: 49.7 kB / 464.6 MB, free: 6.809 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002401/0.5687, allocations: 2.73 MB / 467.3 MB, free: 4.039 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008433/0.5696, allocations: 0.7093 MB / 468 MB, free: 3.32 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/0.5699, allocations: 92 kB / 468.1 MB, free: 3.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004525/0.5703, allocations: 0.5215 MB / 468.6 MB, free: 2.699 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00315/0.5735, allocations: 1.54 MB / 470.2 MB, free: 1.152 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005704/0.5792, allocations: 4.424 MB / 474.6 MB, free: 11.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005029/0.5843, allocations: 2.624 MB / 477.2 MB, free: 8.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.668e-05/0.5844, allocations: 31.94 kB / 477.2 MB, free: 8.629 MB / 410.7 MB Notification: Performance of matching and sorting (n=654) (initialization): time 0.01278/0.5972, allocations: 5.805 MB / 483.1 MB, free: 2.816 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.5973, allocations: 48.62 kB / 483.1 MB, free: 2.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001423/0.5975, allocations: 104 kB / 483.2 MB, free: 2.668 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004557/0.5979, allocations: 196.8 kB / 483.4 MB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004356/0.6023, allocations: 1.088 MB / 484.5 MB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2275/0.8298, allocations: 1.696 MB / 486.2 MB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003579/0.8334, allocations: 218 kB / 486.4 MB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005371/0.834, allocations: 296.9 kB / 486.7 MB, free: 123.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (602): * Single equations (assignments): 595 * 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.003729/0.8377, allocations: 2.021 MB / 488.7 MB, free: 123.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004293/0.8382, allocations: 249.9 kB / 488.9 MB, free: 123.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004927/0.8431, allocations: 2.528 MB / 491.5 MB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.486e-05/0.8432, allocations: 22.39 kB / 491.5 MB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.761e-06/0.8432, allocations: 4.281 kB / 491.5 MB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.898e-05/0.8433, allocations: 8.906 kB / 491.5 MB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01543/0.8587, allocations: 8.146 MB / 499.7 MB, free: 119.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.372e-05/0.8588, allocations: 13.09 kB / 499.7 MB, free: 119.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/0.86, allocations: 251.1 kB / 499.9 MB, free: 119.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002098/0.8603, allocations: 60.47 kB / 500 MB, free: 119.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001351/0.8604, allocations: 46.64 kB / 0.4883 GB, free: 119.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/0.8618, allocations: 1.524 MB / 0.4898 GB, free: 118 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.662e-05/0.8618, allocations: 22.97 kB / 0.4898 GB, free: 118 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006218/0.868, allocations: 4.029 MB / 0.4937 GB, free: 116.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.8691, allocations: 0.5066 MB / 0.4942 GB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003718/0.8695, allocations: 48.34 kB / 0.4943 GB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.8706, allocations: 54.41 kB / 0.4943 GB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/0.8708, allocations: 122.5 kB / 0.4945 GB, free: 116.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/0.871, allocations: 66.41 kB / 0.4945 GB, free: 116.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002641/0.8736, allocations: 1.683 MB / 0.4962 GB, free: 115.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.039e-06/0.8736, allocations: 0 / 0.4962 GB, free: 115.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004694/0.8783, allocations: 0.818 MB / 0.497 GB, free: 115.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (141): * Single equations (assignments): 134 * 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.0006063/0.879, allocations: 196.6 kB / 0.4971 GB, free: 115.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006837/0.8858, allocations: 3.853 MB / 0.5009 GB, free: 114.1 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.8859, allocations: 3.812 kB / 0.5009 GB, free: 114.1 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002256/0.8882, allocations: 1.234 MB / 0.5021 GB, free: 113.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.89, allocations: 311.4 kB / 0.5024 GB, free: 113.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01763/0.9077, allocations: 10.87 MB / 0.513 GB, free: 103.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004601/0.9123, allocations: 3.278 MB / 0.5162 GB, free: 100.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008958/0.9132, allocations: 227.4 kB / 0.5164 GB, free: 100.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.772e-06/0.9133, allocations: 7.828 kB / 0.5165 GB, free: 100.1 MB / 410.7 MB Notification: Performance of Templates: time 0.08398/0.9973, allocations: 63.88 MB / 0.5788 GB, free: 36.16 MB / 410.7 MB