Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00198/0.00198, allocations: 196.8 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.584/1.584, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001166/0.001165, allocations: 99.55 kB / 286.7 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2635/0.2635, allocations: 45.14 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.935e-05/1.946e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1723, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.322/8.494, allocations: 3.403 GB / 3.907 GB, free: 162.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/8.495, allocations: 83.95 kB / 3.907 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9954/9.49, allocations: 291.3 MB / 4.192 GB, free: 75.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.685e-06/9.49, allocations: 4 kB / 4.192 GB, free: 75.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.386e-05/9.49, allocations: 16 kB / 4.192 GB, free: 75.18 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.006365/9.496, allocations: 1.58 MB / 4.193 GB, free: 73.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/9.496, allocations: 12.03 kB / 4.193 GB, free: 73.53 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004448/9.497, allocations: 59.42 kB / 4.193 GB, free: 73.47 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000722/9.498, allocations: 373.1 kB / 4.194 GB, free: 73.07 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.212e-05/9.498, allocations: 12 kB / 4.194 GB, free: 73.06 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.692e-05/9.498, allocations: 20 kB / 4.194 GB, free: 73.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000706/9.498, allocations: 425.4 kB / 4.194 GB, free: 72.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006718/9.499, allocations: 440 kB / 4.195 GB, free: 72.17 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/9.499, allocations: 3.938 kB / 4.195 GB, free: 72.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-05/9.499, allocations: 0 / 4.195 GB, free: 72.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/9.499, allocations: 8 kB / 4.195 GB, free: 72.16 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/9.502, allocations: 2.034 MB / 4.197 GB, free: 69.97 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/9.502, allocations: 389 kB / 4.197 GB, free: 69.55 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/9.502, allocations: 146.5 kB / 4.197 GB, free: 69.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005799/9.503, allocations: 0.7791 MB / 4.198 GB, free: 68.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/9.503, allocations: 38.56 kB / 4.198 GB, free: 68.41 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.374e-06/9.503, allocations: 0 / 4.198 GB, free: 68.41 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.0008604/9.504, allocations: 369.4 kB / 4.198 GB, free: 68.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/9.504, allocations: 110.8 kB / 4.198 GB, free: 67.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/9.504, allocations: 257 kB / 4.199 GB, free: 67.65 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.099e-05/9.504, allocations: 33.7 kB / 4.199 GB, free: 67.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/9.504, allocations: 235.9 kB / 4.199 GB, free: 67.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.632e-05/9.504, allocations: 94.56 kB / 4.199 GB, free: 67.28 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/9.504, allocations: 0 / 4.199 GB, free: 67.28 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.252e-05/9.505, allocations: 346.8 kB / 4.199 GB, free: 66.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/9.505, allocations: 124.7 kB / 4.199 GB, free: 66.81 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/9.505, allocations: 229.8 kB / 4.2 GB, free: 66.54 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005985/9.506, allocations: 246.7 kB / 4.2 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/9.506, allocations: 4 kB / 4.2 GB, free: 66.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009476/9.507, allocations: 0.5048 MB / 4.2 GB, free: 65.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.339e-05/9.507, allocations: 63.39 kB / 4.2 GB, free: 65.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/9.507, allocations: 8.062 kB / 4.201 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/9.507, allocations: 8 kB / 4.201 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003666/9.507, allocations: 87.83 kB / 4.201 GB, free: 65.61 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/9.507, allocations: 7.984 kB / 4.201 GB, free: 65.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003546/9.507, allocations: 43.89 kB / 4.201 GB, free: 65.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.114e-05/9.507, allocations: 20 kB / 4.201 GB, free: 65.54 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.000105/9.508, allocations: 112.9 kB / 4.201 GB, free: 65.42 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006978/9.508, allocations: 377.1 kB / 4.201 GB, free: 65.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/9.508, allocations: 39.61 kB / 4.201 GB, free: 65.01 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006714/9.509, allocations: 394.7 kB / 4.202 GB, free: 64.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/9.509, allocations: 4 kB / 4.202 GB, free: 64.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/9.509, allocations: 4 kB / 4.202 GB, free: 64.59 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/9.509, allocations: 3.984 kB / 4.202 GB, free: 64.59 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/9.51, allocations: 1.02 MB / 4.203 GB, free: 63.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/9.51, allocations: 0 / 4.203 GB, free: 63.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/9.511, allocations: 55.91 kB / 4.203 GB, free: 63.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/9.511, allocations: 4 kB / 4.203 GB, free: 63.45 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/9.511, allocations: 0 / 4.203 GB, free: 63.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/9.511, allocations: 7.984 kB / 4.203 GB, free: 63.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.698e-06/9.511, allocations: 4.125 kB / 4.203 GB, free: 63.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/9.511, allocations: 0.6224 MB / 4.203 GB, free: 62.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.754e-05/9.511, allocations: 136.5 kB / 4.203 GB, free: 62.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.718e-05/9.511, allocations: 0 / 4.203 GB, free: 62.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/9.512, allocations: 15.98 kB / 4.203 GB, free: 62.58 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.306e-05/9.512, allocations: 31.86 kB / 4.203 GB, free: 62.55 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/9.512, allocations: 19.98 kB / 4.203 GB, free: 62.53 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001821/9.512, allocations: 228.6 kB / 4.204 GB, free: 62.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/9.512, allocations: 0 / 4.204 GB, free: 62.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001598/9.514, allocations: 419.3 kB / 4.204 GB, free: 61.89 MB / 0.5261 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.003428/9.517, allocations: 2.708 MB / 4.207 GB, free: 59.28 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005536/9.518, allocations: 394.8 kB / 4.207 GB, free: 58.87 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/9.518, allocations: 0 / 4.207 GB, free: 58.87 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001501/9.518, allocations: 111.8 kB / 4.207 GB, free: 58.76 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008952/9.519, allocations: 166.3 kB / 4.207 GB, free: 58.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/9.52, allocations: 0.6992 MB / 4.208 GB, free: 57.85 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/9.521, allocations: 0.8389 MB / 4.209 GB, free: 56.98 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003894/9.521, allocations: 91.25 kB / 4.209 GB, free: 56.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001852/9.521, allocations: 127.4 kB / 4.209 GB, free: 56.77 MB / 0.5261 GB Notification: Performance of SimCode: time 5.51e-07/9.521, allocations: 0 / 4.209 GB, free: 56.77 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04186/9.563, allocations: 20.25 MB / 4.229 GB, free: 36.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/9.563, allocations: 190 kB / 4.229 GB, free: 36.37 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.781/12.34, allocations: 3.938 kB / 4.229 GB, free: 36.37 MB / 0.5261 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat does not exist to compare? outputFormat=mat