Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.374/2.374, allocations: 234.9 MB / 251.1 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007453/0.0007456, allocations: 12 kB / 314.9 MB, free: 9.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3591, allocations: 54.85 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1791/0.5383, allocations: 97.22 MB / 467 MB, free: 9.375 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/0.5386, allocations: 91.83 kB / 467.1 MB, free: 9.285 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4524/0.991, allocations: 33.78 MB / 0.4892 GB, free: 84.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.9911, allocations: 0 / 0.4892 GB, free: 84.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001267/0.9912, allocations: 35.59 kB / 0.4892 GB, free: 84.24 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.006078/0.9973, allocations: 1.791 MB / 0.4909 GB, free: 82.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.9974, allocations: 12.03 kB / 0.4909 GB, free: 82.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003397/1.001, allocations: 397.5 kB / 0.4913 GB, free: 82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0111/1.012, allocations: 2.93 MB / 0.4942 GB, free: 79.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/1.012, allocations: 106.6 kB / 0.4943 GB, free: 78.97 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005562/1.013, allocations: 142.9 kB / 0.4944 GB, free: 78.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009227/1.022, allocations: 2.915 MB / 0.4973 GB, free: 75.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.07e-05/1.022, allocations: 15.89 kB / 0.4973 GB, free: 75.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002523/1.022, allocations: 67.66 kB / 0.4973 GB, free: 75.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006778/1.023, allocations: 266 kB / 0.4976 GB, free: 75.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008208/1.031, allocations: 2.112 MB / 0.4997 GB, free: 73.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01819/1.049, allocations: 11.25 MB / 0.5107 GB, free: 61.74 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006158/1.056, allocations: 1.086 MB / 0.5117 GB, free: 60.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00503/1.061, allocations: 2.637 MB / 0.5143 GB, free: 57.83 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/1.061, allocations: 38.56 kB / 0.5143 GB, free: 57.78 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.807e-06/1.061, allocations: 0 / 0.5143 GB, free: 57.78 MB / 394.7 MB Notification: Performance of matching and sorting (n=50): time 0.01899/1.08, allocations: 3.516 MB / 0.5178 GB, free: 54.15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/1.08, allocations: 85.55 kB / 0.5178 GB, free: 54.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002136/1.082, allocations: 1.181 MB / 0.519 GB, free: 52.85 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/1.082, allocations: 29.7 kB / 0.519 GB, free: 52.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005957/1.083, allocations: 0.9336 MB / 0.5199 GB, free: 51.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/1.083, allocations: 197.2 kB / 0.5201 GB, free: 51.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.811e-05/1.083, allocations: 32 kB / 0.5202 GB, free: 51.66 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/1.083, allocations: 370.8 kB / 0.5205 GB, free: 51.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009665/1.084, allocations: 383.8 kB / 0.5209 GB, free: 50.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/1.086, allocations: 1.21 MB / 0.5221 GB, free: 49.29 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00147/1.087, allocations: 0.6458 MB / 0.5227 GB, free: 48.64 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.796e-05/1.087, allocations: 8 kB / 0.5227 GB, free: 48.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.003667/1.091, allocations: 1.6 MB / 0.5243 GB, free: 47.03 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.906e-05/1.091, allocations: 18.03 kB / 0.5243 GB, free: 47.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.571e-05/1.091, allocations: 35.98 kB / 0.5243 GB, free: 46.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003025/1.091, allocations: 92.81 kB / 0.5244 GB, free: 46.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002023/1.093, allocations: 343.8 kB / 0.5247 GB, free: 46.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001864/1.095, allocations: 1.724 MB / 0.5264 GB, free: 44.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/1.097, allocations: 72.05 kB / 0.5265 GB, free: 44.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001935/1.097, allocations: 79.94 kB / 0.5266 GB, free: 44.54 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 () * Number of clocked 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.001426/1.099, allocations: 0.6282 MB / 0.5272 GB, free: 43.9 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002763/1.099, allocations: 110.6 kB / 0.5273 GB, free: 43.79 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/1.101, allocations: 0.6644 MB / 0.5279 GB, free: 43.11 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/1.101, allocations: 4 kB / 0.5279 GB, free: 43.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/1.101, allocations: 0 / 0.5279 GB, free: 43.11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/1.101, allocations: 3.984 kB / 0.5279 GB, free: 43.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004981/1.106, allocations: 2.149 MB / 0.53 GB, free: 40.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/1.106, allocations: 11.95 kB / 0.53 GB, free: 40.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006656/1.107, allocations: 87.89 kB / 0.5301 GB, free: 40.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002758/1.107, allocations: 73.08 kB / 0.5302 GB, free: 40.69 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/1.107, allocations: 8 kB / 0.5302 GB, free: 40.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/1.109, allocations: 1.76 MB / 0.5319 GB, free: 38.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/1.109, allocations: 4 kB / 0.5319 GB, free: 38.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/1.111, allocations: 1.012 MB / 0.5329 GB, free: 37.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005468/1.112, allocations: 219.6 kB / 0.5331 GB, free: 37.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002123/1.112, allocations: 19.95 kB / 0.5331 GB, free: 37.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006782/1.113, allocations: 23.97 kB / 0.5332 GB, free: 37.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/1.113, allocations: 43.95 kB / 0.5332 GB, free: 37.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/1.113, allocations: 20 kB / 0.5332 GB, free: 37.37 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001522/1.114, allocations: 0.7514 MB / 0.534 GB, free: 36.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.114, allocations: 0 / 0.534 GB, free: 36.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002035/1.117, allocations: 292 kB / 0.5342 GB, free: 36.33 MB / 394.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.000342/1.117, allocations: 141 kB / 0.5344 GB, free: 36.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002517/1.119, allocations: 1.039 MB / 0.5354 GB, free: 35.13 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/1.119, allocations: 0 / 0.5354 GB, free: 35.13 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008031/1.12, allocations: 382.4 kB / 0.5357 GB, free: 34.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/1.122, allocations: 165.3 kB / 0.5359 GB, free: 34.58 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006925/1.129, allocations: 3.404 MB / 0.5392 GB, free: 31.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/1.13, allocations: 1.465 MB / 0.5407 GB, free: 29.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003593/1.131, allocations: 87.42 kB / 0.5407 GB, free: 29.52 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/1.131, allocations: 0 / 0.5407 GB, free: 29.52 MB / 394.7 MB Notification: Performance of Templates: time 0.03851/1.169, allocations: 20.92 MB / 0.5612 GB, free: 8.586 MB / 394.7 MB