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.0014/0.0014, allocations: 185.2 kB / 15.76 MB, free: 6.367 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.925/1.925, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009613/0.0009617, allocations: 90.88 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2558/0.2558, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003625/0.0003623, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.156, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.091/2.247, allocations: 0.6458 GB / 1.125 GB, free: 185.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004205/2.247, allocations: 84.23 kB / 1.125 GB, free: 185.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.2213/2.469, allocations: 111.5 MB / 1.234 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.389e-06/2.469, allocations: 8 kB / 1.234 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.105e-05/2.469, allocations: 0 / 1.234 GB, free: 105.8 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.005176/2.474, allocations: 1.057 MB / 1.235 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.239e-05/2.474, allocations: 12.02 kB / 1.235 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001566/2.474, allocations: 66.53 kB / 1.235 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006665/2.475, allocations: 83.61 kB / 1.235 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/2.475, allocations: 242.7 kB / 1.235 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/2.475, allocations: 20.56 kB / 1.235 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/2.475, allocations: 28 kB / 1.235 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009781/2.476, allocations: 473.5 kB / 1.236 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/2.477, allocations: 3.938 kB / 1.236 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.914e-05/2.477, allocations: 16 kB / 1.236 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/2.477, allocations: 11.94 kB / 1.236 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/2.478, allocations: 0.6812 MB / 1.236 GB, free: 103 MB / 0.5105 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.01138/2.489, allocations: 5.361 MB / 1.241 GB, free: 97.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000574/2.49, allocations: 168.5 kB / 1.242 GB, free: 97.08 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04522/2.535, allocations: 25.61 MB / 1.267 GB, free: 68.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007701/2.536, allocations: 292 kB / 1.267 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=26): time 5.299e-06/2.536, allocations: 0 / 1.267 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=26): time 0.00139/2.537, allocations: 397.9 kB / 1.267 GB, free: 67.73 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/2.537, allocations: 419.2 kB / 1.268 GB, free: 67.22 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002065/2.538, allocations: 174.2 kB / 1.268 GB, free: 67.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/2.538, allocations: 33.7 kB / 1.268 GB, free: 67 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/2.538, allocations: 191.5 kB / 1.268 GB, free: 66.81 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.279e-05/2.538, allocations: 98.67 kB / 1.268 GB, free: 66.71 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.043e-05/2.538, allocations: 8 kB / 1.268 GB, free: 66.71 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.784e-05/2.538, allocations: 326.8 kB / 1.268 GB, free: 66.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/2.538, allocations: 60.83 kB / 1.269 GB, free: 66.32 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001898/2.538, allocations: 310.7 kB / 1.269 GB, free: 65.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/2.538, allocations: 111.9 kB / 1.269 GB, free: 65.79 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/2.538, allocations: 4 kB / 1.269 GB, free: 65.79 MB / 0.5105 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0006396/2.539, allocations: 389.5 kB / 1.269 GB, free: 65.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/2.539, allocations: 12 kB / 1.269 GB, free: 65.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/2.539, allocations: 16.12 kB / 1.269 GB, free: 65.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.152e-05/2.539, allocations: 12 kB / 1.269 GB, free: 65.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/2.54, allocations: 111.8 kB / 1.269 GB, free: 65.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/2.54, allocations: 23.86 kB / 1.27 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003235/2.54, allocations: 47.44 kB / 1.27 GB, free: 65.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.465e-05/2.54, allocations: 31.98 kB / 1.27 GB, free: 65.15 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 () * 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.0001691/2.54, allocations: 161.6 kB / 1.27 GB, free: 64.98 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.138e-05/2.54, allocations: 19.81 kB / 1.27 GB, free: 64.96 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/2.541, allocations: 0.8061 MB / 1.271 GB, free: 64.12 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.405e-05/2.541, allocations: 7.984 kB / 1.271 GB, free: 64.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/2.541, allocations: 12.11 kB / 1.271 GB, free: 64.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/2.541, allocations: 0 / 1.271 GB, free: 64.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0267/2.568, allocations: 12.09 MB / 1.282 GB, free: 50.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/2.568, allocations: 96 / 1.282 GB, free: 50.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001189/2.568, allocations: 35.86 kB / 1.282 GB, free: 50.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.125e-05/2.568, allocations: 12.05 kB / 1.282 GB, free: 50.81 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/2.568, allocations: 8 kB / 1.282 GB, free: 50.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/2.568, allocations: 0 / 1.282 GB, free: 50.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/2.568, allocations: 4 kB / 1.282 GB, free: 50.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005541/2.569, allocations: 0.4926 MB / 1.283 GB, free: 50.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/2.569, allocations: 196.2 kB / 1.283 GB, free: 50.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.252e-05/2.569, allocations: 8 kB / 1.283 GB, free: 50 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/2.569, allocations: 4 kB / 1.283 GB, free: 50 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/2.57, allocations: 27.91 kB / 1.283 GB, free: 49.97 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/2.57, allocations: 11.95 kB / 1.283 GB, free: 49.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002561/2.57, allocations: 227.2 kB / 1.283 GB, free: 49.74 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.7e-07/2.57, allocations: 0 / 1.283 GB, free: 49.74 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002191/2.572, allocations: 439.4 kB / 1.284 GB, free: 49.31 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 () * 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.003565/2.576, allocations: 2.235 MB / 1.286 GB, free: 46.99 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005012/2.576, allocations: 241.3 kB / 1.286 GB, free: 46.76 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/2.576, allocations: 0 / 1.286 GB, free: 46.76 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/2.576, allocations: 112.7 kB / 1.286 GB, free: 46.65 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/2.577, allocations: 73.72 kB / 1.286 GB, free: 46.58 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.22/4.797, allocations: 0.7411 GB / 2.027 GB, free: 64.72 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/4.797, allocations: 0.804 MB / 2.028 GB, free: 63.89 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004769/4.798, allocations: 146.6 kB / 2.028 GB, free: 63.77 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/4.798, allocations: 119.4 kB / 2.029 GB, free: 63.66 MB / 0.5105 GB Notification: Performance of SimCode: time 1.403e-06/4.798, allocations: 0 / 2.029 GB, free: 63.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03644/4.835, allocations: 16.96 MB / 2.045 GB, free: 46.99 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001682/4.835, allocations: 205 kB / 2.045 GB, free: 46.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.729/7.564, allocations: 0 / 2.045 GB, free: 46.75 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