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.00197/0.00197, allocations: 181 kB / 17.06 MB, free: 5.098 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.45/1.45, allocations: 223.2 MB / 241 MB, free: 11.91 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009191/0.0009192, allocations: 93.47 kB / 292.1 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4117/0.4117, allocations: 44.21 MB / 387.5 MB, free: 39.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003689/0.0003693, allocations: 12 kB / 460 MB, free: 1.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4149, allocations: 61.89 MB / 0.5096 GB, free: 37.69 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.316/1.731, allocations: 0.5452 GB / 1.055 GB, free: 25.46 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/1.732, allocations: 87.48 kB / 1.055 GB, free: 25.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5868/2.318, allocations: 108.6 MB / 1.161 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.388e-06/2.318, allocations: 4 kB / 1.161 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.222e-05/2.319, allocations: 0 / 1.161 GB, free: 142.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.00491/2.323, allocations: 1.033 MB / 1.162 GB, free: 141 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.609e-05/2.324, allocations: 8.562 kB / 1.162 GB, free: 141 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001753/2.324, allocations: 66.53 kB / 1.162 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007502/2.324, allocations: 79.66 kB / 1.162 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/2.325, allocations: 250.7 kB / 1.162 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.952e-05/2.325, allocations: 20.56 kB / 1.162 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.831e-05/2.325, allocations: 27.95 kB / 1.162 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/2.326, allocations: 477.5 kB / 1.163 GB, free: 140 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/2.326, allocations: 4 kB / 1.163 GB, free: 140 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.097e-05/2.326, allocations: 10.06 kB / 1.163 GB, free: 140 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.364e-05/2.326, allocations: 8 kB / 1.163 GB, free: 140 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/2.328, allocations: 0.6812 MB / 1.164 GB, free: 139.3 MB / 0.5261 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.009455/2.337, allocations: 5.353 MB / 1.169 GB, free: 133.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005774/2.338, allocations: 173 kB / 1.169 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04343/2.381, allocations: 25.61 MB / 1.194 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000843/2.382, allocations: 285.1 kB / 1.194 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=26): time 4.268e-06/2.382, allocations: 0 / 1.194 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=26): time 0.001472/2.384, allocations: 386 kB / 1.195 GB, free: 104 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002337/2.384, allocations: 427.2 kB / 1.195 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/2.384, allocations: 174.1 kB / 1.195 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.566e-05/2.384, allocations: 41.69 kB / 1.195 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/2.384, allocations: 187.5 kB / 1.195 GB, free: 103.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.936e-05/2.384, allocations: 94.64 kB / 1.196 GB, free: 103 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/2.384, allocations: 12 kB / 1.196 GB, free: 103 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001676/2.385, allocations: 334.8 kB / 1.196 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001209/2.385, allocations: 56.83 kB / 1.196 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/2.385, allocations: 306.8 kB / 1.196 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/2.385, allocations: 116.3 kB / 1.196 GB, free: 102 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/2.385, allocations: 4 kB / 1.196 GB, free: 102 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007472/2.386, allocations: 393.4 kB / 1.197 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.366e-05/2.386, allocations: 12 kB / 1.197 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-05/2.386, allocations: 16.06 kB / 1.197 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.774e-05/2.386, allocations: 12 kB / 1.197 GB, free: 101.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/2.386, allocations: 107.8 kB / 1.197 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.073e-05/2.387, allocations: 15.94 kB / 1.197 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/2.387, allocations: 47.53 kB / 1.197 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-05/2.387, allocations: 31.98 kB / 1.197 GB, free: 101.4 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 () * 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.0001835/2.387, allocations: 157.5 kB / 1.197 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.442e-05/2.387, allocations: 27.7 kB / 1.197 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/2.388, allocations: 0.8065 MB / 1.198 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/2.388, allocations: 7.984 kB / 1.198 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/2.388, allocations: 8.156 kB / 1.198 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/2.388, allocations: 0 / 1.198 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02394/2.412, allocations: 12.1 MB / 1.21 GB, free: 87.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.431e-05/2.412, allocations: 0 / 1.21 GB, free: 87.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001184/2.413, allocations: 35.92 kB / 1.21 GB, free: 87.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/2.413, allocations: 8.094 kB / 1.21 GB, free: 87.07 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/2.413, allocations: 4 kB / 1.21 GB, free: 87.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/2.413, allocations: 4 kB / 1.21 GB, free: 87.07 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/2.413, allocations: 7.938 kB / 1.21 GB, free: 87.06 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005345/2.413, allocations: 0.4947 MB / 1.21 GB, free: 86.48 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/2.413, allocations: 184.3 kB / 1.21 GB, free: 86.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/2.413, allocations: 8 kB / 1.21 GB, free: 86.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/2.414, allocations: 11.95 kB / 1.21 GB, free: 86.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/2.414, allocations: 19.92 kB / 1.211 GB, free: 86.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/2.414, allocations: 12 kB / 1.211 GB, free: 86.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002566/2.414, allocations: 231.2 kB / 1.211 GB, free: 86 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1e-07/2.414, allocations: 0 / 1.211 GB, free: 86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00222/2.416, allocations: 435.3 kB / 1.211 GB, free: 85.57 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 () * 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.003568/2.42, allocations: 2.241 MB / 1.213 GB, free: 83.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005263/2.42, allocations: 246.9 kB / 1.214 GB, free: 83.01 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/2.42, allocations: 96 / 1.214 GB, free: 83.01 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/2.421, allocations: 112.7 kB / 1.214 GB, free: 82.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005438/2.421, allocations: 73.56 kB / 1.214 GB, free: 82.83 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.415/4.837, allocations: 0.7384 GB / 1.952 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003865/4.837, allocations: 0.7995 MB / 1.953 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005579/4.838, allocations: 155.9 kB / 1.953 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/4.838, allocations: 127.3 kB / 1.953 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.674e-06/4.838, allocations: 0 / 1.953 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04483/4.883, allocations: 16.95 MB / 1.97 GB, free: 108.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002726/4.883, allocations: 205.6 kB / 1.97 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.733/7.616, allocations: 0 / 1.97 GB, free: 108.6 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