Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1_cpp_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadModel(Modelica): time 1.568/1.568, allocations: 171.2 MB / 186.7 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003523, allocations: 8 kB / 233.2 MB, free: 3.066 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0682/0.06858, allocations: 38.78 MB / 271.9 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.002566/0.07119, allocations: 1.747 MB / 273.7 MB, free: 10.44 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004394/0.07166, allocations: 199.3 kB / 273.9 MB, free: 10.24 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.637e-05/0.07177, allocations: 4 kB / 273.9 MB, free: 10.24 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 6.556e-05/0.07185, allocations: 27.77 kB / 273.9 MB, free: 10.21 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.07204, allocations: 59.86 kB / 274 MB, free: 10.15 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001572/0.07221, allocations: 43.94 kB / 274 MB, free: 10.11 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.07247, allocations: 163.7 kB / 274.2 MB, free: 9.949 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/0.07268, allocations: 85.92 kB / 274.2 MB, free: 9.863 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.07281, allocations: 75.72 kB / 274.3 MB, free: 9.789 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.07297, allocations: 83.62 kB / 274.4 MB, free: 9.707 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.07302, allocations: 16 kB / 274.4 MB, free: 9.691 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.195e-05/0.07308, allocations: 12 kB / 274.4 MB, free: 9.68 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.399e-05/0.07313, allocations: 35.84 kB / 274.5 MB, free: 9.645 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.154e-05/0.07322, allocations: 65.58 kB / 274.5 MB, free: 9.574 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.07348, allocations: 187.7 kB / 274.7 MB, free: 9.391 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.763e-06/0.0735, allocations: 0 / 274.7 MB, free: 9.391 MB / 234.7 MB Notification: Performance of FrontEnd: time 4.394e-06/0.07351, allocations: 0 / 274.7 MB, free: 9.391 MB / 234.7 MB Notification: Performance of Transformations before backend: time 6.254e-06/0.07353, allocations: 3.938 kB / 274.7 MB, free: 9.387 MB / 234.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.0007521/0.07429, allocations: 487.1 kB / 275.2 MB, free: 8.863 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.07433, allocations: 8.031 kB / 275.2 MB, free: 8.855 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.366e-05/0.07441, allocations: 19.81 kB / 275.2 MB, free: 8.836 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002748/0.07469, allocations: 214.8 kB / 275.4 MB, free: 8.586 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.07474, allocations: 20.52 kB / 275.4 MB, free: 8.562 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.641e-05/0.07482, allocations: 24 kB / 275.5 MB, free: 8.539 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.07532, allocations: 240.2 kB / 275.7 MB, free: 8.285 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.07537, allocations: 0 / 275.7 MB, free: 8.285 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.2e-05/0.07541, allocations: 12 kB / 275.7 MB, free: 8.273 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.07543, allocations: 4 kB / 275.7 MB, free: 8.27 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.07578, allocations: 127.9 kB / 275.8 MB, free: 8.145 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001474/0.07726, allocations: 0.8714 MB / 276.7 MB, free: 7.211 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.07759, allocations: 151.7 kB / 276.9 MB, free: 7.035 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.07762, allocations: 4 kB / 276.9 MB, free: 7.031 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.07767, allocations: 38.83 kB / 276.9 MB, free: 6.984 MB / 234.7 MB Notification: Performance of pre-optimization done (n=17): time 2.361e-06/0.07768, allocations: 0 / 276.9 MB, free: 6.984 MB / 234.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004994/0.07819, allocations: 165.4 kB / 277.1 MB, free: 6.816 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.962e-05/0.07828, allocations: 110.8 kB / 277.2 MB, free: 6.684 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.07854, allocations: 190.4 kB / 277.4 MB, free: 6.488 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.07858, allocations: 33.7 kB / 277.4 MB, free: 6.449 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001567/0.07875, allocations: 222.2 kB / 277.6 MB, free: 6.23 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.224e-05/0.07884, allocations: 67.09 kB / 277.7 MB, free: 6.164 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.452e-05/0.07887, allocations: 8 kB / 277.7 MB, free: 6.156 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.07904, allocations: 322.8 kB / 278 MB, free: 5.832 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.07918, allocations: 44.55 kB / 278 MB, free: 5.785 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.07943, allocations: 158.7 kB / 278.2 MB, free: 5.582 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.07962, allocations: 71.94 kB / 278.3 MB, free: 5.512 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.881e-06/0.07964, allocations: 0 / 278.3 MB, free: 5.512 MB / 234.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005216/0.08017, allocations: 238.3 kB / 278.5 MB, free: 5.273 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.0802, allocations: 8 kB / 278.5 MB, free: 5.266 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.08022, allocations: 8.031 kB / 278.5 MB, free: 5.258 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2e-05/0.08025, allocations: 4 kB / 278.5 MB, free: 5.254 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/0.08055, allocations: 59.92 kB / 278.6 MB, free: 5.195 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.848e-05/0.08058, allocations: 15.97 kB / 278.6 MB, free: 5.18 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.08076, allocations: 27.69 kB / 278.6 MB, free: 5.152 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.0808, allocations: 12 kB / 278.6 MB, free: 5.141 MB / 234.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.0001675/0.08098, allocations: 141.7 kB / 278.8 MB, free: 4.992 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.0811, allocations: 23.75 kB / 278.8 MB, free: 4.969 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.999e-05/0.08117, allocations: 29.33 kB / 278.8 MB, free: 4.945 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.591e-06/0.0812, allocations: 8.141 kB / 278.8 MB, free: 4.938 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.794e-06/0.08121, allocations: 0 / 278.8 MB, free: 4.938 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.061e-06/0.08123, allocations: 7.984 kB / 278.8 MB, free: 4.93 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007435/0.08198, allocations: 412.9 kB / 279.2 MB, free: 4.461 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.4e-06/0.08201, allocations: 12.03 kB / 279.3 MB, free: 4.449 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002597/0.08228, allocations: 39.98 kB / 279.3 MB, free: 4.41 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.0823, allocations: 0 / 279.3 MB, free: 4.41 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.08233, allocations: 4 kB / 279.3 MB, free: 4.406 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.079e-06/0.08234, allocations: 3.938 kB / 279.3 MB, free: 4.402 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.544e-06/0.08235, allocations: 4 kB / 279.3 MB, free: 4.398 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000531/0.08289, allocations: 372.6 kB / 279.7 MB, free: 4.008 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.079e-05/0.083, allocations: 104.8 kB / 279.8 MB, free: 3.887 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.08305, allocations: 4 kB / 279.8 MB, free: 3.883 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.08325, allocations: 4 kB / 279.8 MB, free: 3.879 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.0833, allocations: 15.92 kB / 279.8 MB, free: 3.863 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.08332, allocations: 4 kB / 279.8 MB, free: 3.859 MB / 234.7 MB Notification: Performance of sorting global known variables: time 0.0001771/0.08351, allocations: 140.3 kB / 279.9 MB, free: 3.723 MB / 234.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.08352, allocations: 4 kB / 279.9 MB, free: 3.719 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0005362/0.08407, allocations: 55.91 kB / 280 MB, free: 3.664 MB / 234.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.0001331/0.08422, allocations: 103.2 kB / 280.1 MB, free: 3.555 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003336/0.08456, allocations: 136.5 kB / 280.2 MB, free: 3.422 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.378e-06/0.08458, allocations: 0 / 280.2 MB, free: 3.422 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.08471, allocations: 63.97 kB / 280.3 MB, free: 3.359 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003955/0.08512, allocations: 33.78 kB / 280.3 MB, free: 3.328 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.08649, allocations: 0.7361 MB / 281.1 MB, free: 2.547 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004735/0.08698, allocations: 0.744 MB / 281.8 MB, free: 1.777 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.08707, allocations: 23.38 kB / 281.8 MB, free: 1.754 MB / 234.7 MB Notification: Performance of SimCode: time 1.296e-06/0.08708, allocations: 0 / 281.8 MB, free: 1.754 MB / 234.7 MB Notification: Performance of Templates: time 0.004965/0.09206, allocations: 2.214 MB / 284 MB, free: 15.54 MB / 250.7 MB