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.TestStrings.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.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestStrings") Notification: Performance of loadModel(ModelicaTest): time 2.428/2.428, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.937e-05/2.955e-05, allocations: 4 kB / 309.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3233, allocations: 54.85 MB / 364.5 MB, free: 5.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1274/0.4508, allocations: 82.61 MB / 447.1 MB, free: 13.74 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.4511, allocations: 65.11 kB / 447.2 MB, free: 13.68 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06271/0.5138, allocations: 16.66 MB / 463.9 MB, free: 13.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.812e-06/0.5138, allocations: 0 / 463.9 MB, free: 13.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.705e-06/0.5139, allocations: 0 / 463.9 MB, free: 13.03 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0007489/0.5146, allocations: 488 kB / 464.3 MB, free: 12.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.5147, allocations: 8.688 kB / 464.3 MB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.85e-05/0.5147, allocations: 4 kB / 464.4 MB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001195/0.5148, allocations: 163.1 kB / 464.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.5149, allocations: 0 / 464.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.5149, allocations: 0 / 464.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.817e-05/0.515, allocations: 37.64 kB / 464.5 MB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.57e-06/0.515, allocations: 0 / 464.5 MB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.779e-06/0.515, allocations: 1.031 kB / 464.6 MB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.515, allocations: 0 / 464.6 MB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.197e-05/0.5151, allocations: 3.938 kB / 464.6 MB, free: 12.24 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.5152, allocations: 153.7 kB / 464.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.01e-05/0.5153, allocations: 14.58 kB / 464.7 MB, free: 12.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.774e-05/0.5153, allocations: 4.859 kB / 464.7 MB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.276e-06/0.5153, allocations: 0 / 464.7 MB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.43e-05/0.5154, allocations: 60.33 kB / 464.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 2.07e-06/0.5154, allocations: 0 / 464.8 MB, free: 11.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001817/0.5156, allocations: 71.28 kB / 464.9 MB, free: 11.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/0.5157, allocations: 85.14 kB / 464.9 MB, free: 11.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.147e-05/0.5158, allocations: 86.03 kB / 465 MB, free: 11.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.5158, allocations: 25.7 kB / 465 MB, free: 11.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/0.5159, allocations: 150.6 kB / 465.2 MB, free: 11.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.832e-05/0.5159, allocations: 0 / 465.2 MB, free: 11.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-06/0.5159, allocations: 0 / 465.2 MB, free: 11.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.5161, allocations: 310.8 kB / 465.5 MB, free: 11.17 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.366e-05/0.5161, allocations: 4 kB / 465.5 MB, free: 11.17 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.684e-06/0.5161, allocations: 4 kB / 465.5 MB, free: 11.16 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.762e-05/0.5162, allocations: 29.69 kB / 465.5 MB, free: 11.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.393e-06/0.5162, allocations: 3.938 kB / 465.5 MB, free: 11.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001099/0.5163, allocations: 71.25 kB / 465.6 MB, free: 11.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.028e-05/0.5164, allocations: 35.11 kB / 465.6 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.002e-06/0.5164, allocations: 0 / 465.6 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.5164, allocations: 0 / 465.6 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.223e-06/0.5164, allocations: 3.953 kB / 465.6 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.357e-06/0.5164, allocations: 0 / 465.6 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.782e-05/0.5165, allocations: 4.094 kB / 465.6 MB, free: 11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.5165, allocations: 7.969 kB / 465.7 MB, free: 10.99 MB / 394.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.0001023/0.5166, allocations: 130.7 kB / 465.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.5166, allocations: 0 / 465.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.441e-05/0.5167, allocations: 7.078 kB / 465.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.493e-06/0.5167, allocations: 4 kB / 465.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.398e-06/0.5167, allocations: 3.953 kB / 465.8 MB, free: 10.83 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.656e-06/0.5167, allocations: 7.984 kB / 465.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001263/0.5168, allocations: 145.7 kB / 465.9 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-06/0.5169, allocations: 4 kB / 466 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.401e-06/0.5169, allocations: 3.938 kB / 466 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.71e-06/0.5169, allocations: 0 / 466 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.642e-06/0.5169, allocations: 0 / 466 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.64e-06/0.5169, allocations: 4 kB / 466 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.622e-06/0.5169, allocations: 0 / 466 MB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.5171, allocations: 94.72 kB / 466.1 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.5171, allocations: 81.11 kB / 466.1 MB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.5172, allocations: 4.031 kB / 466.1 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.25e-05/0.5172, allocations: 0 / 466.1 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.5172, allocations: 4 kB / 466.1 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.824e-06/0.5172, allocations: 0 / 466.1 MB, free: 10.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.987e-05/0.5173, allocations: 78.5 kB / 466.2 MB, free: 10.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.57e-07/0.5173, allocations: 4 kB / 466.2 MB, free: 10.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006396/0.5179, allocations: 139.8 kB / 466.4 MB, free: 10.18 MB / 394.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.001243/0.5192, allocations: 478.7 kB / 466.8 MB, free: 9.773 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001168/0.5193, allocations: 59.34 kB / 466.9 MB, free: 9.703 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.392e-06/0.5194, allocations: 4.062 kB / 466.9 MB, free: 9.699 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.908e-05/0.5194, allocations: 55.41 kB / 466.9 MB, free: 9.633 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.5195, allocations: 3.438 kB / 466.9 MB, free: 9.633 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001825/0.5197, allocations: 78.75 kB / 467 MB, free: 9.527 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.5201, allocations: 0.6692 MB / 467.7 MB, free: 8.832 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.751e-05/0.5201, allocations: 15.38 kB / 467.7 MB, free: 8.816 MB / 394.7 MB Notification: Performance of SimCode: time 1.681e-06/0.5201, allocations: 0 / 467.7 MB, free: 8.816 MB / 394.7 MB Notification: Performance of Templates: time 0.006503/0.5267, allocations: 2.89 MB / 470.6 MB, free: 5.922 MB / 394.7 MB