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.209/2.209, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004415/0.0004415, allocations: 15.94 kB / 314.4 MB, free: 9.547 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2786, allocations: 54.85 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1262/0.4048, allocations: 82.7 MB / 452 MB, free: 7.914 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.4051, allocations: 59.97 kB / 452 MB, free: 7.855 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05979/0.4649, allocations: 16.74 MB / 468.8 MB, free: 7.094 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.191e-06/0.4649, allocations: 0 / 468.8 MB, free: 7.094 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.724e-06/0.4649, allocations: 0 / 468.8 MB, free: 7.094 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.0007245/0.4657, allocations: 484.9 kB / 469.2 MB, free: 6.566 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.4657, allocations: 8.031 kB / 469.2 MB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.4658, allocations: 0 / 469.2 MB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.4659, allocations: 167.1 kB / 469.4 MB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.4659, allocations: 0 / 469.4 MB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.4659, allocations: 0 / 469.4 MB, free: 6.355 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.853e-05/0.466, allocations: 37.64 kB / 469.4 MB, free: 6.312 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.459e-06/0.4661, allocations: 3.938 kB / 469.4 MB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.017e-06/0.4661, allocations: 0 / 469.4 MB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.182e-06/0.4661, allocations: 0 / 469.4 MB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.708e-05/0.4661, allocations: 0 / 469.4 MB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.4663, allocations: 145.7 kB / 469.6 MB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.336e-05/0.4663, allocations: 22.61 kB / 469.6 MB, free: 6.086 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.005e-06/0.4664, allocations: 3.984 kB / 469.6 MB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.589e-05/0.4664, allocations: 64.19 kB / 469.7 MB, free: 6.004 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.731e-06/0.4664, allocations: 0 / 469.7 MB, free: 6.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001749/0.4666, allocations: 71.36 kB / 469.7 MB, free: 5.922 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.4667, allocations: 81.05 kB / 469.8 MB, free: 5.824 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.636e-05/0.4668, allocations: 93.12 kB / 469.9 MB, free: 5.727 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.4668, allocations: 25.7 kB / 469.9 MB, free: 5.695 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.4669, allocations: 150.6 kB / 470.1 MB, free: 5.547 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.839e-05/0.4669, allocations: 3.984 kB / 470.1 MB, free: 5.543 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.421e-06/0.4669, allocations: 0 / 470.1 MB, free: 5.543 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4671, allocations: 314.8 kB / 470.4 MB, free: 5.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.4671, allocations: 0 / 470.4 MB, free: 5.227 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.84e-06/0.4671, allocations: 4 kB / 470.4 MB, free: 5.223 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.879e-05/0.4672, allocations: 25.77 kB / 470.4 MB, free: 5.191 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.56e-06/0.4672, allocations: 4 kB / 470.4 MB, free: 5.188 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.847e-05/0.4673, allocations: 67.34 kB / 470.5 MB, free: 5.109 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.641e-05/0.4674, allocations: 33.69 kB / 470.5 MB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.827e-06/0.4674, allocations: 0 / 470.5 MB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.4674, allocations: 0 / 470.5 MB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.64e-06/0.4674, allocations: 4 kB / 470.5 MB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.072e-06/0.4674, allocations: 3.953 kB / 470.5 MB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.818e-05/0.4674, allocations: 0 / 470.5 MB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.961e-06/0.4675, allocations: 0 / 470.5 MB, free: 5.062 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 () * Number of clocked 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.0001317/0.4676, allocations: 139.6 kB / 470.7 MB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.048e-05/0.4676, allocations: 0 / 470.7 MB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.297e-05/0.4676, allocations: 3.125 kB / 470.7 MB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.332e-06/0.4677, allocations: 0 / 470.7 MB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.791e-06/0.4677, allocations: 0 / 470.7 MB, free: 4.906 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.109e-06/0.4677, allocations: 7.938 kB / 470.7 MB, free: 4.898 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/0.4678, allocations: 153.7 kB / 470.8 MB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.071e-06/0.4678, allocations: 0 / 470.8 MB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.294e-06/0.4678, allocations: 0 / 470.8 MB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.572e-06/0.4679, allocations: 0 / 470.8 MB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.739e-06/0.4679, allocations: 4 kB / 470.8 MB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.858e-06/0.4679, allocations: 0 / 470.8 MB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.4679, allocations: 0 / 470.8 MB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001419/0.468, allocations: 98.72 kB / 470.9 MB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.038e-05/0.4681, allocations: 77.11 kB / 471 MB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.708e-05/0.4681, allocations: 4 kB / 471 MB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.703e-05/0.4682, allocations: 0 / 471 MB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.4682, allocations: 11.95 kB / 471 MB, free: 4.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.803e-06/0.4682, allocations: 0 / 471 MB, free: 4.465 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.74e-05/0.4682, allocations: 75.28 kB / 471.1 MB, free: 4.391 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.24e-07/0.4683, allocations: 3.938 kB / 471.1 MB, free: 4.387 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006572/0.4689, allocations: 139.9 kB / 471.2 MB, free: 4.25 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) * Number of clocked states: 0 () * 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.001255/0.4702, allocations: 472.1 kB / 471.7 MB, free: 3.836 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.4703, allocations: 59.39 kB / 471.8 MB, free: 3.766 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.407e-06/0.4704, allocations: 0 / 471.8 MB, free: 3.766 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.224e-05/0.4704, allocations: 63.34 kB / 471.8 MB, free: 3.691 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001028/0.4705, allocations: 8.078 kB / 471.8 MB, free: 3.684 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002093/0.4707, allocations: 104.4 kB / 471.9 MB, free: 3.547 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.4711, allocations: 0.6731 MB / 472.6 MB, free: 2.848 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.669e-05/0.4711, allocations: 11.44 kB / 472.6 MB, free: 2.836 MB / 394.7 MB Notification: Performance of SimCode: time 1.421e-06/0.4711, allocations: 0 / 472.6 MB, free: 2.836 MB / 394.7 MB Notification: Performance of Templates: time 0.3194/0.7906, allocations: 2.901 MB / 475.5 MB, free: 94.85 MB / 394.7 MB