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.499/2.499, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.707e-05/3.724e-05, allocations: 4 kB / 309.8 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.432, allocations: 54.85 MB / 364.6 MB, free: 5.402 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.96/11.39, allocations: 3.63 GB / 3.986 GB, free: 103.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/11.39, allocations: 79.64 kB / 3.986 GB, free: 103.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763/13.16, allocations: 304.2 MB / 4.283 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.913e-06/13.16, allocations: 0 / 4.283 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.907e-05/13.16, allocations: 8 kB / 4.283 GB, free: 0.5156 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.3646/13.52, allocations: 1.587 MB / 4.285 GB, free: 77.58 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/13.52, allocations: 8.938 kB / 4.285 GB, free: 77.58 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/13.52, allocations: 74.86 kB / 4.285 GB, free: 77.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000425/13.52, allocations: 53.58 kB / 4.285 GB, free: 77.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/13.52, allocations: 407.2 kB / 4.285 GB, free: 77.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/13.52, allocations: 28.94 kB / 4.285 GB, free: 77.3 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/13.52, allocations: 42.02 kB / 4.285 GB, free: 77.3 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/13.52, allocations: 480.4 kB / 4.286 GB, free: 77.21 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/13.52, allocations: 5.844 kB / 4.286 GB, free: 77.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.893e-05/13.52, allocations: 16.5 kB / 4.286 GB, free: 77.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/13.52, allocations: 10.98 kB / 4.286 GB, free: 77.21 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/13.52, allocations: 457 kB / 4.286 GB, free: 77.21 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00445/13.53, allocations: 2.04 MB / 4.288 GB, free: 75.99 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008085/13.53, allocations: 364.2 kB / 4.289 GB, free: 75.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/13.53, allocations: 131.4 kB / 4.289 GB, free: 75.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001041/13.53, allocations: 0.9551 MB / 4.29 GB, free: 74.77 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/13.53, allocations: 40.31 kB / 4.29 GB, free: 74.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 3.156e-06/13.53, allocations: 0 / 4.29 GB, free: 74.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009969/13.53, allocations: 258.3 kB / 4.29 GB, free: 74.69 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/13.53, allocations: 116.1 kB / 4.29 GB, free: 74.56 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004486/13.53, allocations: 266.3 kB / 4.29 GB, free: 74.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.114e-05/13.53, allocations: 32.42 kB / 4.29 GB, free: 74.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/13.53, allocations: 306.5 kB / 4.291 GB, free: 74.22 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/13.53, allocations: 95.39 kB / 4.291 GB, free: 74.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/13.53, allocations: 10.25 kB / 4.291 GB, free: 74.17 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.044e-05/13.53, allocations: 332.1 kB / 4.291 GB, free: 73.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/13.53, allocations: 103.4 kB / 4.291 GB, free: 73.86 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004316/13.53, allocations: 284.2 kB / 4.291 GB, free: 73.64 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/13.54, allocations: 219 kB / 4.292 GB, free: 73.58 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/13.54, allocations: 1.375 kB / 4.292 GB, free: 73.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001361/13.54, allocations: 0.4924 MB / 4.292 GB, free: 73.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.896e-05/13.54, allocations: 63.78 kB / 4.292 GB, free: 73.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/13.54, allocations: 6.344 kB / 4.292 GB, free: 73.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.969e-05/13.54, allocations: 12.48 kB / 4.292 GB, free: 73.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007658/13.54, allocations: 104.5 kB / 4.292 GB, free: 73.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.528e-05/13.54, allocations: 11.56 kB / 4.292 GB, free: 73.41 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006383/13.54, allocations: 57.31 kB / 4.292 GB, free: 73.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.548e-05/13.54, allocations: 28.27 kB / 4.292 GB, free: 73.4 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 () * 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.0001716/13.54, allocations: 144.4 kB / 4.292 GB, free: 73.29 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/13.54, allocations: 35.91 kB / 4.293 GB, free: 73.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001293/13.54, allocations: 402.6 kB / 4.293 GB, free: 73.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.435e-06/13.54, allocations: 2.75 kB / 4.293 GB, free: 73.18 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/13.54, allocations: 5.062 kB / 4.293 GB, free: 73.18 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/13.54, allocations: 1.359 kB / 4.293 GB, free: 73.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/13.54, allocations: 1.004 MB / 4.294 GB, free: 72.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/13.54, allocations: 3.484 kB / 4.294 GB, free: 72.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004595/13.54, allocations: 53.95 kB / 4.294 GB, free: 72.61 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.32e-05/13.54, allocations: 3.781 kB / 4.294 GB, free: 72.61 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/13.54, allocations: 7.516 kB / 4.294 GB, free: 72.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/13.54, allocations: 4.25 kB / 4.294 GB, free: 72.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/13.54, allocations: 7.422 kB / 4.294 GB, free: 72.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008111/13.54, allocations: 0.6022 MB / 4.295 GB, free: 72.13 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/13.54, allocations: 129.9 kB / 4.295 GB, free: 72.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/13.54, allocations: 9.562 kB / 4.295 GB, free: 72.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005696/13.54, allocations: 21.42 kB / 4.295 GB, free: 72.02 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/13.54, allocations: 25.31 kB / 4.295 GB, free: 72.02 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.447e-05/13.54, allocations: 12.84 kB / 4.295 GB, free: 72.02 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004519/13.55, allocations: 259.5 kB / 4.295 GB, free: 71.93 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/13.55, allocations: 0 / 4.295 GB, free: 71.93 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002461/13.55, allocations: 465 kB / 4.295 GB, free: 71.93 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 () * 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.004868/13.55, allocations: 2.831 MB / 4.298 GB, free: 70.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001071/13.55, allocations: 389.6 kB / 4.299 GB, free: 70.19 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/13.55, allocations: 0 / 4.299 GB, free: 70.19 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003285/13.55, allocations: 99.67 kB / 4.299 GB, free: 70.19 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/13.56, allocations: 164.6 kB / 4.299 GB, free: 70.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003808/13.56, allocations: 0.9368 MB / 4.3 GB, free: 69.96 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/13.56, allocations: 0.8424 MB / 4.301 GB, free: 69.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003536/13.56, allocations: 146.3 kB / 4.301 GB, free: 69.26 MB / 490.7 MB Notification: Performance of SimCode: time 1.563e-06/13.56, allocations: 0 / 4.301 GB, free: 69.26 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.061/16.62, allocations: 16.03 MB / 4.316 GB, free: 68.81 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