Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.002472/0.002472, allocations: 186.8 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001137/0.001137, allocations: 98.03 kB / 270.9 MB, free: 8.367 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.5509/0.5509, allocations: 43.55 MB / 362.7 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.000495, allocations: 16 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1484, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.352/2.5, allocations: 0.6458 GB / 1.125 GB, free: 107 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000353/2.501, allocations: 79.64 kB / 1.125 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.3431/2.844, allocations: 111.5 MB / 1.234 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.705e-06/2.844, allocations: 0 / 1.234 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.562e-05/2.844, allocations: 4 kB / 1.234 GB, free: 0.9023 MB / 0.4948 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.3577/3.202, allocations: 1.055 MB / 1.235 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/3.202, allocations: 12.2 kB / 1.235 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002174/3.202, allocations: 62.39 kB / 1.235 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000933/3.203, allocations: 85 kB / 1.235 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/3.204, allocations: 244 kB / 1.235 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.143e-05/3.204, allocations: 23.5 kB / 1.235 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.948e-05/3.204, allocations: 24.69 kB / 1.235 GB, free: 118.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001622/3.205, allocations: 475.5 kB / 1.236 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/3.205, allocations: 1.062 kB / 1.236 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.932e-05/3.205, allocations: 14.09 kB / 1.236 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/3.205, allocations: 7.719 kB / 1.236 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/3.207, allocations: 0.6792 MB / 1.236 GB, free: 118.7 MB / 0.4948 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.01678/3.224, allocations: 5.374 MB / 1.241 GB, free: 116.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008116/3.225, allocations: 165.6 kB / 1.242 GB, free: 116 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07949/3.305, allocations: 25.6 MB / 1.267 GB, free: 100.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008191/3.305, allocations: 283.9 kB / 1.267 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=26): time 4.349e-06/3.305, allocations: 0 / 1.267 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=26): time 0.001664/3.307, allocations: 401 kB / 1.267 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/3.307, allocations: 425.8 kB / 1.268 GB, free: 99.72 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002222/3.308, allocations: 172.8 kB / 1.268 GB, free: 99.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.351e-05/3.308, allocations: 32.55 kB / 1.268 GB, free: 99.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/3.308, allocations: 262.6 kB / 1.268 GB, free: 99.38 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.598e-05/3.308, allocations: 93.05 kB / 1.268 GB, free: 99.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/3.308, allocations: 8.094 kB / 1.268 GB, free: 99.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.73e-05/3.308, allocations: 327.4 kB / 1.269 GB, free: 99.03 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001721/3.308, allocations: 62.28 kB / 1.269 GB, free: 99.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/3.308, allocations: 317.2 kB / 1.269 GB, free: 98.71 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/3.309, allocations: 105.4 kB / 1.269 GB, free: 98.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/3.309, allocations: 3.906 kB / 1.269 GB, free: 98.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009542/3.31, allocations: 393.2 kB / 1.269 GB, free: 98.65 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/3.31, allocations: 9.719 kB / 1.269 GB, free: 98.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/3.31, allocations: 6.969 kB / 1.269 GB, free: 98.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.913e-05/3.31, allocations: 13.75 kB / 1.269 GB, free: 98.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000623/3.31, allocations: 113 kB / 1.27 GB, free: 98.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/3.31, allocations: 17.31 kB / 1.27 GB, free: 98.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004341/3.311, allocations: 46.2 kB / 1.27 GB, free: 98.63 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.802e-05/3.311, allocations: 29.2 kB / 1.27 GB, free: 98.63 MB / 0.4948 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.0002175/3.311, allocations: 168.2 kB / 1.27 GB, free: 98.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.125e-05/3.311, allocations: 22.69 kB / 1.27 GB, free: 98.51 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/3.313, allocations: 0.8203 MB / 1.271 GB, free: 98.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/3.313, allocations: 5.984 kB / 1.271 GB, free: 98.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/3.313, allocations: 7.078 kB / 1.271 GB, free: 98.31 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/3.313, allocations: 3.312 kB / 1.271 GB, free: 98.31 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04381/3.357, allocations: 12.1 MB / 1.282 GB, free: 92.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/3.357, allocations: 0 / 1.282 GB, free: 92.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/3.357, allocations: 27.78 kB / 1.282 GB, free: 92.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/3.357, allocations: 6.922 kB / 1.282 GB, free: 92.24 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.518e-05/3.357, allocations: 7.719 kB / 1.282 GB, free: 92.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/3.357, allocations: 6.281 kB / 1.282 GB, free: 92.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/3.357, allocations: 0 / 1.282 GB, free: 92.24 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006276/3.358, allocations: 499 kB / 1.283 GB, free: 91.88 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/3.358, allocations: 190.2 kB / 1.283 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-05/3.358, allocations: 5.656 kB / 1.283 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000353/3.359, allocations: 12.86 kB / 1.283 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.269e-05/3.359, allocations: 18.67 kB / 1.283 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/3.359, allocations: 13.52 kB / 1.283 GB, free: 91.76 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000324/3.359, allocations: 227 kB / 1.283 GB, free: 91.68 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.41e-07/3.359, allocations: 0 / 1.283 GB, free: 91.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002301/3.361, allocations: 436.4 kB / 1.284 GB, free: 91.67 MB / 0.4948 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.004075/3.365, allocations: 2.247 MB / 1.286 GB, free: 90.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007309/3.366, allocations: 245.1 kB / 1.286 GB, free: 90.21 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/3.366, allocations: 4.25 kB / 1.286 GB, free: 90.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001744/3.366, allocations: 109.4 kB / 1.286 GB, free: 90.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008547/3.367, allocations: 67.77 kB / 1.286 GB, free: 90.19 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 3.055/6.422, allocations: 0.7411 GB / 2.028 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/6.423, allocations: 0.8022 MB / 2.028 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/6.423, allocations: 129.3 kB / 2.028 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.192e-06/6.423, allocations: 5.062 kB / 2.028 GB, free: 100.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.806/9.229, allocations: 11.92 MB / 2.04 GB, free: 99.43 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_ph.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_ph_res.mat does not exist to compare? outputFormat=mat