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.001572/0.001572, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.62/1.62, allocations: 221.5 MB / 230.7 MB, free: 7.574 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.001174/0.001174, allocations: 95.34 kB / 281.6 MB, free: 5.328 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.2422/0.2422, allocations: 44.15 MB / 376.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.594e-05/2.604e-05, allocations: 224 / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1461, allocations: 61.92 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.958/9.104, allocations: 3.409 GB / 3.904 GB, free: 85.47 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/9.104, allocations: 88.5 kB / 3.904 GB, free: 85.43 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.309/10.41, allocations: 294.8 MB / 4.192 GB, free: 84.95 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.563e-06/10.41, allocations: 1.125 kB / 4.192 GB, free: 84.95 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.749e-05/10.41, allocations: 14.17 kB / 4.192 GB, free: 84.95 MB / 0.5105 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.00499/10.42, allocations: 1.568 MB / 4.193 GB, free: 84.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/10.42, allocations: 11.52 kB / 4.193 GB, free: 84.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003075/10.42, allocations: 55.98 kB / 4.194 GB, free: 84.29 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005884/10.42, allocations: 377.4 kB / 4.194 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.851e-05/10.42, allocations: 10.38 kB / 4.194 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.033e-05/10.42, allocations: 23.25 kB / 4.194 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006753/10.42, allocations: 428.9 kB / 4.194 GB, free: 84.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007132/10.42, allocations: 435.3 kB / 4.195 GB, free: 83.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/10.42, allocations: 1 kB / 4.195 GB, free: 83.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.642e-05/10.42, allocations: 1 kB / 4.195 GB, free: 83.98 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.586e-05/10.42, allocations: 9.875 kB / 4.195 GB, free: 83.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/10.42, allocations: 2.033 MB / 4.197 GB, free: 82.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005387/10.42, allocations: 398.1 kB / 4.197 GB, free: 82.51 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/10.42, allocations: 138.8 kB / 4.197 GB, free: 82.49 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000613/10.42, allocations: 0.7806 MB / 4.198 GB, free: 81.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/10.42, allocations: 43.05 kB / 4.198 GB, free: 81.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=28): time 2.324e-06/10.42, allocations: 1.125 kB / 4.198 GB, free: 81.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28): time 0.0009727/10.43, allocations: 367.5 kB / 4.198 GB, free: 81.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/10.43, allocations: 110.4 kB / 4.199 GB, free: 81.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002947/10.43, allocations: 260.4 kB / 4.199 GB, free: 81.33 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/10.43, allocations: 28.11 kB / 4.199 GB, free: 81.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/10.43, allocations: 233.7 kB / 4.199 GB, free: 81.17 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.888e-05/10.43, allocations: 92.31 kB / 4.199 GB, free: 81.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/10.43, allocations: 1.312 kB / 4.199 GB, free: 81.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 8.678e-05/10.43, allocations: 343.6 kB / 4.199 GB, free: 80.81 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/10.43, allocations: 129.2 kB / 4.2 GB, free: 80.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/10.43, allocations: 227.7 kB / 4.2 GB, free: 80.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006703/10.43, allocations: 250.2 kB / 4.2 GB, free: 80.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/10.43, allocations: 0 / 4.2 GB, free: 80.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001136/10.43, allocations: 0.5068 MB / 4.2 GB, free: 80.63 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.022e-05/10.43, allocations: 63.27 kB / 4.201 GB, free: 80.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/10.43, allocations: 4.062 kB / 4.201 GB, free: 80.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/10.43, allocations: 5.312 kB / 4.201 GB, free: 80.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004021/10.43, allocations: 85.55 kB / 4.201 GB, free: 80.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/10.43, allocations: 10.38 kB / 4.201 GB, free: 80.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/10.43, allocations: 50.64 kB / 4.201 GB, free: 80.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.279e-05/10.43, allocations: 19.56 kB / 4.201 GB, free: 80.55 MB / 0.5105 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.0001224/10.43, allocations: 123.8 kB / 4.201 GB, free: 80.45 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007765/10.43, allocations: 364 kB / 4.201 GB, free: 80.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/10.43, allocations: 33.88 kB / 4.201 GB, free: 80.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008808/10.43, allocations: 395.9 kB / 4.202 GB, free: 80.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/10.43, allocations: 7.266 kB / 4.202 GB, free: 80.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/10.43, allocations: 1.031 kB / 4.202 GB, free: 80.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/10.43, allocations: 2.266 kB / 4.202 GB, free: 80.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00143/10.43, allocations: 1.031 MB / 4.203 GB, free: 79.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/10.43, allocations: 4.75 kB / 4.203 GB, free: 79.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002392/10.43, allocations: 52.27 kB / 4.203 GB, free: 79.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/10.43, allocations: 3.25 kB / 4.203 GB, free: 79.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/10.43, allocations: 1.75 kB / 4.203 GB, free: 79.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/10.43, allocations: 3.219 kB / 4.203 GB, free: 79.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/10.43, allocations: 13.64 kB / 4.203 GB, free: 79.78 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005427/10.43, allocations: 0.621 MB / 4.203 GB, free: 79.35 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/10.43, allocations: 123.5 kB / 4.203 GB, free: 79.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.501e-05/10.43, allocations: 2.531 kB / 4.203 GB, free: 79.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/10.43, allocations: 21.19 kB / 4.203 GB, free: 79.24 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.523e-05/10.43, allocations: 22.73 kB / 4.203 GB, free: 79.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.841e-05/10.43, allocations: 14.89 kB / 4.203 GB, free: 79.24 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002187/10.44, allocations: 234.2 kB / 4.204 GB, free: 79.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/10.44, allocations: 0 / 4.204 GB, free: 79.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001802/10.44, allocations: 402.9 kB / 4.204 GB, free: 79.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.003643/10.44, allocations: 2.699 MB / 4.207 GB, free: 77.64 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007826/10.44, allocations: 392.1 kB / 4.207 GB, free: 77.51 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/10.44, allocations: 2.344 kB / 4.207 GB, free: 77.51 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001975/10.44, allocations: 111.3 kB / 4.207 GB, free: 77.51 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/10.44, allocations: 158.6 kB / 4.207 GB, free: 77.51 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/10.44, allocations: 0.6808 MB / 4.208 GB, free: 77.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/10.45, allocations: 0.8353 MB / 4.209 GB, free: 76.57 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004704/10.45, allocations: 94.69 kB / 4.209 GB, free: 76.56 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002077/10.45, allocations: 130.8 kB / 4.209 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of SimCode: time 3.91e-07/10.45, allocations: 3.5 kB / 4.209 GB, free: 76.55 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05085/10.5, allocations: 20.09 MB / 4.229 GB, free: 76.08 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001938/10.5, allocations: 187.8 kB / 4.229 GB, free: 75.89 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.888/13.38, allocations: 0 / 4.229 GB, free: 75.89 MB / 0.5105 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