Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadModel(ModelicaTest): time 1.919/1.919, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.852e-05/1.861e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2651, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.201/8.466, allocations: 3.623 GB / 3.935 GB, free: 137.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/8.466, allocations: 79.95 kB / 3.935 GB, free: 137.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423/9.89, allocations: 299.4 MB / 4.228 GB, free: 60.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.146e-06/9.89, allocations: 3.469 kB / 4.228 GB, free: 60.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.502e-05/9.89, allocations: 9.75 kB / 4.228 GB, free: 60.12 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004333/9.894, allocations: 1.593 MB / 4.229 GB, free: 59.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/9.894, allocations: 9.25 kB / 4.229 GB, free: 59.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003573/9.895, allocations: 56.78 kB / 4.229 GB, free: 59.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008176/9.895, allocations: 407.2 kB / 4.23 GB, free: 59.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/9.895, allocations: 10.91 kB / 4.23 GB, free: 59.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.85e-05/9.896, allocations: 22.16 kB / 4.23 GB, free: 59.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009587/9.897, allocations: 426.8 kB / 4.23 GB, free: 59.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008677/9.897, allocations: 436 kB / 4.23 GB, free: 59.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.872e-05/9.897, allocations: 1.031 kB / 4.23 GB, free: 59.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.073e-05/9.898, allocations: 1.156 kB / 4.23 GB, free: 59.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/9.898, allocations: 9.281 kB / 4.23 GB, free: 59.16 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006108/9.904, allocations: 2.718 MB / 4.233 GB, free: 57.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00176/9.906, allocations: 327.6 kB / 4.233 GB, free: 57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004069/9.906, allocations: 92.62 kB / 4.233 GB, free: 56.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003508/9.906, allocations: 93.23 kB / 4.234 GB, free: 56.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.105e-05/9.906, allocations: 41.08 kB / 4.234 GB, free: 56.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 6.158e-06/9.906, allocations: 1.188 kB / 4.234 GB, free: 56.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.001446/9.908, allocations: 240.2 kB / 4.234 GB, free: 56.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/9.908, allocations: 110.8 kB / 4.234 GB, free: 56.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007111/9.909, allocations: 279.9 kB / 4.234 GB, free: 56.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.534e-05/9.909, allocations: 27.08 kB / 4.234 GB, free: 56.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/9.909, allocations: 325.6 kB / 4.235 GB, free: 56.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/9.909, allocations: 72.95 kB / 4.235 GB, free: 56.29 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/9.909, allocations: 3.156 kB / 4.235 GB, free: 56.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.987e-05/9.909, allocations: 328.1 kB / 4.235 GB, free: 55.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004611/9.91, allocations: 97.25 kB / 4.235 GB, free: 55.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/9.91, allocations: 273.5 kB / 4.235 GB, free: 55.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001618/9.912, allocations: 227.1 kB / 4.236 GB, free: 55.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/9.912, allocations: 6.094 kB / 4.236 GB, free: 55.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002706/9.915, allocations: 480.5 kB / 4.236 GB, free: 55.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.544e-05/9.915, allocations: 62.66 kB / 4.236 GB, free: 55.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/9.915, allocations: 6.562 kB / 4.236 GB, free: 55.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.054e-05/9.915, allocations: 14.02 kB / 4.236 GB, free: 55.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009444/9.916, allocations: 109.3 kB / 4.236 GB, free: 55.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-05/9.916, allocations: 14.16 kB / 4.236 GB, free: 55.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/9.917, allocations: 58.23 kB / 4.236 GB, free: 55.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/9.917, allocations: 30.09 kB / 4.236 GB, free: 55.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0001927/9.917, allocations: 114.5 kB / 4.236 GB, free: 55.53 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002735/9.918, allocations: 38.11 kB / 4.236 GB, free: 55.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/9.919, allocations: 272.9 kB / 4.237 GB, free: 55.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/9.919, allocations: 3.656 kB / 4.237 GB, free: 55.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/9.919, allocations: 7.859 kB / 4.237 GB, free: 55.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/9.919, allocations: 2.531 kB / 4.237 GB, free: 55.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002723/9.922, allocations: 0.9976 MB / 4.238 GB, free: 54.87 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/9.922, allocations: 3.906 kB / 4.238 GB, free: 54.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004261/9.923, allocations: 40.05 kB / 4.238 GB, free: 54.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-05/9.923, allocations: 6.969 kB / 4.238 GB, free: 54.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/9.923, allocations: 5.812 kB / 4.238 GB, free: 54.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.171e-05/9.923, allocations: 8.156 kB / 4.238 GB, free: 54.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-05/9.923, allocations: 11.41 kB / 4.238 GB, free: 54.87 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001085/9.924, allocations: 0.7028 MB / 4.238 GB, free: 54.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001754/9.924, allocations: 117.1 kB / 4.239 GB, free: 54.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/9.924, allocations: 6.5 kB / 4.239 GB, free: 54.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009391/9.925, allocations: 15.67 kB / 4.239 GB, free: 54.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/9.925, allocations: 27.69 kB / 4.239 GB, free: 54.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.109e-05/9.925, allocations: 13.03 kB / 4.239 GB, free: 54.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004971/9.926, allocations: 225 kB / 4.239 GB, free: 54.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.161e-06/9.926, allocations: 0 / 4.239 GB, free: 54.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003359/9.929, allocations: 436.3 kB / 4.239 GB, free: 53.99 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.004468/9.934, allocations: 1.367 MB / 4.241 GB, free: 53.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001104/9.935, allocations: 342 kB / 4.241 GB, free: 53.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.847e-06/9.935, allocations: 6.5 kB / 4.241 GB, free: 53.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003458/9.935, allocations: 81.27 kB / 4.241 GB, free: 53.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/9.937, allocations: 151.2 kB / 4.241 GB, free: 53.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/9.94, allocations: 0.5943 MB / 4.242 GB, free: 53.42 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006236/9.94, allocations: 0.8278 MB / 4.242 GB, free: 52.72 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/9.941, allocations: 42.36 kB / 4.243 GB, free: 52.71 MB / 426.7 MB Notification: Performance of SimCode: time 2.275e-06/9.941, allocations: 0 / 4.243 GB, free: 52.71 MB / 426.7 MB Notification: Performance of Templates: time 0.04049/9.981, allocations: 13.96 MB / 4.256 GB, free: 52.26 MB / 426.7 MB