Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestFiles.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestFiles") Notification: Performance of loadModel(ModelicaTest): time 2.168/2.168, allocations: 235 MB / 248.1 MB, free: 14.6 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.208e-05/3.216e-05, allocations: 7.938 kB / 309.7 MB, free: 1.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3147, allocations: 54.84 MB / 364.5 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1176/0.4324, allocations: 79.62 MB / 444.1 MB, free: 0.918 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/0.4326, allocations: 59.97 kB / 444.2 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007988/0.4406, allocations: 1.935 MB / 446.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.155e-06/0.4407, allocations: 0 / 446.1 MB, free: 14.94 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.267e-06/0.4407, allocations: 1.062 kB / 446.1 MB, free: 14.94 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000334/0.4411, allocations: 368.6 kB / 446.5 MB, free: 14.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4411, allocations: 13.06 kB / 446.5 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.4411, allocations: 3.953 kB / 446.5 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.4413, allocations: 159.1 kB / 446.7 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.4413, allocations: 0 / 446.7 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.388e-06/0.4413, allocations: 4 kB / 446.7 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.69e-05/0.4414, allocations: 25.7 kB / 446.7 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.798e-06/0.4414, allocations: 0 / 446.7 MB, free: 14.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.4414, allocations: 4 kB / 446.7 MB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.507e-06/0.4415, allocations: 3.938 kB / 446.7 MB, free: 14.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.638e-05/0.4415, allocations: 11.88 kB / 446.7 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.4417, allocations: 149.7 kB / 446.9 MB, free: 14.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.167e-05/0.4417, allocations: 19.36 kB / 446.9 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.603e-05/0.4417, allocations: 4.859 kB / 446.9 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-06/0.4418, allocations: 0 / 446.9 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.435e-05/0.4418, allocations: 61.2 kB / 446.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.68e-06/0.4418, allocations: 0 / 446.9 MB, free: 13.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001554/0.442, allocations: 67.33 kB / 447 MB, free: 13.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/0.4421, allocations: 77.11 kB / 447.1 MB, free: 13.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.867e-05/0.4421, allocations: 93 kB / 447.2 MB, free: 13.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.4422, allocations: 26.92 kB / 447.2 MB, free: 13.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.713e-05/0.4423, allocations: 150.6 kB / 447.4 MB, free: 13.51 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.623e-05/0.4423, allocations: 0 / 447.4 MB, free: 13.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-06/0.4423, allocations: 0 / 447.4 MB, free: 13.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4425, allocations: 316.9 kB / 447.7 MB, free: 13.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.4425, allocations: 4.031 kB / 447.7 MB, free: 13.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.918e-06/0.4425, allocations: 4 kB / 447.7 MB, free: 13.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.305e-05/0.4425, allocations: 25.7 kB / 447.7 MB, free: 13.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.947e-06/0.4426, allocations: 0 / 447.7 MB, free: 13.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001053/0.4427, allocations: 63.39 kB / 447.8 MB, free: 13.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.4427, allocations: 37.64 kB / 447.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.481e-06/0.4428, allocations: 0 / 447.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.4428, allocations: 4 kB / 447.8 MB, free: 13.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.51e-06/0.4428, allocations: 5.578 kB / 447.8 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.242e-06/0.4428, allocations: 4.094 kB / 447.8 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.596e-05/0.4428, allocations: 0 / 447.8 MB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.82e-06/0.4429, allocations: 2.938 kB / 447.8 MB, free: 13.03 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001034/0.443, allocations: 142.6 kB / 447.9 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.443, allocations: 0 / 447.9 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.485e-05/0.443, allocations: 7.078 kB / 448 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-06/0.443, allocations: 0 / 448 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.53e-06/0.443, allocations: 0 / 448 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.833e-06/0.443, allocations: 0 / 448 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.4432, allocations: 149.6 kB / 448.1 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.926e-06/0.4432, allocations: 7.984 kB / 448.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.279e-06/0.4432, allocations: 3.938 kB / 448.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.53e-06/0.4432, allocations: 0 / 448.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.798e-06/0.4432, allocations: 0 / 448.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.797e-06/0.4432, allocations: 0 / 448.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.428e-06/0.4432, allocations: 0 / 448.1 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.4434, allocations: 102.7 kB / 448.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.4435, allocations: 77.14 kB / 448.3 MB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.4435, allocations: 8 kB / 448.3 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.237e-05/0.4435, allocations: 0 / 448.3 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.4435, allocations: 0 / 448.3 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-06/0.4435, allocations: 0 / 448.3 MB, free: 12.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.848e-05/0.4436, allocations: 75.28 kB / 448.4 MB, free: 12.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.43e-07/0.4436, allocations: 0 / 448.4 MB, free: 12.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003193/0.4439, allocations: 47.98 kB / 448.4 MB, free: 12.31 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005396/0.4445, allocations: 231.4 kB / 448.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.625e-05/0.4446, allocations: 59.41 kB / 448.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.4446, allocations: 0 / 448.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.653e-05/0.4447, allocations: 59.41 kB / 448.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.815e-05/0.4448, allocations: 8.719 kB / 448.8 MB, free: 11.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001554/0.445, allocations: 74.75 kB / 448.8 MB, free: 11.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.4453, allocations: 0.6731 MB / 449.5 MB, free: 11.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.254e-05/0.4453, allocations: 7.438 kB / 449.5 MB, free: 11.16 MB / 378.7 MB Notification: Performance of SimCode: time 1.292e-06/0.4453, allocations: 0 / 449.5 MB, free: 11.16 MB / 378.7 MB Notification: Performance of Templates: time 0.003011/0.4484, allocations: 1.083 MB / 450.6 MB, free: 10.08 MB / 378.7 MB