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.969/1.969, allocations: 209.3 MB / 224.9 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.0004411, allocations: 12 kB / 282.6 MB, free: 9.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08691/0.08737, allocations: 48.71 MB / 331.3 MB, free: 8.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.783/8.871, allocations: 3.623 GB / 3.947 GB, free: 49.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/8.871, allocations: 93.61 kB / 3.947 GB, free: 49.22 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.51/10.38, allocations: 303 MB / 4.243 GB, free: 64.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.049e-06/10.38, allocations: 0 / 4.243 GB, free: 64.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.015e-05/10.38, allocations: 11.66 kB / 4.243 GB, free: 64.2 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.004461/10.39, allocations: 1.635 MB / 4.244 GB, free: 63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/10.39, allocations: 10.34 kB / 4.244 GB, free: 63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003411/10.39, allocations: 56.84 kB / 4.244 GB, free: 62.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007206/10.39, allocations: 407.9 kB / 4.245 GB, free: 62.68 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/10.39, allocations: 32.38 kB / 4.245 GB, free: 62.67 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.973e-05/10.39, allocations: 39.03 kB / 4.245 GB, free: 62.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/10.39, allocations: 0.501 MB / 4.245 GB, free: 62.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/10.39, allocations: 3.938 kB / 4.245 GB, free: 62.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.829e-05/10.39, allocations: 14.19 kB / 4.245 GB, free: 62.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.348e-05/10.39, allocations: 7.719 kB / 4.245 GB, free: 62.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/10.39, allocations: 0.4893 MB / 4.246 GB, free: 62.26 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/10.39, allocations: 1.931 MB / 4.248 GB, free: 60.83 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006795/10.39, allocations: 385.4 kB / 4.248 GB, free: 60.59 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007605/10.39, allocations: 0.9543 MB / 4.249 GB, free: 59.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/10.39, allocations: 44.75 kB / 4.249 GB, free: 59.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 3.305e-06/10.39, allocations: 0 / 4.249 GB, free: 59.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.001125/10.39, allocations: 400.3 kB / 4.25 GB, free: 59.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/10.39, allocations: 118 kB / 4.25 GB, free: 59.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/10.4, allocations: 270.7 kB / 4.25 GB, free: 59.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/10.4, allocations: 35.92 kB / 4.25 GB, free: 59.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000127/10.4, allocations: 289.5 kB / 4.25 GB, free: 58.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.01e-05/10.4, allocations: 111.9 kB / 4.25 GB, free: 58.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-05/10.4, allocations: 4 kB / 4.25 GB, free: 58.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.332e-05/10.4, allocations: 329.2 kB / 4.251 GB, free: 58.36 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003715/10.4, allocations: 128.1 kB / 4.251 GB, free: 58.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004303/10.4, allocations: 304.2 kB / 4.251 GB, free: 58.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/10.4, allocations: 229 kB / 4.251 GB, free: 57.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.926e-06/10.4, allocations: 3.781 kB / 4.251 GB, free: 57.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001245/10.4, allocations: 0.537 MB / 4.252 GB, free: 57.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.155e-05/10.4, allocations: 68.52 kB / 4.252 GB, free: 57.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/10.4, allocations: 3.875 kB / 4.252 GB, free: 57.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/10.4, allocations: 11.72 kB / 4.252 GB, free: 57.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005278/10.4, allocations: 98.16 kB / 4.252 GB, free: 57.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.546e-05/10.4, allocations: 11.47 kB / 4.252 GB, free: 57.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005117/10.4, allocations: 66.69 kB / 4.252 GB, free: 57.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/10.4, allocations: 26.86 kB / 4.252 GB, free: 57.56 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 () * Number of clocked 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.0002902/10.4, allocations: 188 kB / 4.252 GB, free: 57.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001332/10.4, allocations: 34.31 kB / 4.252 GB, free: 57.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/10.4, allocations: 443.9 kB / 4.253 GB, free: 57.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/10.4, allocations: 6.75 kB / 4.253 GB, free: 57.16 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.537e-06/10.4, allocations: 0 / 4.253 GB, free: 57.16 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.875e-06/10.4, allocations: 7.766 kB / 4.253 GB, free: 57.16 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001703/10.4, allocations: 1.041 MB / 4.254 GB, free: 56.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.048e-06/10.4, allocations: 2.531 kB / 4.254 GB, free: 56.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/10.4, allocations: 55.72 kB / 4.254 GB, free: 56.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.037e-05/10.4, allocations: 3.781 kB / 4.254 GB, free: 56.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/10.4, allocations: 3.906 kB / 4.254 GB, free: 56.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.872e-06/10.4, allocations: 3.906 kB / 4.254 GB, free: 56.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.787e-06/10.4, allocations: 3.938 kB / 4.254 GB, free: 56.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007672/10.4, allocations: 0.6386 MB / 4.254 GB, free: 55.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/10.4, allocations: 131.5 kB / 4.255 GB, free: 55.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.918e-05/10.4, allocations: 7.438 kB / 4.255 GB, free: 55.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004815/10.4, allocations: 22.14 kB / 4.255 GB, free: 55.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/10.4, allocations: 23.8 kB / 4.255 GB, free: 55.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/10.41, allocations: 18.78 kB / 4.255 GB, free: 55.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003349/10.41, allocations: 256.9 kB / 4.255 GB, free: 55.57 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.34e-07/10.41, allocations: 3.188 kB / 4.255 GB, free: 55.57 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00185/10.41, allocations: 466.5 kB / 4.255 GB, free: 55.42 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 () * Number of clocked 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.002378/10.41, allocations: 1.247 MB / 4.257 GB, free: 55.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009155/10.41, allocations: 423.1 kB / 4.257 GB, free: 54.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.727e-06/10.41, allocations: 0 / 4.257 GB, free: 54.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002915/10.41, allocations: 124.6 kB / 4.257 GB, free: 54.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/10.41, allocations: 155.5 kB / 4.257 GB, free: 54.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/10.41, allocations: 1.076 MB / 4.258 GB, free: 54.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003812/10.41, allocations: 0.849 MB / 4.259 GB, free: 53.47 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/10.41, allocations: 36.97 kB / 4.259 GB, free: 53.46 MB / 426.7 MB Notification: Performance of SimCode: time 1.671e-06/10.41, allocations: 0 / 4.259 GB, free: 53.46 MB / 426.7 MB Notification: Performance of Templates: time 0.02234/10.44, allocations: 14.2 MB / 4.273 GB, free: 40.1 MB / 426.7 MB