Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.966/1.966, allocations: 209.2 MB / 224.8 MB, free: 0.6016 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.000472, allocations: 12 kB / 282.7 MB, free: 9.539 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3551/0.3557, allocations: 48.69 MB / 331.4 MB, free: 6.406 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.78/11.14, allocations: 3.623 GB / 3.947 GB, free: 119.6 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/11.14, allocations: 84.12 kB / 3.947 GB, free: 119.6 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.435/12.57, allocations: 303 MB / 4.243 GB, free: 4.586 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.074e-06/12.57, allocations: 0 / 4.243 GB, free: 4.586 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.287e-05/12.57, allocations: 11.98 kB / 4.243 GB, free: 4.574 MB / 442.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.005547/12.58, allocations: 1.629 MB / 4.244 GB, free: 2.879 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/12.58, allocations: 16.02 kB / 4.245 GB, free: 2.863 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001706/12.58, allocations: 74.53 kB / 4.245 GB, free: 2.781 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003334/12.58, allocations: 55.44 kB / 4.245 GB, free: 2.727 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008542/12.58, allocations: 407 kB / 4.245 GB, free: 2.289 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.681e-05/12.58, allocations: 37 kB / 4.245 GB, free: 2.254 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.599e-05/12.58, allocations: 36 kB / 4.245 GB, free: 2.219 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/12.58, allocations: 0.508 MB / 4.246 GB, free: 1.68 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/12.58, allocations: 4 kB / 4.246 GB, free: 1.676 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.783e-05/12.58, allocations: 20 kB / 4.246 GB, free: 1.656 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/12.58, allocations: 11.94 kB / 4.246 GB, free: 1.645 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/12.58, allocations: 479.6 kB / 4.246 GB, free: 1.176 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3278/12.91, allocations: 1.946 MB / 4.248 GB, free: 66.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009164/12.91, allocations: 379.7 kB / 4.248 GB, free: 65.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/12.91, allocations: 0.9553 MB / 4.249 GB, free: 64.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.617e-05/12.91, allocations: 43.97 kB / 4.249 GB, free: 64.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 3.867e-06/12.91, allocations: 0 / 4.249 GB, free: 64.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.001587/12.91, allocations: 397.8 kB / 4.25 GB, free: 64.75 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/12.91, allocations: 109.2 kB / 4.25 GB, free: 64.62 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004503/12.91, allocations: 266.9 kB / 4.25 GB, free: 64.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.675e-05/12.91, allocations: 37.05 kB / 4.25 GB, free: 64.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/12.91, allocations: 306.7 kB / 4.25 GB, free: 64.29 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/12.91, allocations: 99.75 kB / 4.25 GB, free: 64.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.588e-05/12.91, allocations: 9 kB / 4.25 GB, free: 64.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.122e-05/12.91, allocations: 328.2 kB / 4.251 GB, free: 63.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004726/12.91, allocations: 125.7 kB / 4.251 GB, free: 63.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005291/12.91, allocations: 302.9 kB / 4.251 GB, free: 63.72 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005771/12.91, allocations: 235.2 kB / 4.251 GB, free: 63.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/12.91, allocations: 4.969 kB / 4.251 GB, free: 63.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001493/12.92, allocations: 0.5274 MB / 4.252 GB, free: 63.55 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.578e-05/12.92, allocations: 64.23 kB / 4.252 GB, free: 63.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/12.92, allocations: 6.938 kB / 4.252 GB, free: 63.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.851e-05/12.92, allocations: 9.094 kB / 4.252 GB, free: 63.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007125/12.92, allocations: 104.3 kB / 4.252 GB, free: 63.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.358e-05/12.92, allocations: 19.19 kB / 4.252 GB, free: 63.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006271/12.92, allocations: 55.06 kB / 4.252 GB, free: 63.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.411e-05/12.92, allocations: 24.81 kB / 4.252 GB, free: 63.48 MB / 442.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.0003782/12.92, allocations: 191.2 kB / 4.252 GB, free: 63.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/12.92, allocations: 38.78 kB / 4.252 GB, free: 63.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/12.92, allocations: 439.2 kB / 4.253 GB, free: 63.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.807e-06/12.92, allocations: 3.188 kB / 4.253 GB, free: 63.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/12.92, allocations: 3.25 kB / 4.253 GB, free: 63.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/12.92, allocations: 5.562 kB / 4.253 GB, free: 63.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/12.92, allocations: 1.04 MB / 4.254 GB, free: 62.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/12.92, allocations: 2.25 kB / 4.254 GB, free: 62.69 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004275/12.92, allocations: 53.33 kB / 4.254 GB, free: 62.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-05/12.92, allocations: 4.234 kB / 4.254 GB, free: 62.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/12.92, allocations: 8.25 kB / 4.254 GB, free: 62.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/12.92, allocations: 6.031 kB / 4.254 GB, free: 62.69 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/12.92, allocations: 7.703 kB / 4.254 GB, free: 62.69 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/12.92, allocations: 0.6405 MB / 4.255 GB, free: 62.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/12.92, allocations: 132 kB / 4.255 GB, free: 62.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.678e-05/12.92, allocations: 5.719 kB / 4.255 GB, free: 62.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005347/12.92, allocations: 19.39 kB / 4.255 GB, free: 62.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.764e-05/12.92, allocations: 20.94 kB / 4.255 GB, free: 62.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.56e-05/12.92, allocations: 18.06 kB / 4.255 GB, free: 62.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004511/12.93, allocations: 257.9 kB / 4.255 GB, free: 62.01 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/12.93, allocations: 0 / 4.255 GB, free: 62.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002502/12.93, allocations: 461.1 kB / 4.255 GB, free: 62 MB / 442.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.005358/12.93, allocations: 2.89 MB / 4.258 GB, free: 60.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001393/12.93, allocations: 417.5 kB / 4.259 GB, free: 60.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/12.93, allocations: 2.844 kB / 4.259 GB, free: 60.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004709/12.94, allocations: 118.6 kB / 4.259 GB, free: 60.26 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/12.94, allocations: 154.2 kB / 4.259 GB, free: 60.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005303/12.94, allocations: 5.599 MB / 4.264 GB, free: 55.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/12.94, allocations: 0.8477 MB / 4.265 GB, free: 54.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004133/12.94, allocations: 140.4 kB / 4.265 GB, free: 54.72 MB / 442.7 MB Notification: Performance of SimCode: time 1.482e-06/12.94, allocations: 0 / 4.265 GB, free: 54.72 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.937/15.88, allocations: 15.94 MB / 4.281 GB, free: 54.16 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat does not exist to compare? outputFormat=mat