Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.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) Running command: translateModel(Modelica.Mechanics.Translational.Examples.InitialConditions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|m1.s|m1.v|m3.s|m3.v|sd1.s_rel|sd1.v_rel|sd2.s_rel|sd2.v_rel",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions") Notification: Performance of loadModel(Modelica): time 2.233/2.233, allocations: 194.8 MB / 211.7 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003609/0.0003611, allocations: 11.94 kB / 264.5 MB, free: 12.94 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09611/0.0965, allocations: 44.5 MB / 309 MB, free: 380 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4272/0.5238, allocations: 71.77 MB / 380.8 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.5241, allocations: 71 kB / 380.9 MB, free: 15.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01832/0.5424, allocations: 4.437 MB / 385.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5425, allocations: 0 / 385.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.115e-05/0.5425, allocations: 9.25 kB / 385.3 MB, free: 14.82 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.000921/0.5434, allocations: 0.5171 MB / 385.8 MB, free: 14.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.5435, allocations: 8.562 kB / 385.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.49e-05/0.5436, allocations: 35.41 kB / 385.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.5439, allocations: 236 kB / 386.1 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.5439, allocations: 24.5 kB / 386.1 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.469e-05/0.544, allocations: 25.47 kB / 386.2 MB, free: 14.15 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006404/0.5447, allocations: 249.3 kB / 386.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.5447, allocations: 5.469 kB / 386.4 MB, free: 14.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.722e-05/0.5448, allocations: 15.84 kB / 386.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.289e-05/0.5448, allocations: 6.438 kB / 386.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004714/0.5453, allocations: 176 kB / 386.6 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.5468, allocations: 0.7527 MB / 387.4 MB, free: 13.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006077/0.5475, allocations: 272.5 kB / 387.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.512e-05/0.5475, allocations: 4.281 kB / 387.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/0.5475, allocations: 37.73 kB / 387.7 MB, free: 13.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 4.388e-06/0.5476, allocations: 3.984 kB / 387.7 MB, free: 13.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=48): time 0.004003/0.5516, allocations: 1.713 MB / 389.4 MB, free: 12.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.5517, allocations: 83.55 kB / 389.5 MB, free: 12.53 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002323/0.5519, allocations: 176.4 kB / 389.6 MB, free: 12.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.552, allocations: 31.42 kB / 389.7 MB, free: 12.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.132e-05/0.5521, allocations: 148.7 kB / 389.8 MB, free: 12.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001596/0.5522, allocations: 168.2 kB / 390 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.5523, allocations: 11.81 kB / 390 MB, free: 12.18 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.5524, allocations: 344.9 kB / 390.3 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002945/0.5527, allocations: 103.5 kB / 390.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000338/0.553, allocations: 149.7 kB / 390.6 MB, free: 11.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.5534, allocations: 129.5 kB / 390.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.5534, allocations: 0 / 390.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008298/0.5542, allocations: 367.4 kB / 391.1 MB, free: 11.75 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.5543, allocations: 3.875 kB / 391.1 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.5543, allocations: 3.938 kB / 391.1 MB, free: 11.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.5543, allocations: 7.812 kB / 391.1 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006969/0.555, allocations: 100.3 kB / 391.2 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.5551, allocations: 4.438 kB / 391.2 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.5553, allocations: 7.25 kB / 391.2 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.5554, allocations: 15.06 kB / 391.2 MB, free: 11.74 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002134/0.5556, allocations: 160 kB / 391.4 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.402e-05/0.5557, allocations: 27.41 kB / 391.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001147/0.5558, allocations: 40.86 kB / 391.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.5558, allocations: 7.875 kB / 391.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.5559, allocations: 0 / 391.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/0.5559, allocations: 2.25 kB / 391.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.5576, allocations: 0.9563 MB / 392.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.483e-06/0.5577, allocations: 3.75 kB / 392.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007777/0.5584, allocations: 100.4 kB / 392.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.884e-06/0.5585, allocations: 0 / 392.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.5585, allocations: 10.34 kB / 392.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.974e-06/0.5585, allocations: 7.938 kB / 392.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.5585, allocations: 5.578 kB / 392.5 MB, free: 11.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009751/0.5595, allocations: 0.6323 MB / 393.1 MB, free: 10.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.2e-05/0.5596, allocations: 105.8 kB / 393.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.407e-05/0.5597, allocations: 8.109 kB / 393.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002731/0.56, allocations: 14.75 kB / 393.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.5601, allocations: 29.61 kB / 393.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.5601, allocations: 11.56 kB / 393.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.5602, allocations: 130.6 kB / 393.4 MB, free: 10.69 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.5602, allocations: 3.938 kB / 393.4 MB, free: 10.69 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005736/0.5608, allocations: 79.28 kB / 393.5 MB, free: 10.69 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * 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 (48): * Single equations (assignments): 48 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001532/0.561, allocations: 115 kB / 393.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006828/0.5617, allocations: 287.2 kB / 393.9 MB, free: 10.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5617, allocations: 0 / 393.9 MB, free: 10.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002861/0.562, allocations: 161 kB / 394.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000698/0.5627, allocations: 51.86 kB / 394.1 MB, free: 10.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.5649, allocations: 1.221 MB / 395.3 MB, free: 9.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.5652, allocations: 0.7839 MB / 396.1 MB, free: 9.047 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002489/0.5654, allocations: 34.84 kB / 396.2 MB, free: 9.039 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.5656, allocations: 26.88 kB / 396.2 MB, free: 9.031 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5656, allocations: 0 / 396.2 MB, free: 9.031 MB / 314.7 MB Notification: Performance of Templates: time 0.008839/0.5744, allocations: 2.758 MB / 398.9 MB, free: 8.828 MB / 314.7 MB