Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",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.001146/0.001146, allocations: 183.3 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205.2 MB / 218.9 MB, free: 9.199 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.001125/0.001125, allocations: 92.56 kB / 267.1 MB, free: 9.281 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.4721/0.4721, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.806e-05/4.809e-05, allocations: 8 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1573, allocations: 58.83 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5979/0.7552, allocations: 194.3 MB / 0.6626 GB, free: 12.18 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00038/0.7557, allocations: 76.52 kB / 0.6627 GB, free: 12.14 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5093/1.265, allocations: 44.98 MB / 0.7066 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.285e-06/1.265, allocations: 0 / 0.7066 GB, free: 152.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.008e-05/1.265, allocations: 5.75 kB / 0.7067 GB, free: 152.8 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001681/1.267, allocations: 0.6154 MB / 0.7073 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/1.267, allocations: 9.188 kB / 0.7073 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.242e-05/1.267, allocations: 50.55 kB / 0.7073 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005469/1.267, allocations: 46.97 kB / 0.7074 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/1.268, allocations: 225.3 kB / 0.7076 GB, free: 152.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.251e-05/1.268, allocations: 15.78 kB / 0.7076 GB, free: 152.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.082e-05/1.268, allocations: 14.22 kB / 0.7076 GB, free: 152.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004809/1.268, allocations: 240.4 kB / 0.7078 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/1.268, allocations: 0 / 0.7078 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/1.268, allocations: 7.125 kB / 0.7078 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/1.268, allocations: 4.25 kB / 0.7078 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004236/1.269, allocations: 234.8 kB / 0.7081 GB, free: 151.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/1.27, allocations: 1.339 MB / 0.7094 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001933/1.27, allocations: 88.58 kB / 0.7095 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.434e-05/1.27, allocations: 38.55 kB / 0.7095 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001322/1.272, allocations: 1.884 MB / 0.7113 GB, free: 148.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/1.272, allocations: 157.2 kB / 0.7115 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=17): time 3.226e-06/1.272, allocations: 2.766 kB / 0.7115 GB, free: 148.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.001037/1.273, allocations: 328.2 kB / 0.7118 GB, free: 148.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.705e-05/1.273, allocations: 263.9 kB / 0.712 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/1.273, allocations: 142.6 kB / 0.7122 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/1.273, allocations: 35.64 kB / 0.7122 GB, free: 148.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/1.273, allocations: 144 kB / 0.7124 GB, free: 148 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.731e-05/1.273, allocations: 66.27 kB / 0.7124 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.174e-05/1.273, allocations: 6.969 kB / 0.7124 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.881e-05/1.274, allocations: 329.6 kB / 0.7127 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.667e-05/1.274, allocations: 37.84 kB / 0.7128 GB, free: 147.6 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/1.274, allocations: 179.9 kB / 0.7129 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/1.274, allocations: 73.12 kB / 0.713 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.274, allocations: 0 / 0.713 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004163/1.274, allocations: 256.7 kB / 0.7133 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.254e-05/1.274, allocations: 10.28 kB / 0.7133 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.274, allocations: 3.125 kB / 0.7133 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/1.274, allocations: 13.09 kB / 0.7133 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/1.275, allocations: 99.03 kB / 0.7134 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002817/1.275, allocations: 0.5911 MB / 0.714 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/1.275, allocations: 13.95 kB / 0.714 GB, free: 146.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-05/1.275, allocations: 27.28 kB / 0.714 GB, free: 146.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.706e-05/1.276, allocations: 126.7 kB / 0.7141 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.99e-05/1.276, allocations: 17.25 kB / 0.7141 GB, free: 146.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005076/1.276, allocations: 253.3 kB / 0.7144 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.276, allocations: 3.156 kB / 0.7144 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.276, allocations: 0 / 0.7144 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.276, allocations: 0 / 0.7144 GB, free: 146.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/1.276, allocations: 225.8 kB / 0.7146 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/1.276, allocations: 0 / 0.7146 GB, free: 146.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003552/1.277, allocations: 58.95 kB / 0.7147 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/1.277, allocations: 3.094 kB / 0.7147 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/1.277, allocations: 2.562 kB / 0.7147 GB, free: 146.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002047/1.277, allocations: 0.5856 MB / 0.7152 GB, free: 145.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.277, allocations: 3.375 kB / 0.7152 GB, free: 145.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/1.277, allocations: 144.5 kB / 0.7154 GB, free: 145.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/1.277, allocations: 124.8 kB / 0.7155 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/1.277, allocations: 10.36 kB / 0.7155 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/1.278, allocations: 0 / 0.7155 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/1.278, allocations: 12.53 kB / 0.7155 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/1.278, allocations: 6.703 kB / 0.7155 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.445e-05/1.278, allocations: 129.5 kB / 0.7156 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.278, allocations: 0 / 0.7156 GB, free: 145.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0009854/1.279, allocations: 197.6 kB / 0.7158 GB, free: 145.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001553/1.28, allocations: 0.9873 MB / 0.7168 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005483/1.281, allocations: 150 kB / 0.7169 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.281, allocations: 3.156 kB / 0.7169 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001826/1.281, allocations: 39.02 kB / 0.717 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/1.281, allocations: 26.86 kB / 0.717 GB, free: 144.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0312/1.313, allocations: 12.15 MB / 0.7289 GB, free: 143.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002449/1.313, allocations: 0.7172 MB / 0.7296 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004017/1.313, allocations: 105.2 kB / 0.7297 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/1.313, allocations: 55.81 kB / 0.7297 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.573e-06/1.313, allocations: 0 / 0.7297 GB, free: 143.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/1.338, allocations: 6.278 MB / 0.7358 GB, free: 142.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002056/1.339, allocations: 237.2 kB / 0.7361 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.968/3.307, allocations: 0 / 0.7361 GB, free: 141.9 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat does not exist to compare? outputFormat=mat