Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002339/0.002339, allocations: 185.9 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.4 MB / 222.5 MB, free: 9.145 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001217/0.001216, allocations: 92.38 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.523/0.523, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004858, allocations: 15.98 kB / 431.5 MB, free: 5.852 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1367, allocations: 58.84 MB / 490.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.34/11.48, allocations: 3.574 GB / 4.053 GB, free: 12.66 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/11.48, allocations: 85.89 kB / 4.053 GB, free: 12.61 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 1.904/13.38, allocations: 305.5 MB / 4.351 GB, free: 81.5 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.823e-06/13.38, allocations: 2.812 kB / 4.351 GB, free: 81.5 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 3.56e-05/13.38, allocations: 6.969 kB / 4.351 GB, free: 81.5 MB / 0.4949 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.006217/13.39, allocations: 1.64 MB / 4.353 GB, free: 80.3 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/13.39, allocations: 10.5 kB / 4.353 GB, free: 80.3 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001834/13.39, allocations: 75.5 kB / 4.353 GB, free: 80.24 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003545/13.39, allocations: 58.39 kB / 4.353 GB, free: 80.22 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007962/13.39, allocations: 377.5 kB / 4.353 GB, free: 79.93 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/13.39, allocations: 35.28 kB / 4.353 GB, free: 79.92 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/13.39, allocations: 36.88 kB / 4.353 GB, free: 79.91 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/13.39, allocations: 0.508 MB / 4.354 GB, free: 79.66 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/13.39, allocations: 0 / 4.354 GB, free: 79.66 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.152e-05/13.39, allocations: 18.59 kB / 4.354 GB, free: 79.65 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/13.39, allocations: 13.88 kB / 4.354 GB, free: 79.65 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/13.39, allocations: 497.2 kB / 4.354 GB, free: 79.51 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003718/13.4, allocations: 1.969 MB / 4.356 GB, free: 78.03 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/13.4, allocations: 460.1 kB / 4.357 GB, free: 77.76 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/13.4, allocations: 0.9534 MB / 4.358 GB, free: 76.71 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.287e-05/13.4, allocations: 37.78 kB / 4.358 GB, free: 76.66 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=30): time 3.447e-06/13.4, allocations: 1.438 kB / 4.358 GB, free: 76.66 MB / 0.4949 GB Notification: Performance of matching and sorting (n=30): time 0.001743/13.4, allocations: 0.5051 MB / 4.358 GB, free: 76.48 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.636e-05/13.4, allocations: 113.2 kB / 4.358 GB, free: 76.36 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005649/13.4, allocations: 351.2 kB / 4.359 GB, free: 76.18 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 6.962e-05/13.4, allocations: 37.64 kB / 4.359 GB, free: 76.14 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/13.4, allocations: 259.2 kB / 4.359 GB, free: 75.91 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 9.637e-05/13.4, allocations: 108.4 kB / 4.359 GB, free: 75.83 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-05/13.4, allocations: 7.875 kB / 4.359 GB, free: 75.82 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 7.845e-05/13.4, allocations: 329.9 kB / 4.359 GB, free: 75.5 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000514/13.4, allocations: 154.4 kB / 4.359 GB, free: 75.46 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005496/13.4, allocations: 261.4 kB / 4.36 GB, free: 75.28 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005845/13.4, allocations: 246.6 kB / 4.36 GB, free: 75.15 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/13.4, allocations: 0 / 4.36 GB, free: 75.15 MB / 0.4949 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001464/13.4, allocations: 0.544 MB / 4.36 GB, free: 74.9 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 5.594e-05/13.4, allocations: 65.81 kB / 4.361 GB, free: 74.84 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/13.4, allocations: 3.594 kB / 4.361 GB, free: 74.84 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/13.4, allocations: 15.38 kB / 4.361 GB, free: 74.82 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006834/13.41, allocations: 83.11 kB / 4.361 GB, free: 74.82 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/13.41, allocations: 7.156 kB / 4.361 GB, free: 74.82 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006694/13.41, allocations: 62.77 kB / 4.361 GB, free: 74.79 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.208e-05/13.41, allocations: 18.28 kB / 4.361 GB, free: 74.79 MB / 0.4949 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.0003767/13.41, allocations: 189.4 kB / 4.361 GB, free: 74.64 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001527/13.41, allocations: 45.23 kB / 4.361 GB, free: 74.61 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/13.41, allocations: 0.4927 MB / 4.361 GB, free: 74.4 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/13.41, allocations: 5 kB / 4.361 GB, free: 74.4 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/13.41, allocations: 0 / 4.361 GB, free: 74.4 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/13.41, allocations: 0 / 4.361 GB, free: 74.4 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004344/13.41, allocations: 2.466 MB / 4.364 GB, free: 72.25 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/13.41, allocations: 2.875 kB / 4.364 GB, free: 72.25 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005218/13.41, allocations: 63.3 kB / 4.364 GB, free: 72.25 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/13.41, allocations: 3.594 kB / 4.364 GB, free: 72.25 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.588e-05/13.41, allocations: 14.12 kB / 4.364 GB, free: 72.24 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/13.41, allocations: 2.531 kB / 4.364 GB, free: 72.24 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/13.41, allocations: 7.344 kB / 4.364 GB, free: 72.24 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/13.41, allocations: 0.7359 MB / 4.365 GB, free: 71.65 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/13.42, allocations: 145.8 kB / 4.365 GB, free: 71.52 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001067/13.42, allocations: 11.19 kB / 4.365 GB, free: 71.52 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007171/13.42, allocations: 26.69 kB / 4.365 GB, free: 71.51 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/13.42, allocations: 27.36 kB / 4.365 GB, free: 71.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.807e-05/13.42, allocations: 27.47 kB / 4.365 GB, free: 71.5 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0005736/13.42, allocations: 360 kB / 4.365 GB, free: 71.33 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.71e-07/13.42, allocations: 0 / 4.365 GB, free: 71.33 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.002361/13.42, allocations: 473.8 kB / 4.366 GB, free: 71.18 MB / 0.4949 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.004882/13.42, allocations: 2.978 MB / 4.369 GB, free: 69.31 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.001373/13.43, allocations: 480 kB / 4.369 GB, free: 69.07 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/13.43, allocations: 0 / 4.369 GB, free: 69.07 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0005264/13.43, allocations: 168.9 kB / 4.369 GB, free: 69.03 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002158/13.43, allocations: 252.8 kB / 4.369 GB, free: 68.97 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003752/13.43, allocations: 3.67 MB / 4.373 GB, free: 65.77 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/13.43, allocations: 0.843 MB / 4.374 GB, free: 65.06 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004038/13.43, allocations: 144.6 kB / 4.374 GB, free: 64.97 MB / 0.4949 GB Notification: Performance of SimCode: time 1.342e-06/13.43, allocations: 0 / 4.374 GB, free: 64.97 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.096/16.53, allocations: 17.38 MB / 4.391 GB, free: 55.31 MB / 0.4949 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTraceSubstances.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances_res.mat does not exist to compare? outputFormat=mat