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.001218/0.001218, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.467/1.467, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 97.31 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.411/0.411, allocations: 44.23 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003791, allocations: 12 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4591/0.4595, allocations: 61.91 MB / 0.5096 GB, free: 38.24 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.113/9.572, allocations: 3.41 GB / 3.92 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/9.573, allocations: 97.36 kB / 3.92 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.33/10.9, allocations: 298.3 MB / 4.211 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.763e-06/10.9, allocations: 2.406 kB / 4.211 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.232e-05/10.9, allocations: 18.45 kB / 4.211 GB, free: 102.9 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.005284/10.91, allocations: 1.604 MB / 4.213 GB, free: 102 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/10.91, allocations: 10.69 kB / 4.213 GB, free: 102 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002261/10.91, allocations: 79.27 kB / 4.213 GB, free: 102 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003571/10.91, allocations: 53.06 kB / 4.213 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007263/10.91, allocations: 364.9 kB / 4.213 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.225e-05/10.91, allocations: 28.03 kB / 4.213 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.208e-05/10.91, allocations: 37.94 kB / 4.213 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009072/10.91, allocations: 0.5083 MB / 4.214 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/10.91, allocations: 7.625 kB / 4.214 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.473e-05/10.91, allocations: 16.31 kB / 4.214 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/10.91, allocations: 6.719 kB / 4.214 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008737/10.91, allocations: 495 kB / 4.214 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002523/10.91, allocations: 1.973 MB / 4.216 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006381/10.92, allocations: 465 kB / 4.217 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008058/10.92, allocations: 0.9547 MB / 4.217 GB, free: 99.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/10.92, allocations: 44.28 kB / 4.217 GB, free: 99.16 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 2.615e-06/10.92, allocations: 6.656 kB / 4.217 GB, free: 99.16 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.001076/10.92, allocations: 0.4973 MB / 4.218 GB, free: 99.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.065e-05/10.92, allocations: 109.3 kB / 4.218 GB, free: 98.97 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/10.92, allocations: 357.4 kB / 4.218 GB, free: 98.86 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.266e-05/10.92, allocations: 32.45 kB / 4.218 GB, free: 98.83 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/10.92, allocations: 219.4 kB / 4.219 GB, free: 98.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.888e-05/10.92, allocations: 115 kB / 4.219 GB, free: 98.64 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/10.92, allocations: 3.688 kB / 4.219 GB, free: 98.64 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.6e-05/10.92, allocations: 348.6 kB / 4.219 GB, free: 98.32 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000288/10.92, allocations: 157.6 kB / 4.219 GB, free: 98.32 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/10.92, allocations: 266.2 kB / 4.22 GB, free: 98.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/10.92, allocations: 241.6 kB / 4.22 GB, free: 98.13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/10.92, allocations: 1.5 kB / 4.22 GB, free: 98.13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000912/10.92, allocations: 0.5606 MB / 4.22 GB, free: 97.99 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.112e-05/10.92, allocations: 69.44 kB / 4.22 GB, free: 97.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/10.92, allocations: 3.844 kB / 4.22 GB, free: 97.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/10.92, allocations: 7.688 kB / 4.22 GB, free: 97.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003778/10.92, allocations: 89.81 kB / 4.22 GB, free: 97.92 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/10.92, allocations: 7.875 kB / 4.22 GB, free: 97.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000428/10.92, allocations: 58.59 kB / 4.221 GB, free: 97.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-05/10.92, allocations: 24.12 kB / 4.221 GB, free: 97.89 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 () * 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.0002266/10.92, allocations: 178.8 kB / 4.221 GB, free: 97.78 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/10.92, allocations: 41.72 kB / 4.221 GB, free: 97.76 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009524/10.92, allocations: 0.5003 MB / 4.221 GB, free: 97.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/10.92, allocations: 3.906 kB / 4.221 GB, free: 97.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/10.92, allocations: 0 / 4.221 GB, free: 97.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/10.92, allocations: 3.875 kB / 4.221 GB, free: 97.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/10.92, allocations: 2.454 MB / 4.224 GB, free: 95.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/10.92, allocations: 3.938 kB / 4.224 GB, free: 95.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/10.93, allocations: 69.52 kB / 4.224 GB, free: 95.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/10.93, allocations: 7.438 kB / 4.224 GB, free: 95.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/10.93, allocations: 13.77 kB / 4.224 GB, free: 95.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/10.93, allocations: 7.75 kB / 4.224 GB, free: 95.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/10.93, allocations: 3.969 kB / 4.224 GB, free: 95.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007338/10.93, allocations: 0.7377 MB / 4.224 GB, free: 95.21 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001731/10.93, allocations: 148.8 kB / 4.225 GB, free: 95.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.964e-05/10.93, allocations: 7.781 kB / 4.225 GB, free: 95.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004743/10.93, allocations: 27.12 kB / 4.225 GB, free: 95.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/10.93, allocations: 26.58 kB / 4.225 GB, free: 95.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.813e-05/10.93, allocations: 19.39 kB / 4.225 GB, free: 95.06 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003637/10.93, allocations: 355.7 kB / 4.225 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/10.93, allocations: 0 / 4.225 GB, free: 94.89 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001836/10.93, allocations: 435.1 kB / 4.225 GB, free: 94.76 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 () * 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.003755/10.93, allocations: 2.829 MB / 4.228 GB, free: 92.94 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008663/10.93, allocations: 485.1 kB / 4.229 GB, free: 92.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/10.93, allocations: 3 kB / 4.229 GB, free: 92.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002785/10.93, allocations: 175.6 kB / 4.229 GB, free: 92.65 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/10.94, allocations: 241 kB / 4.229 GB, free: 92.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/10.94, allocations: 3.581 MB / 4.233 GB, free: 89.47 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/10.94, allocations: 0.8479 MB / 4.233 GB, free: 88.76 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000496/10.94, allocations: 113.5 kB / 4.233 GB, free: 88.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/10.94, allocations: 148.9 kB / 4.234 GB, free: 88.65 MB / 0.5261 GB Notification: Performance of SimCode: time 1.072e-06/10.94, allocations: 0 / 4.234 GB, free: 88.65 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05303/10.99, allocations: 29.84 MB / 4.263 GB, free: 75.88 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/10.99, allocations: 243.5 kB / 4.263 GB, free: 75.63 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.133/14.13, allocations: 0 / 4.263 GB, free: 75.63 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