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.001463/0.001463, 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.502/1.502, 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.0009894/0.0009892, allocations: 90.66 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.238/0.238, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.571e-05/3.573e-05, allocations: 8.203 kB / 451.9 MB, free: 9.332 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1549/0.1549, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.589/1.744, allocations: 0.5452 GB / 1.047 GB, free: 77.45 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/1.744, allocations: 81.58 kB / 1.047 GB, free: 77.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5871/2.331, allocations: 108.4 MB / 1.153 GB, free: 173.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.645e-06/2.331, allocations: 0 / 1.153 GB, free: 173.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.583e-05/2.331, allocations: 3.656 kB / 1.153 GB, free: 173.1 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.003641/2.335, allocations: 1.029 MB / 1.154 GB, free: 172.4 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/2.335, allocations: 7.812 kB / 1.154 GB, free: 172.4 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.534e-05/2.335, allocations: 70.95 kB / 1.154 GB, free: 172.4 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005292/2.336, allocations: 72.75 kB / 1.154 GB, free: 172.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/2.336, allocations: 245.1 kB / 1.154 GB, free: 172.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.294e-05/2.336, allocations: 18 kB / 1.154 GB, free: 172.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/2.336, allocations: 32.84 kB / 1.154 GB, free: 172.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008631/2.337, allocations: 493.8 kB / 1.155 GB, free: 172.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/2.337, allocations: 7.922 kB / 1.155 GB, free: 172 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/2.337, allocations: 10.75 kB / 1.155 GB, free: 172 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/2.337, allocations: 7.812 kB / 1.155 GB, free: 172 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009073/2.338, allocations: 0.6867 MB / 1.156 GB, free: 172 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.007667/2.346, allocations: 4.168 MB / 1.16 GB, free: 170.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005857/2.346, allocations: 231.8 kB / 1.16 GB, free: 170.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/2.346, allocations: 71.95 kB / 1.16 GB, free: 170.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07772/2.424, allocations: 43.18 MB / 1.202 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006475/2.425, allocations: 248.8 kB / 1.202 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=20): time 2.745e-06/2.425, allocations: 4 kB / 1.202 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=22): time 0.002422/2.427, allocations: 0.7176 MB / 1.203 GB, free: 138.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/2.427, allocations: 273.2 kB / 1.203 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/2.428, allocations: 182.2 kB / 1.203 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/2.428, allocations: 29.7 kB / 1.203 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/2.428, allocations: 211 kB / 1.204 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.827e-05/2.428, allocations: 82.75 kB / 1.204 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/2.428, allocations: 8 kB / 1.204 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.326e-05/2.428, allocations: 326.8 kB / 1.204 GB, free: 137.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.644e-05/2.428, allocations: 69.11 kB / 1.204 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/2.428, allocations: 339.5 kB / 1.204 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/2.428, allocations: 123.8 kB / 1.205 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/2.428, allocations: 8 kB / 1.205 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005841/2.429, allocations: 431.2 kB / 1.205 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/2.429, allocations: 8.156 kB / 1.205 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/2.429, allocations: 15.98 kB / 1.205 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/2.431, allocations: 316.7 kB / 1.205 GB, free: 135.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/2.431, allocations: 103.8 kB / 1.205 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005197/2.432, allocations: 1.223 MB / 1.207 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/2.432, allocations: 16 kB / 1.207 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/2.432, allocations: 31.98 kB / 1.207 GB, free: 134.4 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 () * 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.0001192/2.432, allocations: 156.8 kB / 1.207 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/2.432, allocations: 23.72 kB / 1.207 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008839/2.433, allocations: 0.7835 MB / 1.208 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/2.433, allocations: 7.953 kB / 1.208 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/2.433, allocations: 7.984 kB / 1.208 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/2.433, allocations: 4 kB / 1.208 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/2.434, allocations: 0.4888 MB / 1.208 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/2.434, allocations: 4 kB / 1.208 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/2.434, allocations: 40.16 kB / 1.208 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001041/2.435, allocations: 249.4 kB / 1.208 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/2.435, allocations: 8 kB / 1.208 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004153/2.435, allocations: 1.266 MB / 1.21 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/2.435, allocations: 0 / 1.21 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004351/2.436, allocations: 0.5398 MB / 1.21 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/2.436, allocations: 220.2 kB / 1.21 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.918e-05/2.436, allocations: 8 kB / 1.21 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/2.436, allocations: 8 kB / 1.21 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.215e-05/2.436, allocations: 27.86 kB / 1.21 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/2.436, allocations: 12 kB / 1.21 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002373/2.436, allocations: 293.6 kB / 1.211 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/2.436, allocations: 0 / 1.211 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001946/2.438, allocations: 415.4 kB / 1.211 GB, free: 129.7 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 (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.002565/2.441, allocations: 2.23 MB / 1.213 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005157/2.441, allocations: 316.3 kB / 1.214 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/2.441, allocations: 0 / 1.214 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/2.442, allocations: 185.5 kB / 1.214 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004446/2.442, allocations: 78.47 kB / 1.214 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.901/6.343, allocations: 1.252 GB / 2.466 GB, free: 39.31 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/6.344, allocations: 0.8364 MB / 2.467 GB, free: 38.45 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004578/6.344, allocations: 123.6 kB / 2.467 GB, free: 38.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/6.344, allocations: 147.4 kB / 2.467 GB, free: 38.2 MB / 0.5261 GB Notification: Performance of SimCode: time 2.244e-06/6.344, allocations: 0 / 2.467 GB, free: 38.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03849/6.383, allocations: 17.62 MB / 2.484 GB, free: 20.96 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/6.383, allocations: 211.3 kB / 2.485 GB, free: 20.73 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.841/9.224, allocations: 0 / 2.485 GB, free: 20.73 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