Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir",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.001057/0.001057, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 102.8 kB / 292.1 MB, free: 10.93 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.4624/0.4624, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003728/0.0003726, allocations: 12 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4808/0.4812, allocations: 61.89 MB / 0.5096 GB, free: 37.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.8/16.28, allocations: 6.131 GB / 6.641 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/16.28, allocations: 94.17 kB / 6.641 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9912/17.27, allocations: 261 MB / 6.896 GB, free: 61.37 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.314e-06/17.27, allocations: 0 / 6.896 GB, free: 61.37 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.831e-05/17.27, allocations: 4 kB / 6.896 GB, free: 61.37 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.009022/17.28, allocations: 1.94 MB / 6.898 GB, free: 59.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/17.28, allocations: 8.562 kB / 6.898 GB, free: 59.37 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001585/17.28, allocations: 66.53 kB / 6.898 GB, free: 59.29 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/17.28, allocations: 31.7 kB / 6.898 GB, free: 59.26 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/17.28, allocations: 242.7 kB / 6.898 GB, free: 58.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/17.28, allocations: 20.56 kB / 6.898 GB, free: 58.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/17.28, allocations: 28 kB / 6.898 GB, free: 58.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007996/17.28, allocations: 0.5051 MB / 6.899 GB, free: 58.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/17.28, allocations: 0 / 6.899 GB, free: 58.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.986e-05/17.28, allocations: 15.95 kB / 6.899 GB, free: 58.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/17.28, allocations: 20.55 kB / 6.899 GB, free: 58.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009848/17.28, allocations: 0.9115 MB / 6.9 GB, free: 57.45 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/17.28, allocations: 1.839 MB / 6.902 GB, free: 55.49 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006627/17.28, allocations: 271.9 kB / 6.902 GB, free: 55.21 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01454/17.3, allocations: 15.23 MB / 6.917 GB, free: 36.99 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004648/17.3, allocations: 249.3 kB / 6.917 GB, free: 36.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 2.425e-06/17.3, allocations: 0 / 6.917 GB, free: 36.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.002353/17.3, allocations: 0.7952 MB / 6.918 GB, free: 35.89 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.86e-05/17.3, allocations: 265 kB / 6.918 GB, free: 35.57 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/17.3, allocations: 186.5 kB / 6.918 GB, free: 35.38 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/17.3, allocations: 33.7 kB / 6.918 GB, free: 35.34 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.208e-05/17.3, allocations: 195.5 kB / 6.918 GB, free: 35.15 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.362e-05/17.3, allocations: 126.5 kB / 6.918 GB, free: 35.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.049e-05/17.3, allocations: 16 kB / 6.918 GB, free: 35.01 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.538e-05/17.3, allocations: 326.8 kB / 6.919 GB, free: 34.68 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001414/17.3, allocations: 93.05 kB / 6.919 GB, free: 34.59 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/17.3, allocations: 361.8 kB / 6.919 GB, free: 34.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003301/17.3, allocations: 156.7 kB / 6.919 GB, free: 33.96 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/17.3, allocations: 0 / 6.919 GB, free: 33.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001109/17.3, allocations: 0.502 MB / 6.92 GB, free: 33.45 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/17.3, allocations: 15.95 kB / 6.92 GB, free: 33.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/17.3, allocations: 8 kB / 6.92 GB, free: 33.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/17.3, allocations: 12 kB / 6.92 GB, free: 33.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006139/17.3, allocations: 186.9 kB / 6.92 GB, free: 33.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004104/17.3, allocations: 1.191 MB / 6.921 GB, free: 32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003669/17.3, allocations: 35.78 kB / 6.921 GB, free: 31.97 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.397e-05/17.3, allocations: 47.97 kB / 6.921 GB, free: 31.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001647/17.3, allocations: 159 kB / 6.921 GB, free: 31.76 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001756/17.3, allocations: 35.7 kB / 6.921 GB, free: 31.72 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/17.31, allocations: 0.5187 MB / 6.922 GB, free: 31.17 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/17.31, allocations: 8.031 kB / 6.922 GB, free: 31.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/17.31, allocations: 0 / 6.922 GB, free: 31.16 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/17.31, allocations: 3.984 kB / 6.922 GB, free: 31.16 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007924/17.31, allocations: 0.5721 MB / 6.923 GB, free: 30.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/17.31, allocations: 7.922 kB / 6.923 GB, free: 30.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003758/17.31, allocations: 83.81 kB / 6.923 GB, free: 30.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/17.31, allocations: 4 kB / 6.923 GB, free: 30.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/17.31, allocations: 0 / 6.923 GB, free: 30.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003078/17.31, allocations: 1.18 MB / 6.924 GB, free: 29.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/17.31, allocations: 0 / 6.924 GB, free: 29.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005143/17.31, allocations: 328.5 kB / 6.924 GB, free: 28.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/17.31, allocations: 140.8 kB / 6.924 GB, free: 28.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/17.31, allocations: 7.953 kB / 6.924 GB, free: 28.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/17.31, allocations: 12 kB / 6.924 GB, free: 28.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.786e-05/17.31, allocations: 15.97 kB / 6.924 GB, free: 28.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/17.31, allocations: 16 kB / 6.924 GB, free: 28.63 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001283/17.31, allocations: 173.9 kB / 6.924 GB, free: 28.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.1e-07/17.31, allocations: 0 / 6.924 GB, free: 28.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008264/17.32, allocations: 2.009 MB / 6.926 GB, free: 26.45 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01691/17.33, allocations: 3.714 MB / 6.93 GB, free: 22.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001277/17.33, allocations: 320.8 kB / 6.93 GB, free: 22.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/17.33, allocations: 0 / 6.93 GB, free: 22.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004962/17.34, allocations: 119.7 kB / 6.93 GB, free: 22.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/17.34, allocations: 49.33 kB / 6.93 GB, free: 22.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.297/18.63, allocations: 295 MB / 7.219 GB, free: 65.7 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/18.63, allocations: 0.7613 MB / 7.219 GB, free: 64.99 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005833/18.63, allocations: 135.7 kB / 7.219 GB, free: 64.97 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002003/18.63, allocations: 94.62 kB / 7.22 GB, free: 64.96 MB / 0.5417 GB Notification: Performance of SimCode: time 1.693e-06/18.63, allocations: 0 / 7.22 GB, free: 64.96 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1081/18.74, allocations: 53.98 MB / 7.272 GB, free: 61.53 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/18.74, allocations: 282.6 kB / 7.273 GB, free: 61.18 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.231/22.97, allocations: 3.938 kB / 7.273 GB, free: 61.17 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceMoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat does not exist to compare? outputFormat=mat