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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001362/0.001362, allocations: 184.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.84/1.84, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001154, allocations: 90.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2512/0.2512, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003862/0.0003862, allocations: 8 kB / 431.5 MB, free: 19.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1692, allocations: 58.85 MB / 490.4 MB, free: 8.559 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.3/9.469, allocations: 3.574 GB / 4.053 GB, free: 22.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/9.469, allocations: 91.62 kB / 4.053 GB, free: 22.25 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.213/10.68, allocations: 305.5 MB / 4.351 GB, free: 92.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.144e-06/10.68, allocations: 0 / 4.351 GB, free: 92.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.993e-05/10.68, allocations: 11.84 kB / 4.351 GB, free: 92.37 MB / 0.4948 GB 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.0059/10.69, allocations: 1.636 MB / 4.353 GB, free: 91.23 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/10.69, allocations: 7.188 kB / 4.353 GB, free: 91.23 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002186/10.69, allocations: 82.84 kB / 4.353 GB, free: 91.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003609/10.69, allocations: 58.69 kB / 4.353 GB, free: 91.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007324/10.69, allocations: 369.3 kB / 4.353 GB, free: 90.93 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/10.69, allocations: 31.59 kB / 4.353 GB, free: 90.92 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.845e-05/10.69, allocations: 37.88 kB / 4.353 GB, free: 90.92 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009278/10.69, allocations: 0.4998 MB / 4.354 GB, free: 90.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/10.69, allocations: 10.88 kB / 4.354 GB, free: 90.81 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.501e-05/10.69, allocations: 17.91 kB / 4.354 GB, free: 90.81 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/10.69, allocations: 7.438 kB / 4.354 GB, free: 90.81 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007905/10.69, allocations: 498.4 kB / 4.354 GB, free: 90.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002498/10.69, allocations: 1.977 MB / 4.356 GB, free: 89.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000648/10.7, allocations: 458.8 kB / 4.357 GB, free: 89.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007225/10.7, allocations: 0.9526 MB / 4.358 GB, free: 88.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/10.7, allocations: 45.89 kB / 4.358 GB, free: 88.19 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=30): time 2.706e-06/10.7, allocations: 3.562 kB / 4.358 GB, free: 88.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30): time 0.001039/10.7, allocations: 0.5145 MB / 4.358 GB, free: 88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/10.7, allocations: 106.7 kB / 4.358 GB, free: 87.87 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/10.7, allocations: 349.4 kB / 4.359 GB, free: 87.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.954e-05/10.7, allocations: 32.95 kB / 4.359 GB, free: 87.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/10.7, allocations: 218.9 kB / 4.359 GB, free: 87.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.258e-05/10.7, allocations: 112.9 kB / 4.359 GB, free: 87.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/10.7, allocations: 7.344 kB / 4.359 GB, free: 87.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.944e-05/10.7, allocations: 352.5 kB / 4.359 GB, free: 87.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/10.7, allocations: 148.8 kB / 4.359 GB, free: 87.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/10.7, allocations: 262.5 kB / 4.36 GB, free: 86.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/10.7, allocations: 249.4 kB / 4.36 GB, free: 86.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/10.7, allocations: 3.062 kB / 4.36 GB, free: 86.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008957/10.7, allocations: 0.5594 MB / 4.361 GB, free: 86.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.545e-05/10.7, allocations: 66.7 kB / 4.361 GB, free: 86.39 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/10.7, allocations: 7.672 kB / 4.361 GB, free: 86.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/10.7, allocations: 7.125 kB / 4.361 GB, free: 86.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/10.7, allocations: 90.97 kB / 4.361 GB, free: 86.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/10.7, allocations: 11.2 kB / 4.361 GB, free: 86.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000414/10.7, allocations: 52.69 kB / 4.361 GB, free: 86.34 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.532e-05/10.7, allocations: 18.31 kB / 4.361 GB, free: 86.34 MB / 0.4948 GB 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.0002375/10.7, allocations: 188.1 kB / 4.361 GB, free: 86.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/10.7, allocations: 46.83 kB / 4.361 GB, free: 86.17 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009579/10.7, allocations: 0.4907 MB / 4.361 GB, free: 85.96 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.455e-06/10.7, allocations: 7.609 kB / 4.361 GB, free: 85.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/10.7, allocations: 3.938 kB / 4.361 GB, free: 85.96 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/10.7, allocations: 3.25 kB / 4.361 GB, free: 85.96 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002906/10.71, allocations: 2.461 MB / 4.364 GB, free: 83.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/10.71, allocations: 0 / 4.364 GB, free: 83.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/10.71, allocations: 62.88 kB / 4.364 GB, free: 83.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/10.71, allocations: 6.297 kB / 4.364 GB, free: 83.81 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/10.71, allocations: 7.594 kB / 4.364 GB, free: 83.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/10.71, allocations: 3.875 kB / 4.364 GB, free: 83.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/10.71, allocations: 3.219 kB / 4.364 GB, free: 83.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007577/10.71, allocations: 0.7384 MB / 4.365 GB, free: 83.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/10.71, allocations: 147.3 kB / 4.365 GB, free: 83.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.11e-05/10.71, allocations: 11.38 kB / 4.365 GB, free: 83.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004872/10.71, allocations: 29.09 kB / 4.365 GB, free: 83.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/10.71, allocations: 34.86 kB / 4.365 GB, free: 83.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-05/10.71, allocations: 17.44 kB / 4.365 GB, free: 83.05 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003679/10.71, allocations: 355.4 kB / 4.365 GB, free: 82.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.91e-07/10.71, allocations: 3.219 kB / 4.365 GB, free: 82.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00203/10.71, allocations: 475.2 kB / 4.366 GB, free: 82.74 MB / 0.4948 GB 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.004055/10.71, allocations: 2.969 MB / 4.369 GB, free: 80.87 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007892/10.71, allocations: 482.6 kB / 4.369 GB, free: 80.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/10.71, allocations: 0 / 4.369 GB, free: 80.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002878/10.71, allocations: 176.9 kB / 4.369 GB, free: 80.59 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/10.72, allocations: 238 kB / 4.369 GB, free: 80.54 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/10.72, allocations: 3.625 MB / 4.373 GB, free: 77.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/10.72, allocations: 0.8465 MB / 4.374 GB, free: 76.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000499/10.72, allocations: 112 kB / 4.374 GB, free: 76.65 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/10.72, allocations: 145.5 kB / 4.374 GB, free: 76.55 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/10.72, allocations: 0 / 4.374 GB, free: 76.55 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05808/10.78, allocations: 30.91 MB / 4.404 GB, free: 49.93 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001781/10.78, allocations: 236.1 kB / 4.405 GB, free: 49.69 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.083/13.86, allocations: 0 / 4.405 GB, free: 49.69 MB / 0.4948 GB (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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat does not exist to compare? outputFormat=mat