Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",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.002406/0.002406, 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.909/1.909, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009458/0.0009458, allocations: 94.86 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.2334/0.2334, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003432/0.0003432, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1293, allocations: 58.86 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5237/0.6531, allocations: 194.4 MB / 0.6687 GB, free: 6.273 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/0.6534, allocations: 77.89 kB / 0.6688 GB, free: 6.23 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.359/1.012, allocations: 43.96 MB / 0.7117 GB, free: 172.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.394e-06/1.012, allocations: 0 / 0.7117 GB, free: 172.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.938e-05/1.012, allocations: 5.094 kB / 0.7117 GB, free: 172.4 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.001564/1.014, allocations: 0.6361 MB / 0.7123 GB, free: 172 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/1.014, allocations: 9.625 kB / 0.7123 GB, free: 172 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001071/1.014, allocations: 51.97 kB / 0.7124 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005279/1.015, allocations: 46.73 kB / 0.7124 GB, free: 171.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/1.015, allocations: 216.2 kB / 0.7126 GB, free: 171.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/1.015, allocations: 11.34 kB / 0.7126 GB, free: 171.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.341e-05/1.015, allocations: 20.45 kB / 0.7127 GB, free: 171.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/1.016, allocations: 235 kB / 0.7129 GB, free: 171.6 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/1.016, allocations: 4.375 kB / 0.7129 GB, free: 171.6 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/1.016, allocations: 10.52 kB / 0.7129 GB, free: 171.6 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/1.016, allocations: 7.719 kB / 0.7129 GB, free: 171.6 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004499/1.016, allocations: 232.8 kB / 0.7131 GB, free: 171.6 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/1.018, allocations: 1.338 MB / 0.7144 GB, free: 170.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/1.018, allocations: 87.52 kB / 0.7145 GB, free: 170.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001315/1.019, allocations: 1.837 MB / 0.7163 GB, free: 168.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002267/1.019, allocations: 165 kB / 0.7165 GB, free: 168.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=17): time 2.545e-06/1.019, allocations: 0 / 0.7165 GB, free: 168.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.001045/1.02, allocations: 353.6 kB / 0.7168 GB, free: 168.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.856e-05/1.02, allocations: 271.6 kB / 0.7171 GB, free: 167.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/1.021, allocations: 139.1 kB / 0.7172 GB, free: 167.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/1.021, allocations: 31.95 kB / 0.7172 GB, free: 167.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.104e-05/1.021, allocations: 147.5 kB / 0.7174 GB, free: 167.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.619e-05/1.021, allocations: 64.95 kB / 0.7174 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/1.021, allocations: 7.938 kB / 0.7174 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.051e-05/1.021, allocations: 321.7 kB / 0.7177 GB, free: 167.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.202e-05/1.021, allocations: 43.62 kB / 0.7178 GB, free: 167.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001521/1.021, allocations: 182.7 kB / 0.718 GB, free: 167.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/1.021, allocations: 71.25 kB / 0.718 GB, free: 167.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/1.021, allocations: 1.562 kB / 0.718 GB, free: 167.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004749/1.022, allocations: 263.5 kB / 0.7183 GB, free: 167.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/1.022, allocations: 6.875 kB / 0.7183 GB, free: 167.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/1.022, allocations: 6.062 kB / 0.7183 GB, free: 167.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/1.022, allocations: 9.062 kB / 0.7183 GB, free: 167.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005118/1.022, allocations: 103.8 kB / 0.7184 GB, free: 167.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002638/1.023, allocations: 0.5918 MB / 0.719 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/1.023, allocations: 10.88 kB / 0.719 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.596e-05/1.023, allocations: 22.52 kB / 0.719 GB, free: 166.5 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001238/1.023, allocations: 143.3 kB / 0.7192 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.863e-05/1.023, allocations: 20.34 kB / 0.7192 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005362/1.024, allocations: 257 kB / 0.7194 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/1.024, allocations: 2 kB / 0.7194 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/1.024, allocations: 5.641 kB / 0.7194 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.024, allocations: 1.625 kB / 0.7194 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/1.024, allocations: 221.5 kB / 0.7196 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.024, allocations: 1.344 kB / 0.7196 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004051/1.024, allocations: 51.7 kB / 0.7197 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.71e-06/1.024, allocations: 2.031 kB / 0.7197 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/1.024, allocations: 5.812 kB / 0.7197 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001859/1.025, allocations: 0.5813 MB / 0.7203 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.025, allocations: 5.344 kB / 0.7203 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/1.025, allocations: 156.5 kB / 0.7204 GB, free: 165.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/1.025, allocations: 124.3 kB / 0.7205 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.154e-05/1.025, allocations: 6.812 kB / 0.7205 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/1.025, allocations: 6.5 kB / 0.7205 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/1.025, allocations: 7.312 kB / 0.7206 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/1.025, allocations: 9.922 kB / 0.7206 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001033/1.025, allocations: 129.2 kB / 0.7207 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1e-07/1.025, allocations: 0 / 0.7207 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000826/1.026, allocations: 195.2 kB / 0.7209 GB, free: 165.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001035/1.027, allocations: 0.9925 MB / 0.7218 GB, free: 164.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004701/1.028, allocations: 151.6 kB / 0.722 GB, free: 164.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.028, allocations: 0 / 0.722 GB, free: 164.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001788/1.028, allocations: 49.89 kB / 0.722 GB, free: 164.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/1.028, allocations: 30.67 kB / 0.7221 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0341/1.062, allocations: 15.56 MB / 0.7373 GB, free: 160.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/1.062, allocations: 0.716 MB / 0.738 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003952/1.063, allocations: 100.7 kB / 0.7381 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/1.063, allocations: 52.2 kB / 0.7381 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of SimCode: time 9.21e-07/1.063, allocations: 0 / 0.7381 GB, free: 159.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/1.084, allocations: 6.236 MB / 0.7442 GB, free: 158.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/1.085, allocations: 259.7 kB / 0.7444 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.904, allocations: 6 kB / 0.7445 GB, free: 158.2 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat does not exist to compare? outputFormat=mat