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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.002185/0.002185, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.617/1.617, allocations: 221.3 MB / 236 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009933/0.0009932, allocations: 99.66 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2313/0.2313, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.871e-05/3.884e-05, allocations: 8.156 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1651, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.612/8.777, allocations: 3.41 GB / 3.912 GB, free: 88.71 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002279/8.777, allocations: 82.95 kB / 3.912 GB, free: 88.67 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.154/9.931, allocations: 297.8 MB / 4.203 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.734e-06/9.931, allocations: 0 / 4.203 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.828e-05/9.931, allocations: 12 kB / 4.203 GB, free: 5.602 MB / 0.5261 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.005725/9.937, allocations: 1.558 MB / 4.204 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/9.937, allocations: 12.03 kB / 4.204 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002135/9.937, allocations: 78.52 kB / 4.204 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004418/9.938, allocations: 59.39 kB / 4.204 GB, free: 3.828 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008154/9.939, allocations: 362.2 kB / 4.205 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/9.939, allocations: 24.78 kB / 4.205 GB, free: 3.406 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.604e-05/9.939, allocations: 36 kB / 4.205 GB, free: 3.371 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008808/9.94, allocations: 0.4897 MB / 4.205 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/9.94, allocations: 3.938 kB / 4.205 GB, free: 2.852 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.862e-05/9.94, allocations: 12 kB / 4.205 GB, free: 2.84 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/9.94, allocations: 8 kB / 4.205 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007405/9.941, allocations: 467.4 kB / 4.206 GB, free: 2.375 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002666/9.943, allocations: 1.959 MB / 4.207 GB, free: 280 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4788/10.42, allocations: 446.2 kB / 4.208 GB, free: 91.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005118/10.42, allocations: 163.1 kB / 4.208 GB, free: 91.38 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/10.42, allocations: 0.9523 MB / 4.209 GB, free: 90.35 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.505e-05/10.42, allocations: 43.62 kB / 4.209 GB, free: 90.31 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 4.188e-06/10.42, allocations: 0 / 4.209 GB, free: 90.31 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.001132/10.43, allocations: 339.7 kB / 4.209 GB, free: 90.28 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/10.43, allocations: 108.3 kB / 4.209 GB, free: 90.16 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006131/10.43, allocations: 348 kB / 4.21 GB, free: 90.05 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/10.43, allocations: 36.39 kB / 4.21 GB, free: 90.02 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002114/10.43, allocations: 221.9 kB / 4.21 GB, free: 89.92 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/10.43, allocations: 104.9 kB / 4.21 GB, free: 89.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/10.43, allocations: 8.344 kB / 4.21 GB, free: 89.87 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001431/10.43, allocations: 352.5 kB / 4.21 GB, free: 89.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/10.43, allocations: 133.4 kB / 4.211 GB, free: 89.55 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003645/10.43, allocations: 244.4 kB / 4.211 GB, free: 89.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004072/10.43, allocations: 232.2 kB / 4.211 GB, free: 89.37 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/10.43, allocations: 1.156 kB / 4.211 GB, free: 89.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001043/10.43, allocations: 0.5204 MB / 4.212 GB, free: 89.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.161e-05/10.43, allocations: 62.14 kB / 4.212 GB, free: 89.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/10.43, allocations: 3.188 kB / 4.212 GB, free: 89.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.861e-05/10.43, allocations: 5.688 kB / 4.212 GB, free: 89.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004515/10.43, allocations: 91.03 kB / 4.212 GB, free: 89.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/10.43, allocations: 10.34 kB / 4.212 GB, free: 89.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004225/10.43, allocations: 59.97 kB / 4.212 GB, free: 89.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.022e-05/10.43, allocations: 21.88 kB / 4.212 GB, free: 89.18 MB / 0.5261 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 () * 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.0001186/10.43, allocations: 128.3 kB / 4.212 GB, free: 89.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/10.43, allocations: 41.97 kB / 4.212 GB, free: 89.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001037/10.43, allocations: 470.2 kB / 4.212 GB, free: 88.99 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.125e-05/10.43, allocations: 6.672 kB / 4.212 GB, free: 88.99 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/10.43, allocations: 1.156 kB / 4.212 GB, free: 88.99 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/10.43, allocations: 8.344 kB / 4.212 GB, free: 88.99 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/10.43, allocations: 2.43 MB / 4.215 GB, free: 87.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/10.43, allocations: 1.875 kB / 4.215 GB, free: 87.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003019/10.43, allocations: 71.48 kB / 4.215 GB, free: 87.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.086e-05/10.43, allocations: 3.125 kB / 4.215 GB, free: 87.11 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/10.43, allocations: 8.406 kB / 4.215 GB, free: 87.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.246e-06/10.43, allocations: 6.781 kB / 4.215 GB, free: 87.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/10.43, allocations: 2.625 kB / 4.215 GB, free: 87.11 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007986/10.44, allocations: 0.7102 MB / 4.216 GB, free: 86.62 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001483/10.44, allocations: 137.5 kB / 4.216 GB, free: 86.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.119e-05/10.44, allocations: 9.703 kB / 4.216 GB, free: 86.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004441/10.44, allocations: 34.56 kB / 4.216 GB, free: 86.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.979e-05/10.44, allocations: 32.61 kB / 4.216 GB, free: 86.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-05/10.44, allocations: 21.09 kB / 4.216 GB, free: 86.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006096/10.44, allocations: 354.5 kB / 4.216 GB, free: 86.41 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.21e-07/10.44, allocations: 0 / 4.216 GB, free: 86.41 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002094/10.44, allocations: 427.3 kB / 4.217 GB, free: 86.41 MB / 0.5261 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 () * 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.00474/10.44, allocations: 2.786 MB / 4.219 GB, free: 84.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009028/10.44, allocations: 443.9 kB / 4.22 GB, free: 84.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/10.44, allocations: 3 kB / 4.22 GB, free: 84.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002566/10.44, allocations: 157 kB / 4.22 GB, free: 84.67 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/10.45, allocations: 245.6 kB / 4.22 GB, free: 84.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/10.45, allocations: 0.794 MB / 4.221 GB, free: 84.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/10.45, allocations: 0.8424 MB / 4.222 GB, free: 83.78 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006346/10.45, allocations: 113.4 kB / 4.222 GB, free: 83.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002733/10.45, allocations: 142 kB / 4.222 GB, free: 83.77 MB / 0.5261 GB Notification: Performance of SimCode: time 8.31e-07/10.45, allocations: 0 / 4.222 GB, free: 83.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08545/10.54, allocations: 32.34 MB / 4.254 GB, free: 83.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002534/10.54, allocations: 211.7 kB / 4.254 GB, free: 82.94 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.565/14.1, allocations: 4 kB / 4.254 GB, free: 82.94 MB / 0.5261 GB (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