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/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.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.817/1.817, allocations: 209.3 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004335/0.0004339, allocations: 12 kB / 282.5 MB, free: 9.766 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08755/0.08801, allocations: 48.7 MB / 331.2 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.2393/0.3273, allocations: 21.28 MB / 352.5 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01388/0.3413, allocations: 5.85 MB / 358.3 MB, free: 1.289 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004829/0.3461, allocations: 101.5 kB / 358.4 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003455/0.3496, allocations: 1.035 MB / 359.5 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01149/0.3612, allocations: 3.193 MB / 362.7 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.3633, allocations: 451.5 kB / 363.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002561/0.3659, allocations: 0.9889 MB / 364.1 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003788/0.3698, allocations: 1.954 MB / 366 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009361/0.3707, allocations: 433.7 kB / 366.5 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001017/0.3718, allocations: 0.5741 MB / 367 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001846/0.372, allocations: 53 kB / 367.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00114/0.3732, allocations: 430.1 kB / 367.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007194/0.3739, allocations: 0.556 MB / 368.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004483/0.3744, allocations: 298.6 kB / 368.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002842/0.3772, allocations: 1.862 MB / 370.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.984e-06/0.3773, allocations: 0 / 370.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.743e-06/0.3773, allocations: 5.312 kB / 370.2 MB, free: 11.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.845e-05/0.3773, allocations: 4 kB / 370.2 MB, free: 11.15 MB / 298.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.003933/0.3813, allocations: 1.686 MB / 371.9 MB, free: 9.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.3813, allocations: 8.75 kB / 371.9 MB, free: 9.91 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/0.3829, allocations: 272.4 kB / 372.2 MB, free: 9.781 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002996/0.3859, allocations: 1.266 MB / 373.5 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.386, allocations: 94.45 kB / 373.5 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003033/0.3863, allocations: 120.2 kB / 373.7 MB, free: 8.902 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007494/0.3939, allocations: 2.915 MB / 376.6 MB, free: 7.094 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.715e-05/0.394, allocations: 17.73 kB / 376.6 MB, free: 7.082 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001855/0.3942, allocations: 54.69 kB / 376.6 MB, free: 7.043 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008112/0.395, allocations: 414.6 kB / 377.1 MB, free: 6.766 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006767/0.4018, allocations: 2.108 MB / 379.2 MB, free: 4.648 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01805/0.4199, allocations: 10.49 MB / 389.6 MB, free: 9.879 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004924/0.4248, allocations: 1.092 MB / 390.7 MB, free: 8.766 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005052/0.4299, allocations: 2.654 MB / 393.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/0.43, allocations: 38.55 kB / 393.4 MB, free: 5.871 MB / 314.7 MB Notification: Performance of pre-optimization done (n=44): time 3.962e-06/0.4301, allocations: 4 kB / 393.4 MB, free: 5.867 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.0152/0.4453, allocations: 3.551 MB / 397 MB, free: 2.199 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.203e-05/0.4454, allocations: 85.55 kB / 397.1 MB, free: 2.098 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/0.4478, allocations: 1.287 MB / 398.4 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.795e-05/0.4479, allocations: 29.7 kB / 398.4 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000901/0.4488, allocations: 0.9224 MB / 399.3 MB, free: 15.83 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002422/0.4491, allocations: 201.4 kB / 399.5 MB, free: 15.63 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.691e-05/0.4492, allocations: 28 kB / 399.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000244/0.4494, allocations: 374.8 kB / 399.9 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008938/0.4503, allocations: 383.7 kB / 400.3 MB, free: 14.85 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/0.452, allocations: 1.197 MB / 401.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.4534, allocations: 0.6457 MB / 402.1 MB, free: 12.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-05/0.4534, allocations: 8 kB / 402.1 MB, free: 12.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.003695/0.4571, allocations: 1.581 MB / 403.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.198e-05/0.4572, allocations: 20 kB / 403.7 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.214e-05/0.4573, allocations: 28 kB / 403.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002823/0.4575, allocations: 88.83 kB / 403.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/0.459, allocations: 331.4 kB / 404.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002299/0.4613, allocations: 1.733 MB / 405.9 MB, free: 8.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001387/0.4627, allocations: 64.05 kB / 406 MB, free: 8.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/0.4629, allocations: 88 kB / 406 MB, free: 8.531 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 131 * 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 (180): * Single equations (assignments): 179 * 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.001317/0.4642, allocations: 0.6243 MB / 406.7 MB, free: 7.898 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002621/0.4645, allocations: 110.6 kB / 406.8 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00167/0.4662, allocations: 0.6566 MB / 407.4 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.619e-05/0.4662, allocations: 8 kB / 407.4 MB, free: 7.109 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.448e-06/0.4662, allocations: 0 / 407.4 MB, free: 7.109 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.4663, allocations: 3.984 kB / 407.4 MB, free: 7.105 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004951/0.4712, allocations: 2.143 MB / 409.6 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.4713, allocations: 4.188 kB / 409.6 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004755/0.4718, allocations: 91.78 kB / 409.7 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002521/0.472, allocations: 65.25 kB / 409.7 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.4721, allocations: 20 kB / 409.8 MB, free: 4.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002395/0.4745, allocations: 1.76 MB / 411.5 MB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.532e-06/0.4745, allocations: 4 kB / 411.5 MB, free: 2.785 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002118/0.4767, allocations: 1.012 MB / 412.5 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005133/0.4772, allocations: 223.6 kB / 412.8 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001531/0.4774, allocations: 15.94 kB / 412.8 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/0.4779, allocations: 23.98 kB / 412.8 MB, free: 1.434 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.278e-05/0.478, allocations: 51.94 kB / 412.8 MB, free: 1.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.4781, allocations: 20 kB / 412.9 MB, free: 1.363 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001563/0.4797, allocations: 0.8296 MB / 413.7 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.61e-07/0.4797, allocations: 0 / 413.7 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001945/0.4816, allocations: 308 kB / 414 MB, free: 232 kB / 330.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.0003808/0.482, allocations: 143.2 kB / 414.1 MB, free: 80 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002415/0.4845, allocations: 1.019 MB / 415.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.327e-06/0.4845, allocations: 4 kB / 415.2 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007976/0.4853, allocations: 383 kB / 415.5 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001182/0.4865, allocations: 169.7 kB / 415.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006661/0.4932, allocations: 3.415 MB / 419.1 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001826/0.4951, allocations: 1.469 MB / 420.6 MB, free: 9.492 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/0.4954, allocations: 83.44 kB / 420.7 MB, free: 9.41 MB / 346.7 MB Notification: Performance of SimCode: time 1.6e-06/0.4954, allocations: 0 / 420.7 MB, free: 9.41 MB / 346.7 MB Notification: Performance of Templates: time 0.0393/0.5347, allocations: 21.29 MB / 442 MB, free: 4.109 MB / 362.7 MB