Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit") Notification: Performance of loadModel(ModelicaTest): time 2.207/2.207, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004379/0.0004381, allocations: 12 kB / 314.3 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2805, allocations: 54.86 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.02964/0.3102, allocations: 21.3 MB / 390.5 MB, free: 5.348 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01485/0.3251, allocations: 5.881 MB / 396.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004059/0.3292, allocations: 103.8 kB / 396.5 MB, free: 15.35 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003403/0.3326, allocations: 1.034 MB / 397.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01122/0.3439, allocations: 3.195 MB / 400.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.3459, allocations: 443.2 kB / 401.1 MB, free: 10.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002337/0.3483, allocations: 0.9866 MB / 402.1 MB, free: 9.684 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003645/0.352, allocations: 1.946 MB / 404.1 MB, free: 7.699 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008712/0.3529, allocations: 430.5 kB / 404.5 MB, free: 7.277 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009714/0.3539, allocations: 0.5763 MB / 405.1 MB, free: 6.699 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001755/0.3541, allocations: 52 kB / 405.1 MB, free: 6.648 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.3551, allocations: 435.3 kB / 405.5 MB, free: 6.223 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006949/0.3558, allocations: 0.5572 MB / 406.1 MB, free: 5.664 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003891/0.3563, allocations: 304.8 kB / 406.4 MB, free: 5.359 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002728/0.359, allocations: 1.856 MB / 408.2 MB, free: 3.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.752e-06/0.359, allocations: 0 / 408.2 MB, free: 3.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.539e-06/0.359, allocations: 4 kB / 408.2 MB, free: 3.496 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.994e-05/0.3591, allocations: 0 / 408.2 MB, free: 3.496 MB / 330.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.003727/0.3628, allocations: 1.686 MB / 409.9 MB, free: 1.754 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.3629, allocations: 8.031 kB / 409.9 MB, free: 1.746 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001444/0.3643, allocations: 277.6 kB / 410.2 MB, free: 1.473 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002842/0.3672, allocations: 1.269 MB / 411.5 MB, free: 164 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.3673, allocations: 90.33 kB / 411.6 MB, free: 72 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002987/0.3677, allocations: 120 kB / 411.7 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007221/0.3749, allocations: 2.911 MB / 414.6 MB, free: 12.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.113e-05/0.375, allocations: 11.84 kB / 414.6 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.3752, allocations: 55.97 kB / 414.7 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008016/0.376, allocations: 417.9 kB / 415.1 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006505/0.3825, allocations: 2.104 MB / 417.2 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01791/0.4005, allocations: 10.49 MB / 427.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004806/0.4053, allocations: 1.096 MB / 428.8 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00493/0.4103, allocations: 2.657 MB / 431.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/0.4104, allocations: 34.56 kB / 431.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 4.42e-06/0.4104, allocations: 0 / 431.5 MB, free: 11.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=50): time 0.01459/0.425, allocations: 3.551 MB / 435 MB, free: 7.809 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.122e-05/0.4251, allocations: 85.55 kB / 435.1 MB, free: 7.707 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/0.4274, allocations: 1.294 MB / 436.4 MB, free: 6.398 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.29e-05/0.4275, allocations: 29.7 kB / 436.4 MB, free: 6.363 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008593/0.4284, allocations: 0.9263 MB / 437.3 MB, free: 5.426 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002373/0.4286, allocations: 193.5 kB / 437.5 MB, free: 5.234 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.631e-05/0.4287, allocations: 28 kB / 437.6 MB, free: 5.207 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002429/0.429, allocations: 374.7 kB / 437.9 MB, free: 4.832 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008633/0.4299, allocations: 379.8 kB / 438.3 MB, free: 4.461 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001593/0.4315, allocations: 1.205 MB / 439.5 MB, free: 2.848 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.4328, allocations: 0.6458 MB / 440.1 MB, free: 2.203 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-05/0.4329, allocations: 8 kB / 440.1 MB, free: 2.195 MB / 362.7 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.003585/0.4365, allocations: 1.569 MB / 441.7 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.4365, allocations: 20 kB / 441.7 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.384e-05/0.4366, allocations: 36.77 kB / 441.8 MB, free: 0.5625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003061/0.4369, allocations: 96.83 kB / 441.9 MB, free: 476 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001335/0.4383, allocations: 335.3 kB / 442.2 MB, free: 140 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/0.4405, allocations: 1.725 MB / 443.9 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.4418, allocations: 63.98 kB / 444 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/0.442, allocations: 84 kB / 444.1 MB, free: 14.13 MB / 378.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.001238/0.4433, allocations: 0.6321 MB / 444.7 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000229/0.4435, allocations: 110.6 kB / 444.8 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.4451, allocations: 0.6527 MB / 445.5 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.4452, allocations: 11.95 kB / 445.5 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.046e-06/0.4452, allocations: 0 / 445.5 MB, free: 12.7 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.4452, allocations: 3.984 kB / 445.5 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004656/0.4499, allocations: 2.131 MB / 447.6 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.4499, allocations: 8.062 kB / 447.6 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004577/0.4504, allocations: 79.89 kB / 447.7 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002512/0.4507, allocations: 60.83 kB / 447.7 MB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.532e-05/0.4507, allocations: 16 kB / 447.8 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002355/0.4531, allocations: 1.768 MB / 449.5 MB, free: 8.398 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.557e-06/0.4531, allocations: 7.953 kB / 449.5 MB, free: 8.391 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.4552, allocations: 1.013 MB / 450.6 MB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005133/0.4557, allocations: 223.6 kB / 450.8 MB, free: 7.082 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001444/0.4559, allocations: 8 kB / 450.8 MB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005354/0.4564, allocations: 28.05 kB / 450.8 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.551e-05/0.4566, allocations: 47.84 kB / 450.9 MB, free: 7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.39e-05/0.4566, allocations: 20 kB / 450.9 MB, free: 6.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001544/0.4582, allocations: 0.8335 MB / 451.7 MB, free: 6.141 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.63e-07/0.4582, allocations: 4 kB / 451.7 MB, free: 6.137 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001952/0.4602, allocations: 304 kB / 452 MB, free: 5.84 MB / 378.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.0003872/0.4606, allocations: 147.2 kB / 452.2 MB, free: 5.684 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002396/0.463, allocations: 1.034 MB / 453.2 MB, free: 4.641 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.738e-06/0.463, allocations: 4 kB / 453.2 MB, free: 4.637 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007819/0.4638, allocations: 375.8 kB / 453.6 MB, free: 4.258 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.465, allocations: 169.9 kB / 453.7 MB, free: 4.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006623/0.4716, allocations: 3.414 MB / 457.1 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001808/0.4735, allocations: 1.461 MB / 458.6 MB, free: 15.11 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/0.4738, allocations: 83.42 kB / 458.7 MB, free: 15.02 MB / 394.7 MB Notification: Performance of SimCode: time 1.634e-06/0.4738, allocations: 0 / 458.7 MB, free: 15.02 MB / 394.7 MB Notification: Performance of Templates: time 0.2801/0.7539, allocations: 21.31 MB / 480 MB, free: 89.53 MB / 394.7 MB