Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.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 Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01172/0.01172, allocations: 103.9 kB / 15.05 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001298/0.001297, allocations: 169.8 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.597/1.597, allocations: 170.9 MB / 187.5 MB, free: 0.9961 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.254/0.254, allocations: 38.09 MB / 265.1 MB, free: 3.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006522/0.0006524, allocations: 8 kB / 323.6 MB, free: 29.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1076, allocations: 48.71 MB / 372.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5734/0.6811, allocations: 148.4 MB / 0.5085 GB, free: 3.078 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006538/0.6877, allocations: 3.284 MB / 0.5117 GB, free: 15.79 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000522/0.6883, allocations: 15.81 kB / 0.5118 GB, free: 15.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000711/0.689, allocations: 151.2 kB / 0.5119 GB, free: 15.62 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007555/0.6898, allocations: 223.4 kB / 0.5121 GB, free: 15.4 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006914/0.6967, allocations: 1.592 MB / 0.5137 GB, free: 13.81 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00132/0.698, allocations: 0.5394 MB / 0.5142 GB, free: 13.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006296/0.6987, allocations: 276.8 kB / 0.5145 GB, free: 13.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004568/0.7033, allocations: 1.212 MB / 0.5156 GB, free: 11.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005882/0.7039, allocations: 227.2 kB / 0.5159 GB, free: 11.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.704, allocations: 24 kB / 0.5159 GB, free: 11.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007013/0.7111, allocations: 2.481 MB / 0.5183 GB, free: 9.062 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003691/0.7115, allocations: 159.5 kB / 0.5185 GB, free: 8.906 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.7117, allocations: 113.5 kB / 0.5186 GB, free: 8.789 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004026/0.7158, allocations: 1.338 MB / 0.5199 GB, free: 7.449 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.7158, allocations: 0 / 0.5199 GB, free: 7.449 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.7158, allocations: 4 kB / 0.5199 GB, free: 7.445 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.7159, allocations: 0 / 0.5199 GB, free: 7.445 MB / 378.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.0029/0.7188, allocations: 0.9585 MB / 0.5208 GB, free: 6.426 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.7189, allocations: 8.031 kB / 0.5208 GB, free: 6.418 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001721/0.719, allocations: 82.47 kB / 0.5209 GB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003627/0.7194, allocations: 59.42 kB / 0.521 GB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009325/0.7204, allocations: 378.1 kB / 0.5213 GB, free: 5.859 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.947e-05/0.7204, allocations: 29 kB / 0.5213 GB, free: 5.828 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.945e-05/0.7205, allocations: 36 kB / 0.5214 GB, free: 5.793 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.722, allocations: 0.5081 MB / 0.5219 GB, free: 5.258 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.722, allocations: 4 kB / 0.5219 GB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.253e-05/0.7221, allocations: 16 kB / 0.5219 GB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.7222, allocations: 8 kB / 0.5219 GB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.7237, allocations: 0.4917 MB / 0.5224 GB, free: 4.738 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004617/0.7284, allocations: 1.966 MB / 0.5243 GB, free: 2.641 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.7294, allocations: 392.7 kB / 0.5247 GB, free: 2.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/0.7306, allocations: 0.9494 MB / 0.5256 GB, free: 1.059 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.7307, allocations: 34.56 kB / 0.5256 GB, free: 1.016 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 3.357e-06/0.7307, allocations: 4 kB / 0.5256 GB, free: 1.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001668/0.7324, allocations: 398.9 kB / 0.526 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.996e-05/0.7325, allocations: 110.8 kB / 0.5261 GB, free: 496 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004941/0.733, allocations: 308.5 kB / 0.5264 GB, free: 168 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.042e-05/0.7331, allocations: 33.7 kB / 0.5265 GB, free: 128 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.7334, allocations: 247.4 kB / 0.5267 GB, free: 15.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.7335, allocations: 102.5 kB / 0.5268 GB, free: 15.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.933e-05/0.7336, allocations: 12 kB / 0.5268 GB, free: 15.77 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.7337, allocations: 342.8 kB / 0.5271 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005021/0.7343, allocations: 120.8 kB / 0.5272 GB, free: 15.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/0.7349, allocations: 303.4 kB / 0.5275 GB, free: 14.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/0.7355, allocations: 239.3 kB / 0.5278 GB, free: 14.68 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.7355, allocations: 0 / 0.5278 GB, free: 14.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001699/0.7373, allocations: 0.5474 MB / 0.5283 GB, free: 14.11 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.297e-05/0.7374, allocations: 64.17 kB / 0.5284 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.7374, allocations: 8 kB / 0.5284 GB, free: 14.03 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/0.7374, allocations: 8 kB / 0.5284 GB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007393/0.7382, allocations: 107.8 kB / 0.5285 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.42e-05/0.7382, allocations: 11.94 kB / 0.5285 GB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005753/0.7388, allocations: 59.61 kB / 0.5285 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.695e-05/0.7389, allocations: 24 kB / 0.5286 GB, free: 13.82 MB / 394.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.000373/0.7393, allocations: 186.7 kB / 0.5287 GB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.7395, allocations: 43.48 kB / 0.5288 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.7411, allocations: 429 kB / 0.5292 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.7411, allocations: 8.031 kB / 0.5292 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.7411, allocations: 0 / 0.5292 GB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.7412, allocations: 4.172 kB / 0.5292 GB, free: 13.13 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002271/0.7434, allocations: 1.044 MB / 0.5302 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/0.7435, allocations: 7.938 kB / 0.5302 GB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/0.744, allocations: 44.16 kB / 0.5303 GB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/0.744, allocations: 11.94 kB / 0.5303 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.025e-05/0.744, allocations: 8.062 kB / 0.5303 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.2e-05/0.744, allocations: 8 kB / 0.5303 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.7441, allocations: 3.938 kB / 0.5303 GB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001167/0.7452, allocations: 0.6381 MB / 0.5309 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001789/0.7454, allocations: 136.5 kB / 0.5311 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.219e-05/0.7456, allocations: 15.94 kB / 0.5311 GB, free: 11.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005423/0.7461, allocations: 19.98 kB / 0.5311 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.18e-05/0.7462, allocations: 15.98 kB / 0.5311 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.7463, allocations: 12 kB / 0.5311 GB, free: 10.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004672/0.7467, allocations: 263.1 kB / 0.5314 GB, free: 10.72 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7468, allocations: 0 / 0.5314 GB, free: 10.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001722/0.7485, allocations: 363.5 kB / 0.5317 GB, free: 10.37 MB / 394.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.003689/0.7522, allocations: 2.203 MB / 0.5339 GB, free: 8.109 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001289/0.7536, allocations: 422.3 kB / 0.5343 GB, free: 7.672 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.7536, allocations: 1.5 kB / 0.5343 GB, free: 7.672 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004372/0.754, allocations: 120.1 kB / 0.5344 GB, free: 7.555 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.7556, allocations: 159.9 kB / 0.5345 GB, free: 7.402 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004954/0.7606, allocations: 5.374 MB / 0.5398 GB, free: 1.836 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005562/0.7612, allocations: 0.8392 MB / 0.5406 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007745/0.762, allocations: 107 kB / 0.5407 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.7623, allocations: 143.3 kB / 0.5408 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of SimCode: time 1.432e-06/0.7623, allocations: 3.938 kB / 0.5408 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0745/0.8368, allocations: 15.77 MB / 0.5563 GB, free: 1.051 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00035/0.8372, allocations: 235.1 kB / 0.5565 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.175/4.012, allocations: 0 / 0.5565 GB, free: 0.8164 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat does not exist to compare? outputFormat=mat