Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.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_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",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.001494/0.001494, allocations: 180.4 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.508/1.508, allocations: 221.3 MB / 236 MB, free: 2.945 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.0009382/0.0009383, allocations: 99.8 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.2397/0.2397, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.553e-05/3.556e-05, allocations: 4.219 kB / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1589, allocations: 61.91 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.618/1.777, allocations: 0.5452 GB / 1.047 GB, free: 92.95 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/1.777, allocations: 83.95 kB / 1.047 GB, free: 92.87 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5346/2.311, allocations: 108.5 MB / 1.153 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.405e-06/2.312, allocations: 0 / 1.153 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.711e-05/2.312, allocations: 7.719 kB / 1.153 GB, free: 165.4 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.003315/2.315, allocations: 1.015 MB / 1.154 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/2.315, allocations: 9.625 kB / 1.154 GB, free: 164.8 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.213e-05/2.315, allocations: 64.92 kB / 1.154 GB, free: 164.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005772/2.316, allocations: 78 kB / 1.154 GB, free: 164.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/2.316, allocations: 247 kB / 1.154 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/2.316, allocations: 20.34 kB / 1.154 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/2.316, allocations: 36.19 kB / 1.154 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009304/2.317, allocations: 492.5 kB / 1.155 GB, free: 164.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/2.317, allocations: 0 / 1.155 GB, free: 164.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/2.317, allocations: 14.31 kB / 1.155 GB, free: 164.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/2.317, allocations: 6.875 kB / 1.155 GB, free: 164.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/2.318, allocations: 0.6936 MB / 1.156 GB, free: 164.4 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.009602/2.328, allocations: 5.384 MB / 1.161 GB, free: 161.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005963/2.328, allocations: 179.6 kB / 1.161 GB, free: 161.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.88e-05/2.328, allocations: 56.38 kB / 1.161 GB, free: 161.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04304/2.371, allocations: 25.85 MB / 1.186 GB, free: 145.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006338/2.372, allocations: 308.8 kB / 1.187 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 3.687e-06/2.372, allocations: 0 / 1.187 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26): time 0.001212/2.373, allocations: 364.5 kB / 1.187 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/2.374, allocations: 422.8 kB / 1.187 GB, free: 145 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/2.374, allocations: 174.1 kB / 1.187 GB, free: 144.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/2.374, allocations: 33.55 kB / 1.188 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.686e-05/2.374, allocations: 185.6 kB / 1.188 GB, free: 144.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 7.568e-05/2.374, allocations: 91.84 kB / 1.188 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.919e-05/2.374, allocations: 15.28 kB / 1.188 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.935e-05/2.374, allocations: 338.1 kB / 1.188 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/2.374, allocations: 60.89 kB / 1.188 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/2.374, allocations: 302 kB / 1.188 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/2.375, allocations: 108 kB / 1.189 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/2.375, allocations: 3.688 kB / 1.189 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006382/2.375, allocations: 389.4 kB / 1.189 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/2.375, allocations: 7.875 kB / 1.189 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/2.375, allocations: 11.72 kB / 1.189 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.891e-05/2.375, allocations: 15.72 kB / 1.189 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/2.376, allocations: 103.6 kB / 1.189 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/2.376, allocations: 15.06 kB / 1.189 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/2.376, allocations: 50.7 kB / 1.189 GB, free: 143.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.846e-05/2.376, allocations: 32.28 kB / 1.189 GB, free: 143.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001122/2.376, allocations: 157.9 kB / 1.189 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.322e-05/2.376, allocations: 23.36 kB / 1.189 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/2.377, allocations: 0.8134 MB / 1.19 GB, free: 143 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/2.377, allocations: 7.469 kB / 1.19 GB, free: 143 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/2.377, allocations: 0 / 1.19 GB, free: 143 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/2.377, allocations: 7.812 kB / 1.19 GB, free: 143 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02461/2.402, allocations: 12.23 MB / 1.202 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/2.402, allocations: 3.5 kB / 1.202 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/2.402, allocations: 32.09 kB / 1.202 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.063e-05/2.402, allocations: 8.031 kB / 1.202 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/2.402, allocations: 7.688 kB / 1.202 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/2.402, allocations: 3.938 kB / 1.202 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/2.402, allocations: 2.812 kB / 1.202 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005649/2.403, allocations: 0.4888 MB / 1.203 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/2.403, allocations: 181.7 kB / 1.203 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/2.403, allocations: 15.45 kB / 1.203 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/2.403, allocations: 11.06 kB / 1.203 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.391e-05/2.403, allocations: 10.8 kB / 1.203 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/2.404, allocations: 18.77 kB / 1.203 GB, free: 135.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002733/2.404, allocations: 221.9 kB / 1.203 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.11e-07/2.404, allocations: 0 / 1.203 GB, free: 135.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002419/2.406, allocations: 435.4 kB / 1.203 GB, free: 135.2 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003819/2.41, allocations: 2.24 MB / 1.206 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005474/2.411, allocations: 246.2 kB / 1.206 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/2.411, allocations: 0 / 1.206 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001405/2.411, allocations: 107.6 kB / 1.206 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006285/2.411, allocations: 78.06 kB / 1.206 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.382/4.794, allocations: 0.7315 GB / 1.938 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/4.794, allocations: 0.8026 MB / 1.938 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006086/4.795, allocations: 151.2 kB / 1.938 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/4.795, allocations: 124.3 kB / 1.939 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.944e-06/4.795, allocations: 0 / 1.939 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04434/4.84, allocations: 17.5 MB / 1.956 GB, free: 151.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000194/4.84, allocations: 178.1 kB / 1.956 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.133/7.973, allocations: 0 / 1.956 GB, free: 151.7 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat