Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 107.5 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001442/0.001442, allocations: 197.2 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.1 MB / 222.8 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3658/0.3658, allocations: 43.5 MB / 313.6 MB, free: 8.469 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 67.91 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.137, allocations: 57.78 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4223/0.5594, allocations: 184.1 MB / 0.6096 GB, free: 3.59 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.5613, allocations: 0.9091 MB / 0.6105 GB, free: 2.68 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.5616, allocations: 15.88 kB / 0.6105 GB, free: 2.664 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000776/0.5624, allocations: 179.1 kB / 0.6107 GB, free: 2.488 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006425/0.5631, allocations: 262.6 kB / 0.6109 GB, free: 2.23 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005463/0.5686, allocations: 1.967 MB / 0.6128 GB, free: 280 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001197/0.5698, allocations: 0.9849 MB / 0.6138 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000442/0.5702, allocations: 325.4 kB / 0.6141 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003568/0.5738, allocations: 1.636 MB / 0.6157 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004754/0.5743, allocations: 346.7 kB / 0.616 GB, free: 13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.668e-05/0.5744, allocations: 44 kB / 0.6161 GB, free: 12.96 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00465/0.579, allocations: 2.94 MB / 0.619 GB, free: 10.02 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002217/0.5793, allocations: 207.5 kB / 0.6192 GB, free: 9.812 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002797/0.5796, allocations: 270.9 kB / 0.6194 GB, free: 9.547 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003229/0.5828, allocations: 2.171 MB / 0.6215 GB, free: 7.371 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.5828, allocations: 7.938 kB / 0.6215 GB, free: 7.363 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5828, allocations: 0 / 0.6215 GB, free: 7.363 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.957e-06/0.5829, allocations: 4 kB / 0.6215 GB, free: 7.359 MB / 494.1 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.002028/0.5849, allocations: 1.057 MB / 0.6226 GB, free: 6.242 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.585, allocations: 11.89 kB / 0.6226 GB, free: 6.23 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.94e-05/0.5851, allocations: 74.53 kB / 0.6227 GB, free: 6.148 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002704/0.5853, allocations: 59.44 kB / 0.6227 GB, free: 6.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005065/0.5859, allocations: 369.9 kB / 0.6231 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.612e-05/0.5859, allocations: 25 kB / 0.6231 GB, free: 5.668 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.473e-05/0.586, allocations: 39.94 kB / 0.6231 GB, free: 5.629 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008961/0.5869, allocations: 0.5229 MB / 0.6236 GB, free: 5.078 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.5869, allocations: 0 / 0.6236 GB, free: 5.078 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.092e-05/0.587, allocations: 20 kB / 0.6237 GB, free: 5.059 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.587, allocations: 8 kB / 0.6237 GB, free: 5.051 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008304/0.5878, allocations: 499.5 kB / 0.6241 GB, free: 4.562 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002596/0.5904, allocations: 1.983 MB / 0.6261 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007412/0.5912, allocations: 458.4 kB / 0.6265 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.5915, allocations: 182.5 kB / 0.6267 GB, free: 1.766 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000842/0.5924, allocations: 0.9415 MB / 0.6276 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.5924, allocations: 42.66 kB / 0.6277 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of pre-optimization done (n=30): time 1.844e-06/0.5924, allocations: 0 / 0.6277 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of matching and sorting (n=30): time 0.001159/0.5936, allocations: 0.4957 MB / 0.6281 GB, free: 72 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2579/0.8515, allocations: 104.2 kB / 0.6282 GB, free: 158.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006548/0.8522, allocations: 398.5 kB / 0.6286 GB, free: 158 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001614/0.8524, allocations: 32.52 kB / 0.6287 GB, free: 158 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.8526, allocations: 219.8 kB / 0.6289 GB, free: 157.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.962e-05/0.8527, allocations: 105.7 kB / 0.629 GB, free: 157.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.8528, allocations: 79.27 kB / 0.629 GB, free: 157.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.429e-05/0.8529, allocations: 351.6 kB / 0.6294 GB, free: 157.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003354/0.8533, allocations: 150.1 kB / 0.6295 GB, free: 157.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/0.8536, allocations: 266.2 kB / 0.6298 GB, free: 157.4 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006339/0.8543, allocations: 480.4 kB / 0.6302 GB, free: 157.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.8543, allocations: 3.75 kB / 0.6302 GB, free: 157.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008927/0.8552, allocations: 0.5437 MB / 0.6308 GB, free: 157.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.123e-05/0.8552, allocations: 63.05 kB / 0.6308 GB, free: 157 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.8553, allocations: 2.906 kB / 0.6308 GB, free: 157 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.8553, allocations: 5.656 kB / 0.6308 GB, free: 157 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003866/0.8557, allocations: 88.62 kB / 0.6309 GB, free: 157 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.8557, allocations: 8 kB / 0.6309 GB, free: 157 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/0.8561, allocations: 56.31 kB / 0.631 GB, free: 157 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.033e-05/0.8561, allocations: 18.25 kB / 0.631 GB, free: 157 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002117/0.8563, allocations: 193.7 kB / 0.6312 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.8565, allocations: 44.53 kB / 0.6312 GB, free: 156.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009695/0.8575, allocations: 491.9 kB / 0.6317 GB, free: 156.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.8575, allocations: 5.812 kB / 0.6317 GB, free: 156.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.8575, allocations: 7.344 kB / 0.6317 GB, free: 156.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.8575, allocations: 2.062 kB / 0.6317 GB, free: 156.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/0.8598, allocations: 2.429 MB / 0.6341 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.8598, allocations: 6.672 kB / 0.6341 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.8601, allocations: 65.67 kB / 0.6341 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.8601, allocations: 3.391 kB / 0.6341 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.8602, allocations: 12.41 kB / 0.6342 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.8602, allocations: 4.344 kB / 0.6342 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8602, allocations: 2.906 kB / 0.6342 GB, free: 154.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005906/0.8608, allocations: 0.6437 MB / 0.6348 GB, free: 154.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.935e-05/0.8609, allocations: 125.4 kB / 0.6349 GB, free: 154.4 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.874e-05/0.8609, allocations: 12.97 kB / 0.6349 GB, free: 154.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000431/0.8614, allocations: 31.12 kB / 0.635 GB, free: 154.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-05/0.8615, allocations: 25.72 kB / 0.635 GB, free: 154.4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.8615, allocations: 24.56 kB / 0.635 GB, free: 154.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003093/0.8618, allocations: 363.2 kB / 0.6354 GB, free: 154.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8618, allocations: 0 / 0.6354 GB, free: 154.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001047/0.8629, allocations: 381.8 kB / 0.6357 GB, free: 154.3 MB / 494.1 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001952/0.8648, allocations: 1.652 MB / 0.6373 GB, free: 153.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007267/0.8656, allocations: 480.9 kB / 0.6378 GB, free: 153.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.8656, allocations: 3.516 kB / 0.6378 GB, free: 153.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002866/0.8659, allocations: 163.5 kB / 0.6379 GB, free: 153.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001343/0.8672, allocations: 278.3 kB / 0.6382 GB, free: 153.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004886/0.8721, allocations: 4.786 MB / 0.6429 GB, free: 150.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.8724, allocations: 0.8413 MB / 0.6437 GB, free: 149.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004555/0.8729, allocations: 114.6 kB / 0.6438 GB, free: 149.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.8731, allocations: 146.4 kB / 0.644 GB, free: 149.5 MB / 494.1 MB Notification: Performance of SimCode: time 6.91e-07/0.8731, allocations: 3.094 kB / 0.644 GB, free: 149.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04222/0.9153, allocations: 20.41 MB / 0.6639 GB, free: 146.2 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/0.9156, allocations: 260.5 kB / 0.6641 GB, free: 145.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.527/4.442, allocations: 1.375 kB / 0.6641 GB, free: 145.9 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestTraceSubstances/TestTraceSubstances.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches