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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.402/2.402, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.565e-05/1.57e-05, allocations: 4 kB / 303.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2753, allocations: 54.86 MB / 358 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.403, allocations: 81.94 MB / 440 MB, free: 12.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.4032, allocations: 59.97 kB / 440 MB, free: 12.76 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05946/0.4627, allocations: 16.69 MB / 456.7 MB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.139e-06/0.4627, allocations: 0 / 456.7 MB, free: 12.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.4628, allocations: 0 / 456.7 MB, free: 12.05 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.0007422/0.4635, allocations: 480.1 kB / 457.2 MB, free: 11.53 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.4636, allocations: 8.031 kB / 457.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.4636, allocations: 3.938 kB / 457.2 MB, free: 11.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.4637, allocations: 159.1 kB / 457.4 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.4638, allocations: 0 / 457.4 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-06/0.4638, allocations: 4 kB / 457.4 MB, free: 11.32 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.882e-05/0.4638, allocations: 4 kB / 457.4 MB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.942e-05/0.4639, allocations: 29.66 kB / 457.4 MB, free: 11.28 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.646e-06/0.4639, allocations: 11.88 kB / 457.4 MB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.97e-06/0.464, allocations: 4 kB / 457.4 MB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.464, allocations: 3.984 kB / 457.4 MB, free: 11.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001428/0.4641, allocations: 122.2 kB / 457.5 MB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.358e-05/0.4642, allocations: 18.52 kB / 457.5 MB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/0.4642, allocations: 8.953 kB / 457.6 MB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.921e-06/0.4642, allocations: 0 / 457.6 MB, free: 11.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.377e-05/0.4643, allocations: 56.27 kB / 457.6 MB, free: 10.99 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.929e-06/0.4643, allocations: 4 kB / 457.6 MB, free: 10.99 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.000188/0.4645, allocations: 41.64 kB / 457.7 MB, free: 10.94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.4646, allocations: 81.11 kB / 457.7 MB, free: 10.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.362e-05/0.4646, allocations: 85 kB / 457.8 MB, free: 10.75 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.4647, allocations: 25.7 kB / 457.8 MB, free: 10.72 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.4648, allocations: 150.6 kB / 458 MB, free: 10.57 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.519e-05/0.4648, allocations: 0 / 458 MB, free: 10.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-06/0.4648, allocations: 0 / 458 MB, free: 10.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.465, allocations: 314.9 kB / 458.3 MB, free: 10.26 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.265e-05/0.465, allocations: 4 kB / 458.3 MB, free: 10.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.404e-06/0.465, allocations: 0 / 458.3 MB, free: 10.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.84e-05/0.4651, allocations: 3.938 kB / 458.3 MB, free: 10.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.401e-06/0.4651, allocations: 0 / 458.3 MB, free: 10.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001013/0.4652, allocations: 41.69 kB / 458.3 MB, free: 10.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.253e-05/0.4652, allocations: 29.7 kB / 458.4 MB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.877e-06/0.4653, allocations: 0 / 458.4 MB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.4653, allocations: 0 / 458.4 MB, free: 10.17 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.721e-06/0.4653, allocations: 4.094 kB / 458.4 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.4653, allocations: 4 kB / 458.4 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.113e-05/0.4653, allocations: 3.953 kB / 458.4 MB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.741e-06/0.4654, allocations: 0 / 458.4 MB, free: 10.16 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.0001055/0.4655, allocations: 128.2 kB / 458.5 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.065e-05/0.4655, allocations: 4 kB / 458.5 MB, free: 10.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.445e-05/0.4655, allocations: 11.69 kB / 458.5 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.738e-06/0.4655, allocations: 0 / 458.5 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.559e-06/0.4655, allocations: 0 / 458.5 MB, free: 10.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.213e-06/0.4656, allocations: 4 kB / 458.5 MB, free: 10 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.4657, allocations: 126.2 kB / 458.7 MB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.924e-06/0.4657, allocations: 7.938 kB / 458.7 MB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.309e-06/0.4657, allocations: 0 / 458.7 MB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.801e-06/0.4657, allocations: 0 / 458.7 MB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.157e-06/0.4657, allocations: 0 / 458.7 MB, free: 9.836 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.211e-06/0.4657, allocations: 4 kB / 458.7 MB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.501e-06/0.4657, allocations: 0 / 458.7 MB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.4659, allocations: 80.95 kB / 458.7 MB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.188e-05/0.466, allocations: 77.11 kB / 458.8 MB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.466, allocations: 0 / 458.8 MB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.235e-05/0.466, allocations: 0 / 458.8 MB, free: 9.641 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.466, allocations: 3.984 kB / 458.8 MB, free: 9.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.081e-06/0.466, allocations: 4 kB / 458.8 MB, free: 9.633 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.165e-05/0.4661, allocations: 75.28 kB / 458.9 MB, free: 9.559 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.8e-07/0.4661, allocations: 0 / 458.9 MB, free: 9.559 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006399/0.4667, allocations: 139.9 kB / 459 MB, free: 9.422 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.001244/0.468, allocations: 481.8 kB / 459.5 MB, free: 8.973 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001096/0.4681, allocations: 59.39 kB / 459.6 MB, free: 8.902 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.782e-06/0.4682, allocations: 0 / 459.6 MB, free: 8.902 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.504e-05/0.4682, allocations: 55.41 kB / 459.6 MB, free: 8.836 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001018/0.4683, allocations: 3.953 kB / 459.6 MB, free: 8.832 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001621/0.4685, allocations: 69.91 kB / 459.7 MB, free: 8.734 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/0.4689, allocations: 0.6768 MB / 460.4 MB, free: 8.031 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.495e-05/0.4689, allocations: 11.38 kB / 460.4 MB, free: 8.02 MB / 394.7 MB Notification: Performance of SimCode: time 1.533e-06/0.4689, allocations: 0 / 460.4 MB, free: 8.02 MB / 394.7 MB Notification: Performance of Templates: time 0.006756/0.4757, allocations: 2.956 MB / 463.3 MB, free: 5.059 MB / 394.7 MB