Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_4_0_0_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.001557/0.001557, allocations: 96.72 kB / 16.98 MB, free: 5.938 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.002087/0.002087, allocations: 188.7 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 223.2 MB / 241.8 MB, free: 392 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2152/0.2152, allocations: 44.23 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003335, allocations: 8 kB / 409.6 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.1318, allocations: 61.92 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4376/0.5695, allocations: 148.6 MB / 0.6057 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003212/0.5728, allocations: 1.852 MB / 0.6075 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003629/0.5731, allocations: 7.938 kB / 0.6075 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006222/0.5738, allocations: 159.2 kB / 0.6076 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004911/0.5743, allocations: 227.3 kB / 0.6078 GB, free: 10.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004006/0.5783, allocations: 1.393 MB / 0.6092 GB, free: 9.457 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007608/0.5791, allocations: 0.5434 MB / 0.6097 GB, free: 8.91 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000419/0.5795, allocations: 270.5 kB / 0.61 GB, free: 8.648 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002713/0.5822, allocations: 1.22 MB / 0.6112 GB, free: 7.426 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003355/0.5826, allocations: 231.2 kB / 0.6114 GB, free: 7.199 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.447e-05/0.5826, allocations: 20 kB / 0.6114 GB, free: 7.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003998/0.5866, allocations: 2.329 MB / 0.6137 GB, free: 4.848 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.5869, allocations: 163.5 kB / 0.6139 GB, free: 4.688 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001506/0.587, allocations: 121.5 kB / 0.614 GB, free: 4.562 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.5891, allocations: 1.262 MB / 0.6152 GB, free: 3.301 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5891, allocations: 0 / 0.6152 GB, free: 3.301 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.5891, allocations: 0 / 0.6152 GB, free: 3.301 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.5892, allocations: 4 kB / 0.6152 GB, free: 3.297 MB / 446.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.001672/0.5908, allocations: 0.9429 MB / 0.6161 GB, free: 2.293 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.5909, allocations: 8.031 kB / 0.6161 GB, free: 2.285 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.289e-05/0.591, allocations: 78.52 kB / 0.6162 GB, free: 2.199 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.5912, allocations: 63.38 kB / 0.6163 GB, free: 2.137 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005394/0.5918, allocations: 358.1 kB / 0.6166 GB, free: 1.746 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.5918, allocations: 25 kB / 0.6166 GB, free: 1.723 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.849e-05/0.5919, allocations: 36 kB / 0.6167 GB, free: 1.688 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000834/0.5927, allocations: 0.5196 MB / 0.6172 GB, free: 1.137 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.5928, allocations: 3.938 kB / 0.6172 GB, free: 1.133 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.073e-05/0.5928, allocations: 20 kB / 0.6172 GB, free: 1.113 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.5928, allocations: 12 kB / 0.6172 GB, free: 1.102 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008225/0.5937, allocations: 0.4892 MB / 0.6177 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002585/0.5962, allocations: 1.982 MB / 0.6196 GB, free: 14.49 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006787/0.5969, allocations: 465 kB / 0.6201 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008408/0.5978, allocations: 0.9497 MB / 0.621 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.5978, allocations: 46.5 kB / 0.621 GB, free: 12.78 MB / 462.1 MB Notification: Performance of pre-optimization done (n=30): time 2.965e-06/0.5979, allocations: 0 / 0.621 GB, free: 12.78 MB / 462.1 MB Notification: Performance of matching and sorting (n=30): time 0.00108/0.5989, allocations: 0.5079 MB / 0.6215 GB, free: 12.27 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.599, allocations: 106.8 kB / 0.6216 GB, free: 12.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004101/0.5994, allocations: 397.5 kB / 0.622 GB, free: 11.75 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.969e-05/0.5995, allocations: 37.7 kB / 0.622 GB, free: 11.7 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.5996, allocations: 216.1 kB / 0.6223 GB, free: 11.49 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.917e-05/0.5997, allocations: 106.5 kB / 0.6224 GB, free: 11.38 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.5998, allocations: 8 kB / 0.6224 GB, free: 11.38 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5999, allocations: 346.8 kB / 0.6227 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003012/0.6002, allocations: 156.6 kB / 0.6228 GB, free: 10.88 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.6006, allocations: 262.2 kB / 0.6231 GB, free: 10.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.6009, allocations: 247.1 kB / 0.6233 GB, free: 10.32 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.6009, allocations: 0 / 0.6233 GB, free: 10.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009378/0.6019, allocations: 0.5587 MB / 0.6239 GB, free: 9.746 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.649e-05/0.602, allocations: 67.39 kB / 0.6239 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/0.602, allocations: 4 kB / 0.6239 GB, free: 9.664 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.602, allocations: 8.062 kB / 0.624 GB, free: 9.656 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003822/0.6024, allocations: 87.83 kB / 0.624 GB, free: 9.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.6024, allocations: 4 kB / 0.624 GB, free: 9.566 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003772/0.6028, allocations: 67.77 kB / 0.6241 GB, free: 9.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.673e-05/0.6028, allocations: 23.98 kB / 0.6241 GB, free: 9.477 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000221/0.6031, allocations: 177.7 kB / 0.6243 GB, free: 9.293 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.6032, allocations: 47.48 kB / 0.6243 GB, free: 9.246 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009663/0.6042, allocations: 0.4935 MB / 0.6248 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.6042, allocations: 7.938 kB / 0.6248 GB, free: 8.738 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.6042, allocations: 4 kB / 0.6248 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.6042, allocations: 0 / 0.6248 GB, free: 8.734 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/0.6071, allocations: 2.439 MB / 0.6272 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.6071, allocations: 0 / 0.6272 GB, free: 5.949 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002823/0.6074, allocations: 67.89 kB / 0.6273 GB, free: 5.883 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/0.6074, allocations: 4 kB / 0.6273 GB, free: 5.879 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.6074, allocations: 12 kB / 0.6273 GB, free: 5.867 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.6074, allocations: 0 / 0.6273 GB, free: 5.867 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6074, allocations: 4 kB / 0.6273 GB, free: 5.863 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007902/0.6082, allocations: 0.7389 MB / 0.628 GB, free: 5.039 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.6084, allocations: 144.4 kB / 0.6282 GB, free: 4.879 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.847e-05/0.6085, allocations: 8.281 kB / 0.6282 GB, free: 4.871 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004476/0.6089, allocations: 31.97 kB / 0.6282 GB, free: 4.84 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.22e-05/0.609, allocations: 35.84 kB / 0.6282 GB, free: 4.805 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/0.6091, allocations: 19.98 kB / 0.6283 GB, free: 4.785 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003763/0.6094, allocations: 359.1 kB / 0.6286 GB, free: 4.434 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6095, allocations: 0 / 0.6286 GB, free: 4.434 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001055/0.6105, allocations: 335.6 kB / 0.6289 GB, free: 4.105 MB / 462.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 (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.002237/0.6128, allocations: 2.212 MB / 0.6311 GB, free: 1.832 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008154/0.6136, allocations: 482.3 kB / 0.6315 GB, free: 1.336 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.6136, allocations: 4 kB / 0.6315 GB, free: 1.332 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002843/0.6139, allocations: 164.8 kB / 0.6317 GB, free: 1.172 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.6151, allocations: 247.9 kB / 0.6319 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/0.6178, allocations: 3.574 MB / 0.6354 GB, free: 13.23 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003951/0.6182, allocations: 0.8471 MB / 0.6362 GB, free: 12.36 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004643/0.6187, allocations: 112.4 kB / 0.6364 GB, free: 12.25 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001995/0.6189, allocations: 147.4 kB / 0.6365 GB, free: 12.11 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6189, allocations: 0 / 0.6365 GB, free: 12.11 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0361/0.655, allocations: 18.08 MB / 0.6541 GB, free: 10.33 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/0.6553, allocations: 248.8 kB / 0.6544 GB, free: 10.09 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.306/2.962, allocations: 0 / 0.6544 GB, free: 10.09 MB / 494.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat does not exist to compare? outputFormat=mat