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.001149/0.001149, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 225.4 MB / 240.1 MB, free: 15.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009161/0.000916, allocations: 90 kB / 292.1 MB, free: 6.039 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1819/0.1819, allocations: 45.15 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.796e-05/3.816e-05, allocations: 4 kB / 460.5 MB, free: 69.89 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 63.25 MB / 0.5115 GB, free: 6.668 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.688/7.809, allocations: 3.403 GB / 3.915 GB, free: 97.45 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/7.809, allocations: 83.95 kB / 3.915 GB, free: 97.37 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9385/8.748, allocations: 294.3 MB / 4.202 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.884e-06/8.748, allocations: 0 / 4.202 GB, free: 8.004 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.278e-05/8.748, allocations: 19.94 kB / 4.202 GB, free: 7.984 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.004358/8.752, allocations: 1.582 MB / 4.204 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/8.752, allocations: 12.03 kB / 4.204 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.849e-05/8.753, allocations: 74.53 kB / 4.204 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002528/8.753, allocations: 51.44 kB / 4.204 GB, free: 6.199 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005151/8.753, allocations: 370.1 kB / 4.204 GB, free: 5.797 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/8.753, allocations: 28.78 kB / 4.205 GB, free: 5.77 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.317e-05/8.753, allocations: 36 kB / 4.205 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006761/8.754, allocations: 0.4897 MB / 4.205 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/8.754, allocations: 4 kB / 4.205 GB, free: 5.211 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.432e-05/8.754, allocations: 16 kB / 4.205 GB, free: 5.195 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/8.754, allocations: 8 kB / 4.205 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005854/8.755, allocations: 456.2 kB / 4.205 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/8.757, allocations: 1.971 MB / 4.207 GB, free: 2.629 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004996/8.757, allocations: 432.8 kB / 4.208 GB, free: 2.16 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/8.757, allocations: 162.6 kB / 4.208 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006621/8.758, allocations: 0.9572 MB / 4.209 GB, free: 0.832 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/8.758, allocations: 39.06 kB / 4.209 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 1.823e-06/8.758, allocations: 0 / 4.209 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.0005791/8.759, allocations: 352.9 kB / 4.209 GB, free: 444 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/8.759, allocations: 114.7 kB / 4.209 GB, free: 304 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3458/9.105, allocations: 342.8 kB / 4.21 GB, free: 86.96 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001645/9.105, allocations: 33.67 kB / 4.21 GB, free: 86.93 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/9.105, allocations: 217.7 kB / 4.21 GB, free: 86.85 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/9.105, allocations: 107.7 kB / 4.21 GB, free: 86.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.506e-05/9.105, allocations: 8.969 kB / 4.21 GB, free: 86.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.382e-05/9.105, allocations: 350 kB / 4.21 GB, free: 86.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003191/9.106, allocations: 134.3 kB / 4.211 GB, free: 86.48 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003308/9.106, allocations: 239.8 kB / 4.211 GB, free: 86.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/9.106, allocations: 226.8 kB / 4.211 GB, free: 86.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/9.106, allocations: 1.438 kB / 4.211 GB, free: 86.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009908/9.107, allocations: 0.5168 MB / 4.211 GB, free: 86.19 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.426e-05/9.107, allocations: 66.55 kB / 4.212 GB, free: 86.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/9.107, allocations: 4.344 kB / 4.212 GB, free: 86.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/9.107, allocations: 6.297 kB / 4.212 GB, free: 86.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/9.108, allocations: 86.83 kB / 4.212 GB, free: 86.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/9.108, allocations: 5.938 kB / 4.212 GB, free: 86.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/9.108, allocations: 69.64 kB / 4.212 GB, free: 86.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/9.108, allocations: 22.52 kB / 4.212 GB, free: 86.11 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.0001196/9.108, allocations: 137.5 kB / 4.212 GB, free: 86 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/9.109, allocations: 41.77 kB / 4.212 GB, free: 85.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009555/9.11, allocations: 461.3 kB / 4.212 GB, free: 85.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/9.11, allocations: 5.219 kB / 4.212 GB, free: 85.92 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/9.11, allocations: 3.719 kB / 4.212 GB, free: 85.92 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/9.11, allocations: 2.703 kB / 4.212 GB, free: 85.92 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002566/9.112, allocations: 2.431 MB / 4.215 GB, free: 84.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/9.112, allocations: 0 / 4.215 GB, free: 84.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/9.112, allocations: 64.16 kB / 4.215 GB, free: 84.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/9.112, allocations: 3.344 kB / 4.215 GB, free: 84.04 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/9.113, allocations: 11.98 kB / 4.215 GB, free: 84.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/9.113, allocations: 2.656 kB / 4.215 GB, free: 84.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/9.113, allocations: 5.875 kB / 4.215 GB, free: 84.04 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006112/9.113, allocations: 0.6987 MB / 4.215 GB, free: 83.56 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/9.113, allocations: 137.7 kB / 4.216 GB, free: 83.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.284e-05/9.113, allocations: 12.16 kB / 4.216 GB, free: 83.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004043/9.114, allocations: 30.69 kB / 4.216 GB, free: 83.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.45e-05/9.114, allocations: 30.19 kB / 4.216 GB, free: 83.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.194e-05/9.114, allocations: 21.73 kB / 4.216 GB, free: 83.44 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000415/9.114, allocations: 354.7 kB / 4.216 GB, free: 83.36 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/9.114, allocations: 0 / 4.216 GB, free: 83.36 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001686/9.116, allocations: 441.7 kB / 4.216 GB, free: 83.36 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.002797/9.119, allocations: 2.82 MB / 4.219 GB, free: 81.75 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0007115/9.12, allocations: 440.3 kB / 4.22 GB, free: 81.62 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/9.12, allocations: 5.344 kB / 4.22 GB, free: 81.62 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002445/9.12, allocations: 151 kB / 4.22 GB, free: 81.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/9.121, allocations: 250.8 kB / 4.22 GB, free: 81.62 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/9.122, allocations: 0.7855 MB / 4.221 GB, free: 81.43 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/9.123, allocations: 0.8469 MB / 4.222 GB, free: 80.73 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004595/9.123, allocations: 111 kB / 4.222 GB, free: 80.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/9.124, allocations: 147.1 kB / 4.222 GB, free: 80.71 MB / 0.5261 GB Notification: Performance of SimCode: time 4.81e-07/9.124, allocations: 0 / 4.222 GB, free: 80.71 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06948/9.193, allocations: 32.5 MB / 4.254 GB, free: 80.21 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/9.193, allocations: 211.4 kB / 4.254 GB, free: 79.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.866/12.06, allocations: 0 / 4.254 GB, free: 79.98 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