Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.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_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT",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.001513/0.001513, allocations: 179.6 kB / 14.15 MB, free: 1.176 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.578/1.578, allocations: 221.3 MB / 236 MB, free: 2.957 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.0009742/0.0009739, allocations: 92.03 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2434/0.2434, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.572e-05, allocations: 4 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1599, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.736/1.896, allocations: 0.5452 GB / 1.047 GB, free: 93.02 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/1.896, allocations: 79.95 kB / 1.047 GB, free: 92.94 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5929/2.489, allocations: 108.5 MB / 1.153 GB, free: 165.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.625e-06/2.489, allocations: 0 / 1.153 GB, free: 165.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.77e-05/2.489, allocations: 3.312 kB / 1.153 GB, free: 165.6 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.005249/2.495, allocations: 1.023 MB / 1.154 GB, free: 164.9 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.878e-05/2.495, allocations: 11.5 kB / 1.154 GB, free: 164.9 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/2.495, allocations: 61.28 kB / 1.154 GB, free: 164.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007453/2.496, allocations: 81.02 kB / 1.154 GB, free: 164.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/2.496, allocations: 246.4 kB / 1.154 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/2.496, allocations: 23.97 kB / 1.154 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.039e-05/2.496, allocations: 29.95 kB / 1.154 GB, free: 164.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/2.497, allocations: 489.6 kB / 1.155 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/2.498, allocations: 1 kB / 1.155 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.831e-05/2.498, allocations: 18.45 kB / 1.155 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/2.498, allocations: 6.781 kB / 1.155 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001292/2.499, allocations: 0.6857 MB / 1.156 GB, free: 164.5 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or 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.009735/2.509, allocations: 4.199 MB / 1.16 GB, free: 163 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007313/2.509, allocations: 236.7 kB / 1.16 GB, free: 162.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/2.51, allocations: 76.11 kB / 1.16 GB, free: 162.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0745/2.584, allocations: 40.36 MB / 1.199 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007494/2.585, allocations: 317.5 kB / 1.2 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 3.246e-06/2.585, allocations: 2.938 kB / 1.2 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.00221/2.587, allocations: 0.7475 MB / 1.2 GB, free: 141.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/2.587, allocations: 426.5 kB / 1.201 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/2.587, allocations: 147.1 kB / 1.201 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/2.587, allocations: 33.36 kB / 1.201 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/2.587, allocations: 172.5 kB / 1.201 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.967e-05/2.588, allocations: 125.2 kB / 1.201 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/2.588, allocations: 4 kB / 1.201 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.929e-05/2.588, allocations: 338.2 kB / 1.202 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/2.588, allocations: 65.17 kB / 1.202 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/2.588, allocations: 298.3 kB / 1.202 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001829/2.588, allocations: 114.9 kB / 1.202 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/2.588, allocations: 0 / 1.202 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0006313/2.589, allocations: 391.7 kB / 1.202 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.814e-05/2.589, allocations: 10.34 kB / 1.202 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/2.589, allocations: 6.438 kB / 1.202 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.615e-05/2.589, allocations: 20.53 kB / 1.202 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001826/2.591, allocations: 263.8 kB / 1.203 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000497/2.591, allocations: 1.175 MB / 1.204 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/2.592, allocations: 26.16 kB / 1.204 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/2.592, allocations: 31.59 kB / 1.204 GB, free: 138.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (55): * Single equations (assignments): 53 * 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.0001315/2.592, allocations: 141.7 kB / 1.204 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-05/2.592, allocations: 32.83 kB / 1.204 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/2.593, allocations: 0.9743 MB / 1.205 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/2.593, allocations: 15 kB / 1.205 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/2.593, allocations: 0 / 1.205 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/2.593, allocations: 6.891 kB / 1.205 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02555/2.619, allocations: 12.45 MB / 1.217 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/2.619, allocations: 4 kB / 1.217 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/2.62, allocations: 131 kB / 1.217 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-05/2.62, allocations: 4 kB / 1.217 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/2.62, allocations: 8 kB / 1.217 GB, free: 129 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002756/2.62, allocations: 0.5898 MB / 1.218 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/2.62, allocations: 7.469 kB / 1.218 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000804/2.621, allocations: 0.6338 MB / 1.219 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/2.621, allocations: 191.7 kB / 1.219 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.27e-05/2.621, allocations: 8 kB / 1.219 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000252/2.622, allocations: 15.8 kB / 1.219 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/2.622, allocations: 31.72 kB / 1.219 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/2.622, allocations: 12 kB / 1.219 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002324/2.622, allocations: 209.5 kB / 1.219 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.51e-07/2.622, allocations: 0 / 1.219 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002812/2.625, allocations: 479 kB / 1.219 GB, free: 126.8 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003157/2.628, allocations: 2.443 MB / 1.222 GB, free: 124.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001465/2.63, allocations: 387.3 kB / 1.222 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/2.63, allocations: 4.938 kB / 1.222 GB, free: 124.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006357/2.63, allocations: 244 kB / 1.222 GB, free: 124 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005513/2.631, allocations: 84.84 kB / 1.223 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.04/4.671, allocations: 0.6768 GB / 1.899 GB, free: 39.73 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/4.671, allocations: 0.8241 MB / 1.9 GB, free: 38.88 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005924/4.672, allocations: 152.7 kB / 1.9 GB, free: 38.76 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/4.672, allocations: 143.4 kB / 1.9 GB, free: 38.62 MB / 0.5261 GB Notification: Performance of SimCode: time 1.132e-06/4.672, allocations: 4.391 kB / 1.9 GB, free: 38.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04746/4.719, allocations: 19.09 MB / 1.919 GB, free: 19.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/4.72, allocations: 210.4 kB / 1.919 GB, free: 19.67 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.01/7.73, allocations: 0 / 1.919 GB, free: 19.67 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_pT.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_pT_res.mat does not exist to compare? outputFormat=mat