Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",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.00232/0.00232, allocations: 176.9 kB / 8.742 MB, free: 344 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.477/1.477, allocations: 221.5 MB / 230.7 MB, free: 7.551 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.0008828/0.0008828, allocations: 99.61 kB / 281.6 MB, free: 5.305 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.2358/0.2358, allocations: 44.16 MB / 376.5 MB, free: 3.02 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.027e-05/2.03e-05, allocations: 4 kB / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1441, allocations: 61.92 MB / 0.4948 GB, free: 1.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5789/0.723, allocations: 190.4 MB / 0.6807 GB, free: 1.762 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/0.7234, allocations: 79.95 kB / 0.6808 GB, free: 1.684 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3961/1.119, allocations: 35.31 MB / 0.7153 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.295e-06/1.12, allocations: 1.062 kB / 0.7153 GB, free: 169.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.23e-05/1.12, allocations: 6.25 kB / 0.7153 GB, free: 169.5 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.002489/1.122, allocations: 0.5757 MB / 0.7158 GB, free: 169 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 8.585e-05/1.122, allocations: 13.98 kB / 0.7158 GB, free: 169 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007167/1.123, allocations: 46.14 kB / 0.7159 GB, free: 169 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005108/1.123, allocations: 216.6 kB / 0.7161 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/1.124, allocations: 4.469 kB / 0.7161 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.68e-05/1.124, allocations: 10.22 kB / 0.7161 GB, free: 168.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005437/1.124, allocations: 208.6 kB / 0.7163 GB, free: 168.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000455/1.125, allocations: 207.5 kB / 0.7165 GB, free: 168.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/1.125, allocations: 0 / 0.7165 GB, free: 168.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.261e-05/1.125, allocations: 5.375 kB / 0.7165 GB, free: 168.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/1.125, allocations: 5.031 kB / 0.7165 GB, free: 168.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00246/1.127, allocations: 2.389 MB / 0.7188 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/1.127, allocations: 66.77 kB / 0.7189 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.722e-05/1.127, allocations: 27.61 kB / 0.7189 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003491/1.128, allocations: 491.6 kB / 0.7194 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/1.128, allocations: 109.8 kB / 0.7195 GB, free: 165.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.733e-06/1.128, allocations: 0 / 0.7195 GB, free: 165.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.001108/1.129, allocations: 217.2 kB / 0.7197 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/1.129, allocations: 108.1 kB / 0.7198 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/1.129, allocations: 149.5 kB / 0.72 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.563e-05/1.129, allocations: 29.36 kB / 0.72 GB, free: 165 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.78e-05/1.13, allocations: 161.2 kB / 0.7201 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/1.13, allocations: 45.61 kB / 0.7202 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.196e-05/1.13, allocations: 8 kB / 0.7202 GB, free: 164.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.081e-05/1.13, allocations: 326.1 kB / 0.7205 GB, free: 164.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.016e-05/1.13, allocations: 40.81 kB / 0.7205 GB, free: 164.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/1.13, allocations: 170.7 kB / 0.7207 GB, free: 164.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008302/1.131, allocations: 138.7 kB / 0.7208 GB, free: 164.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/1.131, allocations: 1.094 kB / 0.7208 GB, free: 164.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001116/1.132, allocations: 283.2 kB / 0.7211 GB, free: 164.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/1.132, allocations: 7.844 kB / 0.7211 GB, free: 164.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/1.132, allocations: 7.656 kB / 0.7211 GB, free: 164.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/1.132, allocations: 8.062 kB / 0.7211 GB, free: 164.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005925/1.133, allocations: 94.06 kB / 0.7212 GB, free: 164.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003455/1.133, allocations: 0.6028 MB / 0.7218 GB, free: 163.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/1.133, allocations: 4.375 kB / 0.7218 GB, free: 163.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.432e-05/1.133, allocations: 29.25 kB / 0.7218 GB, free: 163.6 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 0.0001017/1.133, allocations: 116.7 kB / 0.7219 GB, free: 163.5 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003393/1.134, allocations: 117.5 kB / 0.7221 GB, free: 163.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/1.134, allocations: 20.11 kB / 0.7221 GB, free: 163.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004549/1.134, allocations: 156.9 kB / 0.7222 GB, free: 163.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/1.134, allocations: 1.094 kB / 0.7222 GB, free: 163.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/1.134, allocations: 1.125 kB / 0.7222 GB, free: 163.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/1.134, allocations: 3.656 kB / 0.7222 GB, free: 163.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005263/1.135, allocations: 381 kB / 0.7226 GB, free: 163 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/1.135, allocations: 4.953 kB / 0.7226 GB, free: 163 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/1.135, allocations: 61.11 kB / 0.7227 GB, free: 163 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/1.135, allocations: 4.625 kB / 0.7227 GB, free: 163 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/1.135, allocations: 2.094 kB / 0.7227 GB, free: 163 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003223/1.136, allocations: 0.5863 MB / 0.7232 GB, free: 162.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.136, allocations: 0 / 0.7232 GB, free: 162.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/1.136, allocations: 228.6 kB / 0.7235 GB, free: 162.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/1.136, allocations: 118.9 kB / 0.7236 GB, free: 162.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.632e-05/1.136, allocations: 1.531 kB / 0.7236 GB, free: 162.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/1.136, allocations: 3.125 kB / 0.7236 GB, free: 162.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.757e-05/1.136, allocations: 5.922 kB / 0.7236 GB, free: 162.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.207e-05/1.136, allocations: 9.172 kB / 0.7236 GB, free: 162.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.821e-05/1.136, allocations: 126.2 kB / 0.7237 GB, free: 162 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.2e-07/1.136, allocations: 0 / 0.7237 GB, free: 162 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0007979/1.137, allocations: 145.2 kB / 0.7238 GB, free: 161.9 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.00123/1.138, allocations: 0.9736 MB / 0.7248 GB, free: 161.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004485/1.139, allocations: 141.8 kB / 0.7249 GB, free: 161.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.139, allocations: 0 / 0.7249 GB, free: 161.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001689/1.139, allocations: 42.94 kB / 0.725 GB, free: 161.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/1.139, allocations: 24.53 kB / 0.725 GB, free: 161.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02633/1.166, allocations: 11.58 MB / 0.7363 GB, free: 154.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001746/1.166, allocations: 0.7165 MB / 0.737 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003028/1.166, allocations: 63.06 kB / 0.7371 GB, free: 154 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/1.166, allocations: 47.41 kB / 0.7371 GB, free: 154 MB / 0.4948 GB Notification: Performance of SimCode: time 1.262e-06/1.166, allocations: 4 kB / 0.7371 GB, free: 154 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/1.195, allocations: 4.785 MB / 0.7418 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/1.195, allocations: 196.9 kB / 0.742 GB, free: 149 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.822/3.017, allocations: 0 / 0.742 GB, free: 149 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat does not exist to compare? outputFormat=mat