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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.156/2.156, allocations: 235.1 MB / 243 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.933e-05/1.94e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2744, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1446/0.419, allocations: 96.47 MB / 454.5 MB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.4193, allocations: 75.95 kB / 454.6 MB, free: 14.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3631/0.7825, allocations: 32.59 MB / 487.2 MB, free: 92.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.04e-06/0.7825, allocations: 0 / 487.2 MB, free: 92.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.814e-05/0.7826, allocations: 38.22 kB / 487.2 MB, free: 92.34 MB / 394.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.003484/0.7861, allocations: 1.648 MB / 488.9 MB, free: 91.15 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.7862, allocations: 11.62 kB / 488.9 MB, free: 91.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00237/0.7885, allocations: 399.8 kB / 489.3 MB, free: 90.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008399/0.797, allocations: 2.897 MB / 492.2 MB, free: 88.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.379e-05/0.7971, allocations: 48 kB / 492.2 MB, free: 88.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003461/0.7975, allocations: 87.98 kB / 492.3 MB, free: 88.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003442/0.8009, allocations: 1.705 MB / 494 MB, free: 86.37 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004836/0.8058, allocations: 2.435 MB / 496.4 MB, free: 83.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.453e-05/0.8059, allocations: 19.78 kB / 496.5 MB, free: 83.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001838/0.8061, allocations: 8 kB / 496.5 MB, free: 83.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004808/0.8066, allocations: 258 kB / 496.7 MB, free: 83.43 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/0.8205, allocations: 11.62 MB / 0.4964 GB, free: 71.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000836/0.8214, allocations: 498.3 kB / 0.4969 GB, free: 70.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004798/0.8219, allocations: 302.2 kB / 0.4972 GB, free: 70.63 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/0.8223, allocations: 339.1 kB / 0.4975 GB, free: 70.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.8223, allocations: 38.56 kB / 0.4975 GB, free: 70.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 3.807e-06/0.8223, allocations: 3.938 kB / 0.4975 GB, free: 70.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=52): time 0.009006/0.8313, allocations: 2.879 MB / 0.5004 GB, free: 67.22 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.8314, allocations: 111.2 kB / 0.5005 GB, free: 67.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/0.8327, allocations: 0.9216 MB / 0.5014 GB, free: 66.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.8328, allocations: 25.7 kB / 0.5014 GB, free: 66.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004612/0.8333, allocations: 0.9418 MB / 0.5023 GB, free: 65.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.8334, allocations: 193.4 kB / 0.5025 GB, free: 64.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.8335, allocations: 0 / 0.5025 GB, free: 64.97 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.8336, allocations: 370.7 kB / 0.5028 GB, free: 64.6 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005666/0.8342, allocations: 347.9 kB / 0.5032 GB, free: 64.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009062/0.8351, allocations: 1.152 MB / 0.5043 GB, free: 62.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008976/0.836, allocations: 0.6066 MB / 0.5049 GB, free: 62.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.705e-05/0.8361, allocations: 8 kB / 0.5049 GB, free: 62.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.002456/0.8385, allocations: 1.362 MB / 0.5062 GB, free: 60.71 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.406e-05/0.8386, allocations: 19.95 kB / 0.5063 GB, free: 60.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.214e-05/0.8386, allocations: 28 kB / 0.5063 GB, free: 60.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002418/0.8389, allocations: 97.64 kB / 0.5064 GB, free: 60.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/0.8402, allocations: 343.4 kB / 0.5067 GB, free: 60.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.8416, allocations: 1.641 MB / 0.5083 GB, free: 58.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.843, allocations: 35.98 kB / 0.5083 GB, free: 58.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/0.8432, allocations: 83.98 kB / 0.5084 GB, free: 58.36 MB / 394.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.0002579/0.8435, allocations: 200.3 kB / 0.5086 GB, free: 58.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.8437, allocations: 106.6 kB / 0.5087 GB, free: 58.06 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.845, allocations: 0.609 MB / 0.5093 GB, free: 57.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.238e-06/0.845, allocations: 4 kB / 0.5093 GB, free: 57.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.8451, allocations: 7.953 kB / 0.5093 GB, free: 57.42 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.56e-06/0.8451, allocations: 32 / 0.5093 GB, free: 57.42 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003656/0.8487, allocations: 1.858 MB / 0.5111 GB, free: 55.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.693e-06/0.8488, allocations: 4 kB / 0.5111 GB, free: 55.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/0.8493, allocations: 91.88 kB / 0.5112 GB, free: 55.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002423/0.8496, allocations: 64.81 kB / 0.5113 GB, free: 55.31 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/0.8497, allocations: 4 kB / 0.5113 GB, free: 55.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.8512, allocations: 1.67 MB / 0.5129 GB, free: 53.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.186e-06/0.8513, allocations: 4 kB / 0.5129 GB, free: 53.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.8529, allocations: 1.148 MB / 0.514 GB, free: 52.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000434/0.8533, allocations: 203.8 kB / 0.5142 GB, free: 52.01 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/0.8535, allocations: 15.92 kB / 0.5143 GB, free: 51.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005469/0.8541, allocations: 19.92 kB / 0.5143 GB, free: 51.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.923e-05/0.8542, allocations: 47.91 kB / 0.5143 GB, free: 51.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/0.8542, allocations: 16 kB / 0.5143 GB, free: 51.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000989/0.8552, allocations: 0.6362 MB / 0.515 GB, free: 51.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.8552, allocations: 0 / 0.515 GB, free: 51.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001814/0.8571, allocations: 259.9 kB / 0.5152 GB, free: 51.01 MB / 394.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.0002489/0.8573, allocations: 130.8 kB / 0.5153 GB, free: 50.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001787/0.8591, allocations: 0.9283 MB / 0.5162 GB, free: 49.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.849e-06/0.8592, allocations: 4 kB / 0.5162 GB, free: 49.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005835/0.8598, allocations: 347 kB / 0.5166 GB, free: 49.6 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.8608, allocations: 136.3 kB / 0.5167 GB, free: 49.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004621/0.8655, allocations: 2.217 MB / 0.5189 GB, free: 47.15 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.8669, allocations: 1.457 MB / 0.5203 GB, free: 45.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/0.8672, allocations: 83.44 kB / 0.5204 GB, free: 45.58 MB / 394.7 MB Notification: Performance of SimCode: time 2.402e-06/0.8672, allocations: 4 kB / 0.5204 GB, free: 45.58 MB / 394.7 MB Notification: Performance of Templates: time 0.02903/0.8962, allocations: 20.28 MB / 0.5402 GB, free: 25.29 MB / 394.7 MB