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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.551/2.551, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.191e-05/2.18e-05, allocations: 0 / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3723, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.32/11.7, allocations: 3.629 GB / 3.979 GB, free: 123.7 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/11.7, allocations: 87.7 kB / 3.979 GB, free: 123.7 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.66/13.36, allocations: 301.1 MB / 4.273 GB, free: 39.89 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.873e-06/13.36, allocations: 0 / 4.273 GB, free: 39.89 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.754e-05/13.36, allocations: 12 kB / 4.273 GB, free: 39.88 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.005695/13.36, allocations: 1.595 MB / 4.275 GB, free: 38.23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/13.36, allocations: 8.031 kB / 4.275 GB, free: 38.22 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004031/13.36, allocations: 51.53 kB / 4.275 GB, free: 38.17 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000883/13.37, allocations: 406.5 kB / 4.275 GB, free: 37.74 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/13.37, allocations: 15.95 kB / 4.275 GB, free: 37.73 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.244e-05/13.37, allocations: 24 kB / 4.275 GB, free: 37.7 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001054/13.37, allocations: 421.4 kB / 4.276 GB, free: 37.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009201/13.37, allocations: 436 kB / 4.276 GB, free: 36.84 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/13.37, allocations: 0 / 4.276 GB, free: 36.84 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.596e-05/13.37, allocations: 0 / 4.276 GB, free: 36.84 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/13.37, allocations: 12 kB / 4.276 GB, free: 36.83 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004545/13.37, allocations: 2.823 MB / 4.279 GB, free: 33.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001028/13.37, allocations: 321 kB / 4.279 GB, free: 33.34 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/13.37, allocations: 98.53 kB / 4.279 GB, free: 33.23 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002556/13.37, allocations: 89.09 kB / 4.279 GB, free: 33.13 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/13.37, allocations: 50.48 kB / 4.279 GB, free: 33.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=20): time 2.845e-06/13.37, allocations: 0 / 4.279 GB, free: 33.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007649/13.37, allocations: 225 kB / 4.28 GB, free: 32.85 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/13.37, allocations: 110.8 kB / 4.28 GB, free: 32.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004133/13.37, allocations: 290.2 kB / 4.28 GB, free: 32.43 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/13.37, allocations: 29.7 kB / 4.28 GB, free: 32.39 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/13.38, allocations: 321.8 kB / 4.28 GB, free: 32.07 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.321e-05/13.38, allocations: 75 kB / 4.28 GB, free: 32 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.3e-05/13.38, allocations: 0 / 4.28 GB, free: 32 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.342e-05/13.38, allocations: 326.8 kB / 4.281 GB, free: 31.67 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/13.38, allocations: 96.84 kB / 4.281 GB, free: 31.57 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003227/13.38, allocations: 267.4 kB / 4.281 GB, free: 31.23 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009078/13.38, allocations: 231.7 kB / 4.281 GB, free: 31 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/13.38, allocations: 7.938 kB / 4.281 GB, free: 31 MB / 474.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001456/13.38, allocations: 488.6 kB / 4.282 GB, free: 30.51 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.55e-05/13.38, allocations: 61.91 kB / 4.282 GB, free: 30.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/13.38, allocations: 8 kB / 4.282 GB, free: 30.43 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.276e-05/13.38, allocations: 8.75 kB / 4.282 GB, free: 30.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006685/13.38, allocations: 107.8 kB / 4.282 GB, free: 30.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/13.38, allocations: 11.94 kB / 4.282 GB, free: 30.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00063/13.38, allocations: 55.42 kB / 4.282 GB, free: 30.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-05/13.38, allocations: 31.98 kB / 4.282 GB, free: 30.22 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.0001413/13.38, allocations: 116.9 kB / 4.282 GB, free: 30.1 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006567/13.38, allocations: 241.3 kB / 4.282 GB, free: 29.86 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/13.38, allocations: 31.62 kB / 4.282 GB, free: 29.83 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008731/13.38, allocations: 274 kB / 4.283 GB, free: 29.55 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/13.38, allocations: 0 / 4.283 GB, free: 29.55 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/13.38, allocations: 7.984 kB / 4.283 GB, free: 29.54 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/13.38, allocations: 0 / 4.283 GB, free: 29.54 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001689/13.38, allocations: 0.9983 MB / 4.284 GB, free: 28.46 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/13.38, allocations: 4.188 kB / 4.284 GB, free: 28.45 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/13.38, allocations: 39.97 kB / 4.284 GB, free: 28.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/13.38, allocations: 4 kB / 4.284 GB, free: 28.41 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/13.38, allocations: 12.38 kB / 4.284 GB, free: 28.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/13.38, allocations: 11.94 kB / 4.284 GB, free: 28.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/13.38, allocations: 4 kB / 4.284 GB, free: 28.38 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006936/13.38, allocations: 0.7102 MB / 4.284 GB, free: 27.54 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/13.38, allocations: 124.6 kB / 4.284 GB, free: 27.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.926e-05/13.38, allocations: 4 kB / 4.284 GB, free: 27.39 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005066/13.39, allocations: 15.98 kB / 4.284 GB, free: 27.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/13.39, allocations: 27.88 kB / 4.284 GB, free: 27.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/13.39, allocations: 23.92 kB / 4.285 GB, free: 27.32 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003112/13.39, allocations: 216.6 kB / 4.285 GB, free: 27.11 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.71e-07/13.39, allocations: 4 kB / 4.285 GB, free: 27.11 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002101/13.39, allocations: 431.3 kB / 4.285 GB, free: 26.69 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.004391/13.39, allocations: 3.469 MB / 4.289 GB, free: 23.24 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0008136/13.39, allocations: 342.4 kB / 4.289 GB, free: 22.88 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/13.39, allocations: 0 / 4.289 GB, free: 22.88 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002232/13.39, allocations: 85.34 kB / 4.289 GB, free: 22.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/13.39, allocations: 169.5 kB / 4.289 GB, free: 22.64 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/13.4, allocations: 0.8243 MB / 4.29 GB, free: 21.73 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/13.4, allocations: 0.8308 MB / 4.291 GB, free: 20.87 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002976/13.4, allocations: 127.4 kB / 4.291 GB, free: 20.75 MB / 474.7 MB Notification: Performance of SimCode: time 1.343e-06/13.4, allocations: 0 / 4.291 GB, free: 20.75 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.215/16.61, allocations: 15.76 MB / 4.306 GB, free: 4.984 MB / 474.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