Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001587/0.001587, allocations: 183.4 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.706/1.706, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008705/0.0008702, allocations: 93.81 kB / 267.1 MB, free: 9.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4948/0.4948, allocations: 43.48 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.166e-05/6.171e-05, allocations: 4 kB / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.1953, allocations: 58.84 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.151/2.346, allocations: 0.6457 GB / 1.119 GB, free: 173.8 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/2.347, allocations: 82.44 kB / 1.119 GB, free: 173.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2583/2.605, allocations: 111.3 MB / 1.227 GB, free: 99.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.076e-06/2.605, allocations: 0 / 1.227 GB, free: 99.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.886e-05/2.605, allocations: 8 kB / 1.227 GB, free: 99.89 MB / 0.5105 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.005016/2.61, allocations: 1.048 MB / 1.228 GB, free: 98.8 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.793e-05/2.61, allocations: 8.031 kB / 1.228 GB, free: 98.79 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/2.61, allocations: 65.97 kB / 1.229 GB, free: 98.72 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007113/2.611, allocations: 75.66 kB / 1.229 GB, free: 98.65 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004286/2.612, allocations: 246.7 kB / 1.229 GB, free: 98.37 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/2.612, allocations: 20.56 kB / 1.229 GB, free: 98.35 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.295e-05/2.612, allocations: 24 kB / 1.229 GB, free: 98.32 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/2.613, allocations: 493.5 kB / 1.229 GB, free: 97.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.162e-05/2.613, allocations: 1.375 kB / 1.229 GB, free: 97.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.763e-05/2.613, allocations: 12 kB / 1.229 GB, free: 97.79 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.369e-05/2.613, allocations: 11.98 kB / 1.229 GB, free: 97.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/2.614, allocations: 0.693 MB / 1.23 GB, free: 97.09 MB / 0.5105 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.01002/2.624, allocations: 5.381 MB / 1.235 GB, free: 91.29 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005945/2.625, allocations: 176.6 kB / 1.235 GB, free: 91.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/2.625, allocations: 57.78 kB / 1.236 GB, free: 91.05 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05583/2.681, allocations: 25.84 MB / 1.261 GB, free: 62.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008537/2.682, allocations: 301.7 kB / 1.261 GB, free: 61.85 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=26): time 4.779e-06/2.682, allocations: 0 / 1.261 GB, free: 61.85 MB / 0.5105 GB Notification: Performance of matching and sorting (n=26): time 0.001466/2.683, allocations: 368.8 kB / 1.261 GB, free: 61.48 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002435/2.683, allocations: 427.6 kB / 1.262 GB, free: 60.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003164/2.684, allocations: 173.7 kB / 1.262 GB, free: 60.79 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 5.343e-05/2.684, allocations: 33.7 kB / 1.262 GB, free: 60.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001496/2.684, allocations: 187.2 kB / 1.262 GB, free: 60.56 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.646e-05/2.684, allocations: 98.64 kB / 1.262 GB, free: 60.46 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.973e-05/2.684, allocations: 4 kB / 1.262 GB, free: 60.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001141/2.684, allocations: 330.8 kB / 1.263 GB, free: 60.13 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/2.684, allocations: 60.86 kB / 1.263 GB, free: 60.07 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003161/2.685, allocations: 303.2 kB / 1.263 GB, free: 59.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002165/2.685, allocations: 119.9 kB / 1.263 GB, free: 59.54 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/2.685, allocations: 4 kB / 1.263 GB, free: 59.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007951/2.686, allocations: 381.4 kB / 1.263 GB, free: 59.16 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.047e-05/2.686, allocations: 16.22 kB / 1.263 GB, free: 59.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.989e-05/2.686, allocations: 8 kB / 1.263 GB, free: 59.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.299e-05/2.686, allocations: 15.95 kB / 1.263 GB, free: 59.12 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/2.686, allocations: 107.8 kB / 1.264 GB, free: 59.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.569e-05/2.686, allocations: 15.94 kB / 1.264 GB, free: 59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004067/2.687, allocations: 47.53 kB / 1.264 GB, free: 58.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.364e-05/2.687, allocations: 31.98 kB / 1.264 GB, free: 58.92 MB / 0.5105 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.0001619/2.687, allocations: 132.8 kB / 1.264 GB, free: 58.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/2.687, allocations: 27.72 kB / 1.264 GB, free: 58.76 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/2.688, allocations: 0.8165 MB / 1.265 GB, free: 57.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/2.688, allocations: 8.156 kB / 1.265 GB, free: 57.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/2.688, allocations: 7.953 kB / 1.265 GB, free: 57.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/2.688, allocations: 7.984 kB / 1.265 GB, free: 57.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02811/2.716, allocations: 12.23 MB / 1.277 GB, free: 44.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.037e-05/2.717, allocations: 4 kB / 1.277 GB, free: 44.51 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/2.717, allocations: 35.91 kB / 1.277 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.476e-05/2.717, allocations: 7.953 kB / 1.277 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.43e-05/2.717, allocations: 4 kB / 1.277 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/2.717, allocations: 12.03 kB / 1.277 GB, free: 44.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/2.717, allocations: 3.938 kB / 1.277 GB, free: 44.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009138/2.718, allocations: 0.4899 MB / 1.277 GB, free: 43.87 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/2.718, allocations: 192.2 kB / 1.277 GB, free: 43.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/2.718, allocations: 8 kB / 1.277 GB, free: 43.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004406/2.719, allocations: 15.98 kB / 1.277 GB, free: 43.64 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.968e-05/2.719, allocations: 19.94 kB / 1.277 GB, free: 43.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/2.719, allocations: 8 kB / 1.277 GB, free: 43.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003414/2.719, allocations: 230.1 kB / 1.278 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.21e-07/2.719, allocations: 0 / 1.278 GB, free: 43.39 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002792/2.722, allocations: 435.3 kB / 1.278 GB, free: 42.96 MB / 0.5105 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.004525/2.727, allocations: 2.229 MB / 1.28 GB, free: 40.65 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006619/2.727, allocations: 248.9 kB / 1.28 GB, free: 40.41 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/2.727, allocations: 0 / 1.28 GB, free: 40.41 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/2.728, allocations: 105.5 kB / 1.28 GB, free: 40.31 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007228/2.728, allocations: 73.78 kB / 1.281 GB, free: 40.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.471/5.199, allocations: 0.7341 GB / 2.015 GB, free: 65.98 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006947/5.2, allocations: 0.8001 MB / 2.015 GB, free: 65.15 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006702/5.201, allocations: 151.2 kB / 2.016 GB, free: 65.03 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000235/5.201, allocations: 123.4 kB / 2.016 GB, free: 64.92 MB / 0.5105 GB Notification: Performance of SimCode: time 1.764e-06/5.201, allocations: 4 kB / 2.016 GB, free: 64.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03946/5.24, allocations: 17.49 MB / 2.033 GB, free: 47.73 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002753/5.241, allocations: 187.4 kB / 2.033 GB, free: 47.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.866/8.107, allocations: 0 / 2.033 GB, free: 47.5 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat