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.001635/0.001635, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009085/0.0009085, allocations: 86.62 kB / 261.8 MB, free: 1.68 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.2171/0.2171, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.347e-05/2.351e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1353, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6157/0.7511, allocations: 193.6 MB / 0.6551 GB, free: 2.367 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.7515, allocations: 85.42 kB / 0.6552 GB, free: 2.324 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1168/0.8683, allocations: 43.63 MB / 0.6978 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8684, allocations: 0 / 0.6978 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.718e-05/0.8684, allocations: 0 / 0.6978 GB, free: 10.57 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.001507/0.87, allocations: 0.6303 MB / 0.6984 GB, free: 9.891 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.87, allocations: 12.03 kB / 0.6985 GB, free: 9.879 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004701/0.8705, allocations: 48.08 kB / 0.6985 GB, free: 9.832 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.8708, allocations: 214.8 kB / 0.6987 GB, free: 9.582 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.8708, allocations: 4 kB / 0.6987 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.8708, allocations: 8 kB / 0.6987 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000335/0.8712, allocations: 211.6 kB / 0.6989 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.8715, allocations: 208.8 kB / 0.6991 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.8715, allocations: 0 / 0.6991 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.8715, allocations: 0 / 0.6991 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.8716, allocations: 11.94 kB / 0.6991 GB, free: 9.113 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.8739, allocations: 2.406 MB / 0.7015 GB, free: 6.348 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.8741, allocations: 58.56 kB / 0.7015 GB, free: 6.281 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.8742, allocations: 28.86 kB / 0.7016 GB, free: 6.25 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003255/0.8745, allocations: 344.6 kB / 0.7019 GB, free: 5.84 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.8747, allocations: 113.8 kB / 0.702 GB, free: 5.707 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.262e-06/0.8747, allocations: 4 kB / 0.702 GB, free: 5.703 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.0009236/0.8756, allocations: 208.5 kB / 0.7022 GB, free: 5.492 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.8757, allocations: 103.2 kB / 0.7023 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.8759, allocations: 166.3 kB / 0.7025 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.8759, allocations: 25.7 kB / 0.7025 GB, free: 5.168 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.931e-05/0.876, allocations: 163.5 kB / 0.7026 GB, free: 5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.876, allocations: 47.3 kB / 0.7027 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-06/0.8761, allocations: 0 / 0.7027 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.8762, allocations: 326.8 kB / 0.703 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.883e-05/0.8763, allocations: 28 kB / 0.703 GB, free: 4.598 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.8764, allocations: 175.3 kB / 0.7032 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007864/0.8772, allocations: 139.8 kB / 0.7033 GB, free: 4.219 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.8773, allocations: 4 kB / 0.7033 GB, free: 4.215 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0009827/0.8783, allocations: 297 kB / 0.7036 GB, free: 3.918 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.8783, allocations: 15.89 kB / 0.7036 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.8783, allocations: 4 kB / 0.7036 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.232e-05/0.8783, allocations: 8.656 kB / 0.7036 GB, free: 3.891 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005661/0.8789, allocations: 99.8 kB / 0.7037 GB, free: 3.793 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004891/0.8794, allocations: 0.6055 MB / 0.7043 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000159/0.8796, allocations: 4 kB / 0.7043 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.37e-05/0.8796, allocations: 23.98 kB / 0.7044 GB, free: 3.137 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 () * 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.000141/0.8798, allocations: 120.8 kB / 0.7045 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003751/0.8802, allocations: 133.6 kB / 0.7046 GB, free: 2.875 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.8802, allocations: 15.89 kB / 0.7046 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000523/0.8807, allocations: 205 kB / 0.7048 GB, free: 2.648 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.8807, allocations: 0 / 0.7048 GB, free: 2.648 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.8808, allocations: 0 / 0.7048 GB, free: 2.648 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.8808, allocations: 0 / 0.7048 GB, free: 2.648 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006911/0.8815, allocations: 387.8 kB / 0.7052 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.8815, allocations: 0 / 0.7052 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000348/0.8818, allocations: 60.05 kB / 0.7052 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.8818, allocations: 96 / 0.7052 GB, free: 2.164 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.8819, allocations: 3.938 kB / 0.7052 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004426/0.8823, allocations: 0.5977 MB / 0.7058 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/0.8823, allocations: 0 / 0.7058 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.8827, allocations: 221.8 kB / 0.706 GB, free: 1.297 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.8828, allocations: 121 kB / 0.7061 GB, free: 1.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.8829, allocations: 7.953 kB / 0.7062 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.883, allocations: 0 / 0.7062 GB, free: 1.152 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.8831, allocations: 7.984 kB / 0.7062 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.8831, allocations: 19.98 kB / 0.7062 GB, free: 1.125 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001117/0.8832, allocations: 111.3 kB / 0.7063 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8832, allocations: 0 / 0.7063 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008256/0.8841, allocations: 191.8 kB / 0.7065 GB, free: 0.8281 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 () * 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.3343/1.218, allocations: 1.053 MB / 0.7075 GB, free: 173.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008735/1.219, allocations: 134.3 kB / 0.7076 GB, free: 173.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.219, allocations: 4.125 kB / 0.7076 GB, free: 173.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/1.22, allocations: 48.41 kB / 0.7077 GB, free: 173.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/1.22, allocations: 21.08 kB / 0.7077 GB, free: 173.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03375/1.254, allocations: 11.3 MB / 0.7187 GB, free: 173.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/1.254, allocations: 0.7185 MB / 0.7194 GB, free: 172.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003711/1.254, allocations: 95.14 kB / 0.7195 GB, free: 172.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/1.255, allocations: 56.19 kB / 0.7196 GB, free: 172.8 MB / 0.4948 GB Notification: Performance of SimCode: time 2.093e-06/1.255, allocations: 0 / 0.7196 GB, free: 172.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04089/1.295, allocations: 5.59 MB / 0.725 GB, free: 172.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000258/1.296, allocations: 189.2 kB / 0.7252 GB, free: 172.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.844/3.14, allocations: 0 / 0.7252 GB, free: 172.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