Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows.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) Running command: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadModel(Modelica): time 1.859/1.859, allocations: 194.8 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003542/0.0003544, allocations: 16 kB / 263.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07911/0.07948, allocations: 44.51 MB / 308.4 MB, free: 1.023 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002595/0.08212, allocations: 1.759 MB / 310.1 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004283/0.08258, allocations: 199.3 kB / 310.3 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.504e-05/0.0827, allocations: 4 kB / 310.3 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.99e-05/0.08278, allocations: 31.77 kB / 310.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001726/0.08297, allocations: 63.8 kB / 310.4 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.08314, allocations: 39.95 kB / 310.4 MB, free: 14.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.0834, allocations: 159.7 kB / 310.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.08361, allocations: 77.95 kB / 310.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.08374, allocations: 75.77 kB / 310.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.0839, allocations: 87.61 kB / 310.8 MB, free: 14.53 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.799e-05/0.08395, allocations: 12 kB / 310.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.08e-05/0.084, allocations: 12 kB / 310.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.456e-05/0.08406, allocations: 31.86 kB / 310.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.224e-05/0.08415, allocations: 65.58 kB / 311 MB, free: 14.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002514/0.08442, allocations: 183.7 kB / 311.1 MB, free: 14.22 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.663e-06/0.08444, allocations: 8 kB / 311.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.136e-06/0.08445, allocations: 0 / 311.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.854e-06/0.08447, allocations: 0 / 311.1 MB, free: 14.21 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007566/0.08523, allocations: 483.1 kB / 311.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.08529, allocations: 12.03 kB / 311.6 MB, free: 13.68 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.969e-05/0.08537, allocations: 27.66 kB / 311.7 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.08566, allocations: 222.6 kB / 311.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.0857, allocations: 16.56 kB / 311.9 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.821e-05/0.08577, allocations: 24 kB / 311.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.08626, allocations: 228.3 kB / 312.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.08629, allocations: 0 / 312.1 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.387e-05/0.08634, allocations: 16 kB / 312.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.08636, allocations: 11.92 kB / 312.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.0867, allocations: 123.9 kB / 312.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.0882, allocations: 0.8637 MB / 313.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003226/0.08855, allocations: 159.7 kB / 313.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.08858, allocations: 4 kB / 313.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.08862, allocations: 34.5 kB / 313.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 3.05e-06/0.08864, allocations: 0 / 313.3 MB, free: 11.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005143/0.08916, allocations: 165.7 kB / 313.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.916e-05/0.08925, allocations: 106.8 kB / 313.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.08952, allocations: 194.2 kB / 313.8 MB, free: 11.32 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.08956, allocations: 33.7 kB / 313.8 MB, free: 11.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.08973, allocations: 222.2 kB / 314 MB, free: 11.06 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.215e-05/0.08982, allocations: 67.09 kB / 314.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.375e-05/0.08984, allocations: 4 kB / 314.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.09003, allocations: 322.8 kB / 314.4 MB, free: 10.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.09016, allocations: 44.55 kB / 314.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.0904, allocations: 154.7 kB / 314.6 MB, free: 10.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.09059, allocations: 80.48 kB / 314.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.229e-06/0.09061, allocations: 3.984 kB / 314.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000515/0.09113, allocations: 237.1 kB / 314.9 MB, free: 10.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.09117, allocations: 8 kB / 314.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.09119, allocations: 4 kB / 314.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.09122, allocations: 4 kB / 315 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.09153, allocations: 60.34 kB / 315 MB, free: 10.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.09156, allocations: 15.94 kB / 315 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.09176, allocations: 27.69 kB / 315.1 MB, free: 9.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.656e-05/0.0918, allocations: 12 kB / 315.1 MB, free: 9.969 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (33): * Single equations (assignments): 33 * 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.0001726/0.09198, allocations: 141.8 kB / 315.2 MB, free: 9.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.0921, allocations: 19.95 kB / 315.2 MB, free: 9.801 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.068e-05/0.09217, allocations: 29.33 kB / 315.3 MB, free: 9.773 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.787e-06/0.09219, allocations: 4 kB / 315.3 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.439e-06/0.09221, allocations: 0 / 315.3 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.09223, allocations: 11.98 kB / 315.3 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007665/0.093, allocations: 416.8 kB / 315.7 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.09303, allocations: 0 / 315.7 MB, free: 9.285 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002624/0.0933, allocations: 43.92 kB / 315.7 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.352e-06/0.09332, allocations: 0 / 315.7 MB, free: 9.242 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.92e-05/0.09335, allocations: 4 kB / 315.7 MB, free: 9.238 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.125e-06/0.09336, allocations: 3.984 kB / 315.7 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.681e-06/0.09338, allocations: 8.094 kB / 315.7 MB, free: 9.227 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005309/0.09392, allocations: 375.4 kB / 316.1 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.873e-05/0.09402, allocations: 96.86 kB / 316.2 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.148e-05/0.09408, allocations: 8 kB / 316.2 MB, free: 8.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.09428, allocations: 8 kB / 316.2 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.09432, allocations: 12.03 kB / 316.2 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.09434, allocations: 4 kB / 316.2 MB, free: 8.688 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001677/0.09452, allocations: 139.2 kB / 316.4 MB, free: 8.551 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.09453, allocations: 0 / 316.4 MB, free: 8.551 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005062/0.09505, allocations: 51.91 kB / 316.4 MB, free: 8.5 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.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 (17): * Single equations (assignments): 17 * 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.000133/0.0952, allocations: 103.2 kB / 316.5 MB, free: 8.391 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003447/0.09555, allocations: 135.8 kB / 316.6 MB, free: 8.258 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.09557, allocations: 0 / 316.6 MB, free: 8.258 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.0957, allocations: 55.91 kB / 316.7 MB, free: 8.203 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004051/0.09612, allocations: 37.06 kB / 316.7 MB, free: 8.168 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.09752, allocations: 0.7475 MB / 317.5 MB, free: 7.371 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004583/0.098, allocations: 0.7401 MB / 318.2 MB, free: 6.602 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.292e-05/0.09809, allocations: 15.44 kB / 318.2 MB, free: 6.586 MB / 266.7 MB Notification: Performance of SimCode: time 1.736e-06/0.09811, allocations: 4 kB / 318.2 MB, free: 6.582 MB / 266.7 MB Notification: Performance of Templates: time 0.005048/0.1032, allocations: 2.212 MB / 320.5 MB, free: 4.367 MB / 266.7 MB