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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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.803/1.803, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.84e-05/2.864e-05, allocations: 0 / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08452/0.08458, allocations: 48.71 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.817/8.902, allocations: 3.623 GB / 3.942 GB, free: 76.04 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/8.902, allocations: 79.58 kB / 3.942 GB, free: 75.99 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.495/10.4, allocations: 302.5 MB / 4.238 GB, free: 64.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.7e-06/10.4, allocations: 0 / 4.238 GB, free: 64.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.221e-05/10.4, allocations: 7.656 kB / 4.238 GB, free: 64.17 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.004681/10.4, allocations: 1.592 MB / 4.239 GB, free: 63.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/10.4, allocations: 10.78 kB / 4.239 GB, free: 63.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00039/10.4, allocations: 55.98 kB / 4.239 GB, free: 63.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007483/10.4, allocations: 411.8 kB / 4.24 GB, free: 62.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/10.4, allocations: 26.61 kB / 4.24 GB, free: 62.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.995e-05/10.4, allocations: 36.38 kB / 4.24 GB, free: 62.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009976/10.4, allocations: 491.3 kB / 4.24 GB, free: 62.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/10.4, allocations: 0 / 4.24 GB, free: 62.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.128e-05/10.4, allocations: 19.56 kB / 4.24 GB, free: 62.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/10.4, allocations: 8.375 kB / 4.24 GB, free: 62.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009059/10.4, allocations: 461.2 kB / 4.241 GB, free: 62.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00349/10.41, allocations: 1.931 MB / 4.242 GB, free: 61.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006249/10.41, allocations: 362.4 kB / 4.243 GB, free: 61.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/10.41, allocations: 131 kB / 4.243 GB, free: 61.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008647/10.41, allocations: 0.9534 MB / 4.244 GB, free: 60.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/10.41, allocations: 41.28 kB / 4.244 GB, free: 60.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 4.059e-06/10.41, allocations: 0 / 4.244 GB, free: 60.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007773/10.41, allocations: 266.3 kB / 4.244 GB, free: 60.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/10.41, allocations: 109.5 kB / 4.244 GB, free: 60.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/10.41, allocations: 269.8 kB / 4.245 GB, free: 60.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/10.41, allocations: 36.45 kB / 4.245 GB, free: 60.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/10.41, allocations: 302.7 kB / 4.245 GB, free: 59.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.562e-05/10.41, allocations: 97.67 kB / 4.245 GB, free: 59.86 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/10.41, allocations: 12.94 kB / 4.245 GB, free: 59.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.604e-05/10.41, allocations: 330.1 kB / 4.245 GB, free: 59.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/10.41, allocations: 105.7 kB / 4.245 GB, free: 59.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/10.41, allocations: 286.6 kB / 4.246 GB, free: 59.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003742/10.41, allocations: 216 kB / 4.246 GB, free: 59.25 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.842e-06/10.41, allocations: 0 / 4.246 GB, free: 59.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001093/10.41, allocations: 0.4932 MB / 4.246 GB, free: 59.11 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.466e-05/10.41, allocations: 63.62 kB / 4.246 GB, free: 59.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/10.41, allocations: 11.06 kB / 4.246 GB, free: 59.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/10.41, allocations: 13.91 kB / 4.246 GB, free: 59.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005846/10.41, allocations: 96.75 kB / 4.246 GB, free: 59.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.075e-05/10.41, allocations: 18.09 kB / 4.247 GB, free: 59.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000559/10.42, allocations: 55.7 kB / 4.247 GB, free: 59.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/10.42, allocations: 27.09 kB / 4.247 GB, free: 59.02 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.00014/10.42, allocations: 149.1 kB / 4.247 GB, free: 58.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/10.42, allocations: 37.84 kB / 4.247 GB, free: 58.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/10.42, allocations: 383.6 kB / 4.247 GB, free: 58.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.261e-06/10.42, allocations: 3.969 kB / 4.247 GB, free: 58.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/10.42, allocations: 3.312 kB / 4.247 GB, free: 58.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.071e-06/10.42, allocations: 3.844 kB / 4.247 GB, free: 58.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001652/10.42, allocations: 1.011 MB / 4.248 GB, free: 58.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.834e-06/10.42, allocations: 3.938 kB / 4.248 GB, free: 58.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/10.42, allocations: 56.02 kB / 4.248 GB, free: 58.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.721e-06/10.42, allocations: 3.812 kB / 4.248 GB, free: 58.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/10.42, allocations: 7.625 kB / 4.248 GB, free: 58.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.722e-06/10.42, allocations: 7.859 kB / 4.248 GB, free: 58.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/10.42, allocations: 11.84 kB / 4.248 GB, free: 58.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006327/10.42, allocations: 0.6037 MB / 4.249 GB, free: 57.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/10.42, allocations: 117.8 kB / 4.249 GB, free: 57.56 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.046e-05/10.42, allocations: 10.8 kB / 4.249 GB, free: 57.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004942/10.42, allocations: 25.44 kB / 4.249 GB, free: 57.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.919e-05/10.42, allocations: 21.86 kB / 4.249 GB, free: 57.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/10.42, allocations: 20.88 kB / 4.249 GB, free: 57.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003643/10.42, allocations: 251.2 kB / 4.249 GB, free: 57.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.004e-06/10.42, allocations: 4.969 kB / 4.249 GB, free: 57.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002094/10.42, allocations: 470.7 kB / 4.25 GB, free: 57.37 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.002685/10.43, allocations: 1.228 MB / 4.251 GB, free: 57.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008185/10.43, allocations: 381.3 kB / 4.251 GB, free: 56.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.779e-06/10.43, allocations: 3.719 kB / 4.251 GB, free: 56.94 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002357/10.43, allocations: 100.7 kB / 4.251 GB, free: 56.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001317/10.43, allocations: 158.7 kB / 4.251 GB, free: 56.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/10.43, allocations: 0.6874 MB / 4.252 GB, free: 56.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/10.43, allocations: 0.8454 MB / 4.253 GB, free: 55.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/10.43, allocations: 41.75 kB / 4.253 GB, free: 55.95 MB / 426.7 MB Notification: Performance of SimCode: time 1.798e-06/10.43, allocations: 0 / 4.253 GB, free: 55.95 MB / 426.7 MB Notification: Performance of Templates: time 0.02419/10.45, allocations: 14.15 MB / 4.267 GB, free: 54.66 MB / 426.7 MB