Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.404/2.404, allocations: 234.9 MB / 250.5 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004415/0.0004417, allocations: 12 kB / 314.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3589, allocations: 54.86 MB / 369.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.71/11.07, allocations: 3.63 GB / 3.991 GB, free: 55.63 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/11.07, allocations: 92.48 kB / 3.991 GB, free: 55.58 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924/13, allocations: 304.7 MB / 4.288 GB, free: 89.62 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.455e-06/13, allocations: 0 / 4.288 GB, free: 89.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.492e-05/13, allocations: 7.719 kB / 4.288 GB, free: 89.62 MB / 490.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.005967/13, allocations: 1.642 MB / 4.29 GB, free: 88.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/13, allocations: 13.84 kB / 4.29 GB, free: 88.68 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002244/13, allocations: 78.12 kB / 4.29 GB, free: 88.64 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004012/13, allocations: 55.41 kB / 4.29 GB, free: 88.61 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009744/13, allocations: 401 kB / 4.291 GB, free: 88.4 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.978e-05/13.01, allocations: 28.84 kB / 4.291 GB, free: 88.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.011e-05/13.01, allocations: 41.16 kB / 4.291 GB, free: 88.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/13.01, allocations: 0.4946 MB / 4.291 GB, free: 88.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.455e-05/13.01, allocations: 6.172 kB / 4.291 GB, free: 88.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.056e-05/13.01, allocations: 19.94 kB / 4.291 GB, free: 88.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/13.01, allocations: 8.656 kB / 4.291 GB, free: 88.3 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001382/13.01, allocations: 486.8 kB / 4.292 GB, free: 88.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004187/13.01, allocations: 2.05 MB / 4.294 GB, free: 87.08 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000894/13.01, allocations: 380.1 kB / 4.294 GB, free: 86.91 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/13.01, allocations: 0.9594 MB / 4.295 GB, free: 85.88 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.696e-05/13.01, allocations: 40.77 kB / 4.295 GB, free: 85.84 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 4.379e-06/13.01, allocations: 3.891 kB / 4.295 GB, free: 85.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.001511/13.02, allocations: 400.3 kB / 4.295 GB, free: 85.79 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.703e-05/13.02, allocations: 109.5 kB / 4.295 GB, free: 85.66 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004268/13.02, allocations: 271.7 kB / 4.296 GB, free: 85.55 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.478e-05/13.02, allocations: 31.86 kB / 4.296 GB, free: 85.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/13.02, allocations: 303.5 kB / 4.296 GB, free: 85.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/13.02, allocations: 102 kB / 4.296 GB, free: 85.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/13.02, allocations: 5.375 kB / 4.296 GB, free: 85.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.944e-05/13.02, allocations: 332.1 kB / 4.296 GB, free: 84.96 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004382/13.02, allocations: 127.9 kB / 4.297 GB, free: 84.96 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005082/13.02, allocations: 308.6 kB / 4.297 GB, free: 84.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005364/13.02, allocations: 231.3 kB / 4.297 GB, free: 84.67 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/13.02, allocations: 2.406 kB / 4.297 GB, free: 84.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00144/13.02, allocations: 0.5351 MB / 4.298 GB, free: 84.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.278e-05/13.02, allocations: 60.09 kB / 4.298 GB, free: 84.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/13.02, allocations: 10.52 kB / 4.298 GB, free: 84.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/13.02, allocations: 11.12 kB / 4.298 GB, free: 84.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006851/13.02, allocations: 102.2 kB / 4.298 GB, free: 84.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/13.02, allocations: 21.78 kB / 4.298 GB, free: 84.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006017/13.02, allocations: 58.3 kB / 4.298 GB, free: 84.47 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.459e-05/13.02, allocations: 27.56 kB / 4.298 GB, free: 84.47 MB / 490.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.000353/13.02, allocations: 189.9 kB / 4.298 GB, free: 84.36 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/13.02, allocations: 30 kB / 4.298 GB, free: 84.34 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00143/13.02, allocations: 437.2 kB / 4.298 GB, free: 84.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/13.02, allocations: 6.844 kB / 4.298 GB, free: 84.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/13.02, allocations: 3.938 kB / 4.298 GB, free: 84.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/13.02, allocations: 3.562 kB / 4.298 GB, free: 84.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002069/13.03, allocations: 1.044 MB / 4.299 GB, free: 83.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/13.03, allocations: 3.375 kB / 4.3 GB, free: 83.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004137/13.03, allocations: 51.11 kB / 4.3 GB, free: 83.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/13.03, allocations: 3.875 kB / 4.3 GB, free: 83.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/13.03, allocations: 10.69 kB / 4.3 GB, free: 83.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/13.03, allocations: 3.906 kB / 4.3 GB, free: 83.66 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/13.03, allocations: 7.312 kB / 4.3 GB, free: 83.66 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/13.03, allocations: 0.6408 MB / 4.3 GB, free: 83.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/13.03, allocations: 126.7 kB / 4.3 GB, free: 83.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.043e-05/13.03, allocations: 10.34 kB / 4.3 GB, free: 83.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/13.03, allocations: 25.05 kB / 4.3 GB, free: 83.05 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/13.03, allocations: 21.83 kB / 4.3 GB, free: 83.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/13.03, allocations: 12.64 kB / 4.3 GB, free: 83.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004331/13.03, allocations: 266.9 kB / 4.301 GB, free: 82.96 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/13.03, allocations: 0 / 4.301 GB, free: 82.96 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002257/13.03, allocations: 464.7 kB / 4.301 GB, free: 82.87 MB / 490.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.004633/13.04, allocations: 2.864 MB / 4.304 GB, free: 81.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00126/13.04, allocations: 414.6 kB / 4.304 GB, free: 81.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/13.04, allocations: 6.562 kB / 4.304 GB, free: 81.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003936/13.04, allocations: 121.7 kB / 4.304 GB, free: 81.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/13.04, allocations: 156.6 kB / 4.305 GB, free: 81.03 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004713/13.04, allocations: 5.606 MB / 4.31 GB, free: 76.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/13.04, allocations: 0.8384 MB / 4.311 GB, free: 75.41 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/13.04, allocations: 143.5 kB / 4.311 GB, free: 75.4 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/13.04, allocations: 3.469 kB / 4.311 GB, free: 75.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.16/16.2, allocations: 15.93 MB / 4.327 GB, free: 74.27 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat does not exist to compare? outputFormat=mat