Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_trunk_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 trunk/package.mo): time 0.001171/0.001171, allocations: 198.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.538/1.538, allocations: 227.2 MB / 245 MB, free: 7.609 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001006/0.001006, allocations: 102.3 kB / 297.3 MB, free: 6.23 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4043/0.4043, allocations: 45.23 MB / 394.7 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002828/0.0002828, allocations: 8 kB / 468.5 MB, free: 7.668 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4724/0.4727, allocations: 63.24 MB / 0.5193 GB, free: 43.64 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.376/1.849, allocations: 0.5463 GB / 1.066 GB, free: 53.52 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003197/1.849, allocations: 82.06 kB / 1.066 GB, free: 53.48 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.6137/2.463, allocations: 108.7 MB / 1.172 GB, free: 165 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.964e-06/2.463, allocations: 0 / 1.172 GB, free: 165 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.172e-05/2.463, allocations: 3.094 kB / 1.172 GB, free: 165 MB / 0.5417 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.003903/2.467, allocations: 1.025 MB / 1.173 GB, free: 164.3 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/2.467, allocations: 13.41 kB / 1.173 GB, free: 164.3 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.617e-05/2.467, allocations: 67.44 kB / 1.173 GB, free: 164.2 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005817/2.467, allocations: 71.66 kB / 1.173 GB, free: 164.2 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/2.468, allocations: 261 kB / 1.173 GB, free: 164 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/2.468, allocations: 19.38 kB / 1.173 GB, free: 163.9 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/2.468, allocations: 25.09 kB / 1.173 GB, free: 163.9 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009501/2.469, allocations: 481.3 kB / 1.174 GB, free: 163.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/2.469, allocations: 3.562 kB / 1.174 GB, free: 163.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/2.469, allocations: 12.12 kB / 1.174 GB, free: 163.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/2.469, allocations: 8.938 kB / 1.174 GB, free: 163.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009693/2.47, allocations: 0.6767 MB / 1.174 GB, free: 163.5 MB / 0.5417 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.009454/2.479, allocations: 5.356 MB / 1.18 GB, free: 160.3 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/2.48, allocations: 175.3 kB / 1.18 GB, free: 160.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04383/2.524, allocations: 25.61 MB / 1.205 GB, free: 142.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006294/2.524, allocations: 279.5 kB / 1.205 GB, free: 142.7 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=26): time 3.016e-06/2.524, allocations: 3.938 kB / 1.205 GB, free: 142.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=26): time 0.001105/2.525, allocations: 392.8 kB / 1.205 GB, free: 142.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/2.526, allocations: 424.5 kB / 1.206 GB, free: 142.1 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/2.526, allocations: 176.7 kB / 1.206 GB, free: 142 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/2.526, allocations: 33.67 kB / 1.206 GB, free: 141.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.684e-05/2.526, allocations: 190.9 kB / 1.206 GB, free: 141.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.318e-05/2.526, allocations: 94.03 kB / 1.206 GB, free: 141.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.83e-05/2.526, allocations: 11.88 kB / 1.206 GB, free: 141.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.221e-05/2.526, allocations: 326.5 kB / 1.207 GB, free: 141.4 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/2.526, allocations: 63.72 kB / 1.207 GB, free: 141.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/2.526, allocations: 308.8 kB / 1.207 GB, free: 141 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/2.527, allocations: 114.2 kB / 1.207 GB, free: 140.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/2.527, allocations: 0 / 1.207 GB, free: 140.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006289/2.527, allocations: 390.6 kB / 1.207 GB, free: 140.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.502e-05/2.527, allocations: 15.72 kB / 1.207 GB, free: 140.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/2.527, allocations: 11.25 kB / 1.207 GB, free: 140.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/2.527, allocations: 11.72 kB / 1.207 GB, free: 140.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/2.528, allocations: 105.6 kB / 1.208 GB, free: 140.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/2.528, allocations: 19.77 kB / 1.208 GB, free: 140.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003495/2.528, allocations: 55.22 kB / 1.208 GB, free: 140.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.822e-05/2.528, allocations: 30.97 kB / 1.208 GB, free: 140.7 MB / 0.5417 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 () * Number of clocked 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.000151/2.528, allocations: 154.6 kB / 1.208 GB, free: 140.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/2.528, allocations: 30.84 kB / 1.208 GB, free: 140.6 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/2.529, allocations: 0.8181 MB / 1.209 GB, free: 140.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.857e-05/2.529, allocations: 15.98 kB / 1.209 GB, free: 140.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/2.529, allocations: 7.812 kB / 1.209 GB, free: 140.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/2.529, allocations: 3.953 kB / 1.209 GB, free: 140.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02552/2.555, allocations: 12.08 MB / 1.22 GB, free: 128 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/2.555, allocations: 8.094 kB / 1.22 GB, free: 128 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/2.555, allocations: 27.98 kB / 1.221 GB, free: 127.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/2.555, allocations: 4 kB / 1.221 GB, free: 127.9 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/2.555, allocations: 7.953 kB / 1.221 GB, free: 127.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/2.555, allocations: 7.938 kB / 1.221 GB, free: 127.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/2.555, allocations: 0 / 1.221 GB, free: 127.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000556/2.556, allocations: 0.492 MB / 1.221 GB, free: 127.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/2.556, allocations: 192.3 kB / 1.221 GB, free: 127.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.994e-05/2.556, allocations: 7.984 kB / 1.221 GB, free: 127.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/2.556, allocations: 12.09 kB / 1.221 GB, free: 127.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.411e-05/2.556, allocations: 19.92 kB / 1.221 GB, free: 127.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/2.556, allocations: 8 kB / 1.221 GB, free: 127.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002459/2.557, allocations: 231.2 kB / 1.221 GB, free: 126.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.61e-07/2.557, allocations: 3.938 kB / 1.221 GB, free: 126.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002356/2.559, allocations: 439.3 kB / 1.222 GB, free: 126.4 MB / 0.5417 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 (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.003733/2.563, allocations: 2.242 MB / 1.224 GB, free: 124.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005399/2.563, allocations: 237 kB / 1.224 GB, free: 123.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/2.563, allocations: 0.75 kB / 1.224 GB, free: 123.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001259/2.563, allocations: 111.8 kB / 1.224 GB, free: 123.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/2.564, allocations: 78.67 kB / 1.224 GB, free: 123.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.533/5.097, allocations: 0.7385 GB / 1.963 GB, free: 142.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/5.098, allocations: 0.8011 MB / 1.964 GB, free: 141.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005687/5.098, allocations: 155.2 kB / 1.964 GB, free: 141.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001896/5.099, allocations: 127.4 kB / 1.964 GB, free: 141.4 MB / 0.5417 GB Notification: Performance of SimCode: time 1.603e-06/5.099, allocations: 0 / 1.964 GB, free: 141.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05596/5.155, allocations: 16.95 MB / 1.981 GB, free: 140.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002354/5.155, allocations: 202.4 kB / 1.981 GB, free: 140.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.827/7.982, allocations: 2.969 kB / 1.981 GB, free: 140.1 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat