Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",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.001219/0.001219, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.513/1.513, 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.001048/0.001048, allocations: 96.69 kB / 292.1 MB, free: 10.9 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.4907/0.4907, allocations: 44.21 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003902/0.0003905, allocations: 8 kB / 460 MB, free: 1.414 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4807/0.4811, allocations: 61.9 MB / 0.5096 GB, free: 38.07 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.388/1.869, allocations: 0.5452 GB / 1.055 GB, free: 43.98 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002802/1.869, allocations: 89.19 kB / 1.055 GB, free: 43.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6287/2.498, allocations: 108.6 MB / 1.161 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.445e-06/2.498, allocations: 0 / 1.161 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.062e-05/2.498, allocations: 7.938 kB / 1.161 GB, free: 152.3 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.00387/2.502, allocations: 1.024 MB / 1.162 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/2.502, allocations: 7.688 kB / 1.162 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001342/2.502, allocations: 64.64 kB / 1.162 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006675/2.503, allocations: 81.25 kB / 1.162 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/2.503, allocations: 249.4 kB / 1.162 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.568e-05/2.503, allocations: 18.41 kB / 1.162 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/2.504, allocations: 34.33 kB / 1.162 GB, free: 151.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/2.505, allocations: 472.6 kB / 1.163 GB, free: 151 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/2.505, allocations: 0 / 1.163 GB, free: 151 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.056e-05/2.505, allocations: 15.28 kB / 1.163 GB, free: 151 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/2.505, allocations: 7.281 kB / 1.163 GB, free: 151 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/2.506, allocations: 0.6807 MB / 1.164 GB, free: 150.8 MB / 0.5261 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007945/2.514, allocations: 4.152 MB / 1.168 GB, free: 148 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006622/2.514, allocations: 210.5 kB / 1.168 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07952/2.594, allocations: 42.52 MB / 1.209 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006328/2.595, allocations: 233.3 kB / 1.21 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 4.308e-06/2.595, allocations: 0 / 1.21 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22): time 0.002708/2.597, allocations: 0.7305 MB / 1.21 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/2.597, allocations: 269 kB / 1.211 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/2.598, allocations: 177.5 kB / 1.211 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/2.598, allocations: 33.95 kB / 1.211 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/2.598, allocations: 219.2 kB / 1.211 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.821e-05/2.598, allocations: 74.84 kB / 1.211 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.528e-05/2.598, allocations: 12 kB / 1.211 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001042/2.598, allocations: 330.8 kB / 1.211 GB, free: 99.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/2.598, allocations: 65.08 kB / 1.211 GB, free: 99.89 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/2.598, allocations: 338.9 kB / 1.212 GB, free: 99.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/2.599, allocations: 123.8 kB / 1.212 GB, free: 99.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/2.599, allocations: 4 kB / 1.212 GB, free: 99.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006985/2.599, allocations: 442.4 kB / 1.212 GB, free: 98.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/2.599, allocations: 9 kB / 1.212 GB, free: 98.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/2.599, allocations: 11.98 kB / 1.212 GB, free: 98.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00178/2.601, allocations: 299.1 kB / 1.213 GB, free: 98.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/2.601, allocations: 99.77 kB / 1.213 GB, free: 98.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005563/2.602, allocations: 1.219 MB / 1.214 GB, free: 97.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003242/2.602, allocations: 23.94 kB / 1.214 GB, free: 97.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.76e-05/2.602, allocations: 31.98 kB / 1.214 GB, free: 97.12 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (54): * Single equations (assignments): 52 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001809/2.603, allocations: 157.8 kB / 1.214 GB, free: 96.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.162e-05/2.603, allocations: 27.72 kB / 1.214 GB, free: 96.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009312/2.604, allocations: 0.8001 MB / 1.215 GB, free: 96.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/2.604, allocations: 12 kB / 1.215 GB, free: 96.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/2.604, allocations: 4.047 kB / 1.215 GB, free: 96.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/2.604, allocations: 11.92 kB / 1.215 GB, free: 96.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005704/2.604, allocations: 0.4956 MB / 1.215 GB, free: 95.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/2.604, allocations: 0 / 1.215 GB, free: 95.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/2.604, allocations: 35.92 kB / 1.215 GB, free: 95.51 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/2.605, allocations: 237.6 kB / 1.216 GB, free: 95.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/2.605, allocations: 12 kB / 1.216 GB, free: 95.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004905/2.606, allocations: 1.266 MB / 1.217 GB, free: 93.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/2.606, allocations: 7.938 kB / 1.217 GB, free: 93.94 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/2.607, allocations: 0.5403 MB / 1.217 GB, free: 93.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/2.607, allocations: 216.1 kB / 1.218 GB, free: 93.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.678e-05/2.607, allocations: 15.92 kB / 1.218 GB, free: 93.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002019/2.607, allocations: 12 kB / 1.218 GB, free: 93.04 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/2.607, allocations: 19.94 kB / 1.218 GB, free: 93.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/2.607, allocations: 15.98 kB / 1.218 GB, free: 93.01 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002817/2.607, allocations: 294.9 kB / 1.218 GB, free: 92.72 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-07/2.607, allocations: 0 / 1.218 GB, free: 92.72 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002007/2.609, allocations: 407.5 kB / 1.218 GB, free: 92.32 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: 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): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003667/2.613, allocations: 2.248 MB / 1.221 GB, free: 89.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005718/2.614, allocations: 321.3 kB / 1.221 GB, free: 89.66 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/2.614, allocations: 0.5625 kB / 1.221 GB, free: 89.66 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/2.614, allocations: 181.5 kB / 1.221 GB, free: 89.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/2.614, allocations: 78.41 kB / 1.221 GB, free: 89.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.692/6.306, allocations: 1.26 GB / 2.481 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/6.307, allocations: 0.8383 MB / 2.482 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003666/6.307, allocations: 124.6 kB / 2.482 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/6.307, allocations: 144.6 kB / 2.483 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.703e-06/6.307, allocations: 3.844 kB / 2.483 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03566/6.343, allocations: 17.02 MB / 2.499 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/6.343, allocations: 230.9 kB / 2.499 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.985/9.328, allocations: 3.875 kB / 2.499 GB, free: 128.8 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat