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.PrismaticInit.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadModel(ModelicaTest): time 1.981/1.981, allocations: 209.4 MB / 217.3 MB, free: 4.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.069e-05/2.08e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.26, allocations: 48.68 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.3965, allocations: 89.77 MB / 409.8 MB, free: 6.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/0.3968, allocations: 71.95 kB / 409.9 MB, free: 6.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1299/0.5267, allocations: 32.59 MB / 442.4 MB, free: 5.844 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5268, allocations: 0 / 442.4 MB, free: 5.844 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.445e-05/0.5269, allocations: 32 kB / 442.5 MB, free: 5.812 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004553/0.5315, allocations: 1.65 MB / 444.1 MB, free: 4.113 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.5315, allocations: 16.03 kB / 444.1 MB, free: 4.098 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002692/0.5342, allocations: 397.8 kB / 444.5 MB, free: 3.707 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009755/0.544, allocations: 2.9 MB / 447.4 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.385e-05/0.5442, allocations: 48 kB / 447.5 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004149/0.5446, allocations: 83.91 kB / 447.6 MB, free: 0.6289 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2217/0.7664, allocations: 1.704 MB / 449.3 MB, free: 95.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004425/0.7708, allocations: 2.435 MB / 451.7 MB, free: 94.88 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.444e-05/0.7709, allocations: 13.38 kB / 451.7 MB, free: 94.88 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001777/0.7711, allocations: 6.406 kB / 451.7 MB, free: 94.88 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005275/0.7716, allocations: 266.7 kB / 452 MB, free: 94.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01428/0.7859, allocations: 11.62 MB / 463.6 MB, free: 88.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007911/0.7868, allocations: 494.9 kB / 464.1 MB, free: 88.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004905/0.7873, allocations: 304.8 kB / 464.4 MB, free: 88.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003466/0.7877, allocations: 333.2 kB / 464.7 MB, free: 88.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.7877, allocations: 40 kB / 464.7 MB, free: 87.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 3.907e-06/0.7877, allocations: 0 / 464.7 MB, free: 87.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=52): time 0.008959/0.7967, allocations: 2.884 MB / 467.6 MB, free: 87.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.7967, allocations: 107.2 kB / 467.7 MB, free: 86.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/0.7981, allocations: 0.9126 MB / 468.6 MB, free: 86.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.7981, allocations: 31.28 kB / 468.7 MB, free: 86.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004521/0.7986, allocations: 0.9358 MB / 469.6 MB, free: 85.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001415/0.7988, allocations: 203.5 kB / 469.8 MB, free: 85.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.7988, allocations: 0 / 469.8 MB, free: 85.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.799, allocations: 370.6 kB / 470.2 MB, free: 85.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006055/0.7996, allocations: 346.4 kB / 470.5 MB, free: 85.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000939/0.8005, allocations: 1.157 MB / 471.7 MB, free: 83.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009482/0.8015, allocations: 0.6124 MB / 472.3 MB, free: 83.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-05/0.8015, allocations: 7.781 kB / 472.3 MB, free: 83.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.002679/0.8042, allocations: 1.359 MB / 473.6 MB, free: 83.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.75e-05/0.8043, allocations: 18.72 kB / 473.7 MB, free: 83.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.193e-05/0.8043, allocations: 34.09 kB / 473.7 MB, free: 83.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002463/0.8046, allocations: 97.77 kB / 473.8 MB, free: 83.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.8059, allocations: 340.8 kB / 474.1 MB, free: 83.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.8073, allocations: 1.641 MB / 475.8 MB, free: 81.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.8085, allocations: 40.66 kB / 475.8 MB, free: 81.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.8087, allocations: 89.56 kB / 475.9 MB, free: 81.89 MB / 378.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.0002591/0.809, allocations: 184.8 kB / 476.1 MB, free: 81.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001907/0.8092, allocations: 110.2 kB / 476.2 MB, free: 81.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.8105, allocations: 0.6164 MB / 476.8 MB, free: 81.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.196e-06/0.8105, allocations: 11.7 kB / 476.8 MB, free: 81.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.487e-06/0.8105, allocations: 2.344 kB / 476.8 MB, free: 81.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.8105, allocations: 3.609 kB / 476.8 MB, free: 81.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003444/0.814, allocations: 1.846 MB / 478.7 MB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.814, allocations: 6.25 kB / 478.7 MB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000471/0.8145, allocations: 90.56 kB / 478.8 MB, free: 80.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002243/0.8147, allocations: 65.88 kB / 478.8 MB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.8148, allocations: 9.75 kB / 478.8 MB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/0.8164, allocations: 1.661 MB / 480.5 MB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.634e-06/0.8164, allocations: 15.66 kB / 480.5 MB, free: 78.94 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001521/0.8179, allocations: 1.143 MB / 481.6 MB, free: 78.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003949/0.8183, allocations: 206.8 kB / 481.8 MB, free: 77.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.8185, allocations: 7.719 kB / 481.9 MB, free: 77.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005497/0.8191, allocations: 17.7 kB / 481.9 MB, free: 77.94 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.172e-05/0.8192, allocations: 39.67 kB / 481.9 MB, free: 77.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.8192, allocations: 21.67 kB / 481.9 MB, free: 77.93 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00103/0.8203, allocations: 0.644 MB / 482.6 MB, free: 77.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.081e-06/0.8203, allocations: 0 / 482.6 MB, free: 77.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001965/0.8223, allocations: 257.4 kB / 482.8 MB, free: 77.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (48): * Single equations (assignments): 47 * 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.000262/0.8225, allocations: 124.5 kB / 482.9 MB, free: 77.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001765/0.8243, allocations: 0.9235 MB / 483.9 MB, free: 77.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.92e-06/0.8244, allocations: 3.375 kB / 483.9 MB, free: 77.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005561/0.8249, allocations: 361.5 kB / 484.2 MB, free: 76.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.826, allocations: 135.8 kB / 484.4 MB, free: 76.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00469/0.8308, allocations: 2.223 MB / 486.6 MB, free: 75.84 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/0.8322, allocations: 1.461 MB / 488 MB, free: 75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002874/0.8325, allocations: 79.25 kB / 488.1 MB, free: 75 MB / 378.7 MB Notification: Performance of SimCode: time 2.477e-06/0.8325, allocations: 0 / 488.1 MB, free: 75 MB / 378.7 MB Notification: Performance of Templates: time 0.02967/0.8622, allocations: 20.28 MB / 0.4965 GB, free: 60.57 MB / 378.7 MB