Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadModel(ModelicaTest): time 2.145/2.145, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/1.992e-05, allocations: 4 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2772/0.2772, allocations: 54.86 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.467/8.744, allocations: 3.629 GB / 3.979 GB, free: 8.254 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/8.745, allocations: 82.33 kB / 3.979 GB, free: 8.211 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.496/10.24, allocations: 301.1 MB / 4.273 GB, free: 75.92 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.919e-06/10.24, allocations: 3.938 kB / 4.273 GB, free: 75.92 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.268e-05/10.24, allocations: 11.12 kB / 4.273 GB, free: 75.91 MB / 474.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.005637/10.25, allocations: 1.587 MB / 4.275 GB, free: 74.28 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/10.25, allocations: 12.03 kB / 4.275 GB, free: 74.27 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005915/10.25, allocations: 51.44 kB / 4.275 GB, free: 74.21 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/10.25, allocations: 402.2 kB / 4.275 GB, free: 73.79 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.612e-05/10.25, allocations: 12 kB / 4.275 GB, free: 73.78 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/10.25, allocations: 24 kB / 4.275 GB, free: 73.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00168/10.25, allocations: 425.3 kB / 4.276 GB, free: 73.34 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/10.25, allocations: 433.2 kB / 4.276 GB, free: 72.89 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.199e-05/10.25, allocations: 3.938 kB / 4.276 GB, free: 72.89 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/10.25, allocations: 3.984 kB / 4.276 GB, free: 72.89 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.091e-05/10.25, allocations: 11.95 kB / 4.276 GB, free: 72.88 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005463/10.26, allocations: 2.821 MB / 4.279 GB, free: 69.76 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/10.26, allocations: 323.1 kB / 4.279 GB, free: 69.41 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002627/10.26, allocations: 94.59 kB / 4.279 GB, free: 69.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002407/10.26, allocations: 93.08 kB / 4.279 GB, free: 69.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/10.26, allocations: 41.88 kB / 4.279 GB, free: 69.15 MB / 474.7 MB Notification: Performance of pre-optimization done (n=20): time 4.614e-06/10.26, allocations: 0 / 4.279 GB, free: 69.15 MB / 474.7 MB Notification: Performance of matching and sorting (n=20): time 0.001025/10.26, allocations: 232.2 kB / 4.279 GB, free: 68.92 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/10.26, allocations: 110.8 kB / 4.28 GB, free: 68.79 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005175/10.26, allocations: 289.9 kB / 4.28 GB, free: 68.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.592e-05/10.26, allocations: 29.7 kB / 4.28 GB, free: 68.46 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/10.26, allocations: 324.6 kB / 4.28 GB, free: 68.14 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.326e-05/10.26, allocations: 78.94 kB / 4.28 GB, free: 68.06 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/10.26, allocations: 0 / 4.28 GB, free: 68.06 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.63e-05/10.26, allocations: 326.8 kB / 4.281 GB, free: 67.73 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/10.26, allocations: 92.84 kB / 4.281 GB, free: 67.64 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004512/10.26, allocations: 276.7 kB / 4.281 GB, free: 67.29 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/10.26, allocations: 224.1 kB / 4.281 GB, free: 67.08 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/10.26, allocations: 4 kB / 4.281 GB, free: 67.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00233/10.27, allocations: 487.2 kB / 4.282 GB, free: 66.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.199e-05/10.27, allocations: 63.41 kB / 4.282 GB, free: 66.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/10.27, allocations: 4 kB / 4.282 GB, free: 66.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.722e-05/10.27, allocations: 15.94 kB / 4.282 GB, free: 66.51 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008119/10.27, allocations: 103.8 kB / 4.282 GB, free: 66.41 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.936e-05/10.27, allocations: 11.94 kB / 4.282 GB, free: 66.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008911/10.27, allocations: 62.84 kB / 4.282 GB, free: 66.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/10.27, allocations: 27.98 kB / 4.282 GB, free: 66.31 MB / 474.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.0001781/10.27, allocations: 126.5 kB / 4.282 GB, free: 66.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002326/10.27, allocations: 31.62 kB / 4.282 GB, free: 66.15 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/10.27, allocations: 272.4 kB / 4.282 GB, free: 65.88 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.257e-06/10.27, allocations: 4 kB / 4.282 GB, free: 65.88 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.09e-06/10.27, allocations: 0 / 4.282 GB, free: 65.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/10.27, allocations: 0 / 4.282 GB, free: 65.88 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002414/10.27, allocations: 1.007 MB / 4.283 GB, free: 64.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/10.27, allocations: 4 kB / 4.283 GB, free: 64.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003674/10.27, allocations: 43.92 kB / 4.283 GB, free: 64.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/10.27, allocations: 7.188 kB / 4.283 GB, free: 64.74 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.149e-05/10.27, allocations: 4 kB / 4.283 GB, free: 64.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-05/10.27, allocations: 11.98 kB / 4.283 GB, free: 64.72 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.029e-06/10.27, allocations: 7.938 kB / 4.283 GB, free: 64.71 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009814/10.27, allocations: 0.7007 MB / 4.284 GB, free: 63.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001793/10.28, allocations: 116.7 kB / 4.284 GB, free: 63.76 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/10.28, allocations: 7.984 kB / 4.284 GB, free: 63.75 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008266/10.28, allocations: 12.06 kB / 4.284 GB, free: 63.74 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.612e-05/10.28, allocations: 34.2 kB / 4.284 GB, free: 63.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.817e-05/10.28, allocations: 12 kB / 4.284 GB, free: 63.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004478/10.28, allocations: 220.6 kB / 4.284 GB, free: 63.48 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.165e-06/10.28, allocations: 3.562 kB / 4.284 GB, free: 63.48 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002989/10.28, allocations: 442.5 kB / 4.285 GB, free: 63.05 MB / 474.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.004519/10.28, allocations: 1.357 MB / 4.286 GB, free: 61.84 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001047/10.29, allocations: 343.9 kB / 4.286 GB, free: 61.48 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.916e-06/10.29, allocations: 0 / 4.286 GB, free: 61.48 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/10.29, allocations: 88.72 kB / 4.287 GB, free: 61.39 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001832/10.29, allocations: 159.8 kB / 4.287 GB, free: 61.24 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/10.29, allocations: 0.5875 MB / 4.287 GB, free: 60.59 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005104/10.29, allocations: 0.8308 MB / 4.288 GB, free: 59.73 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002615/10.29, allocations: 35.44 kB / 4.288 GB, free: 59.69 MB / 474.7 MB Notification: Performance of SimCode: time 2.255e-06/10.29, allocations: 4 kB / 4.288 GB, free: 59.69 MB / 474.7 MB Notification: Performance of Templates: time 0.03581/10.33, allocations: 13.97 MB / 4.302 GB, free: 45.73 MB / 474.7 MB