Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.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.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",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.0009869/0.0009871, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 221.5 MB / 230.7 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001138, allocations: 91.72 kB / 281.6 MB, free: 5.324 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.2027/0.2027, allocations: 44.15 MB / 376.5 MB, free: 3.062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.297e-05/2.293e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1552, allocations: 61.92 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5631/0.7183, allocations: 190.4 MB / 0.6807 GB, free: 1.812 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/0.7188, allocations: 79.95 kB / 0.6808 GB, free: 1.734 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4137/1.133, allocations: 34.27 MB / 0.7142 GB, free: 169.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.344e-06/1.133, allocations: 1.375 kB / 0.7142 GB, free: 169.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.816e-05/1.133, allocations: 1.375 kB / 0.7142 GB, free: 169.9 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.001694/1.134, allocations: 0.5912 MB / 0.7148 GB, free: 169.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/1.134, allocations: 13.55 kB / 0.7148 GB, free: 169.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005925/1.135, allocations: 34.56 kB / 0.7149 GB, free: 169.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002938/1.135, allocations: 215.6 kB / 0.7151 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/1.135, allocations: 9.312 kB / 0.7151 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/1.135, allocations: 10.47 kB / 0.7151 GB, free: 169.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003979/1.136, allocations: 211.3 kB / 0.7153 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/1.136, allocations: 198.5 kB / 0.7155 GB, free: 169 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/1.136, allocations: 5 kB / 0.7155 GB, free: 169 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.573e-05/1.136, allocations: 7.047 kB / 0.7155 GB, free: 169 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/1.136, allocations: 4.312 kB / 0.7155 GB, free: 169 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/1.138, allocations: 2.384 MB / 0.7178 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/1.138, allocations: 70.53 kB / 0.7179 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.003e-05/1.138, allocations: 22.8 kB / 0.7179 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002544/1.139, allocations: 0.4899 MB / 0.7184 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/1.139, allocations: 103.1 kB / 0.7185 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 3.236e-06/1.139, allocations: 4 kB / 0.7185 GB, free: 165.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=13): time 0.001024/1.14, allocations: 208 kB / 0.7187 GB, free: 165.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.717e-05/1.14, allocations: 106 kB / 0.7188 GB, free: 165.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/1.14, allocations: 152.1 kB / 0.7189 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/1.14, allocations: 30.98 kB / 0.719 GB, free: 165.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.021e-05/1.14, allocations: 163.9 kB / 0.7191 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/1.14, allocations: 45.66 kB / 0.7192 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.154e-05/1.14, allocations: 0 / 0.7192 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.347e-05/1.14, allocations: 331.3 kB / 0.7195 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.874e-05/1.14, allocations: 33.69 kB / 0.7195 GB, free: 164.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/1.141, allocations: 173.5 kB / 0.7197 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008562/1.142, allocations: 128 kB / 0.7198 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.142, allocations: 5.312 kB / 0.7198 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001063/1.143, allocations: 287.5 kB / 0.7201 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.143, allocations: 10.38 kB / 0.7201 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/1.143, allocations: 9.516 kB / 0.7201 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.535e-05/1.143, allocations: 8 kB / 0.7201 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000562/1.143, allocations: 99.58 kB / 0.7202 GB, free: 164.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003464/1.144, allocations: 0.6028 MB / 0.7208 GB, free: 164 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/1.144, allocations: 4.781 kB / 0.7208 GB, free: 164 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/1.144, allocations: 26.5 kB / 0.7208 GB, free: 164 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.0001172/1.144, allocations: 117.8 kB / 0.7209 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003905/1.144, allocations: 122.2 kB / 0.7211 GB, free: 163.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.691e-05/1.144, allocations: 19.36 kB / 0.7211 GB, free: 163.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005149/1.145, allocations: 157.6 kB / 0.7212 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/1.145, allocations: 1.969 kB / 0.7212 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.145, allocations: 3.938 kB / 0.7212 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.145, allocations: 0 / 0.7212 GB, free: 163.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006013/1.146, allocations: 384.4 kB / 0.7216 GB, free: 163.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.146, allocations: 0 / 0.7216 GB, free: 163.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003531/1.146, allocations: 59.66 kB / 0.7216 GB, free: 163.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/1.146, allocations: 0 / 0.7216 GB, free: 163.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/1.146, allocations: 2.094 kB / 0.7217 GB, free: 163.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002454/1.146, allocations: 0.5863 MB / 0.7222 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.146, allocations: 1 kB / 0.7222 GB, free: 162.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/1.147, allocations: 231.4 kB / 0.7224 GB, free: 162.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/1.147, allocations: 113.5 kB / 0.7226 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/1.147, allocations: 1.125 kB / 0.7226 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/1.147, allocations: 6 kB / 0.7226 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.259e-05/1.147, allocations: 8.047 kB / 0.7226 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.065e-05/1.147, allocations: 9.312 kB / 0.7226 GB, free: 162.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 9.16e-05/1.147, allocations: 116.5 kB / 0.7227 GB, free: 162.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/1.147, allocations: 5.031 kB / 0.7227 GB, free: 162.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0008124/1.148, allocations: 137.4 kB / 0.7228 GB, free: 162.4 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.001179/1.149, allocations: 0.9828 MB / 0.7238 GB, free: 161.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0004624/1.15, allocations: 131.5 kB / 0.7239 GB, free: 161.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/1.15, allocations: 1.156 kB / 0.7239 GB, free: 161.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/1.15, allocations: 46.34 kB / 0.724 GB, free: 161.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/1.15, allocations: 31.8 kB / 0.724 GB, free: 161.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02612/1.176, allocations: 11.05 MB / 0.7348 GB, free: 155.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001649/1.176, allocations: 0.7169 MB / 0.7355 GB, free: 155.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002866/1.177, allocations: 73.95 kB / 0.7355 GB, free: 155.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.744e-05/1.177, allocations: 53.12 kB / 0.7356 GB, free: 155.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.282e-06/1.177, allocations: 6.844 kB / 0.7356 GB, free: 155.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/1.202, allocations: 4.765 MB / 0.7403 GB, free: 150.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001454/1.202, allocations: 183.1 kB / 0.7404 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/3.01, allocations: 0 / 0.7404 GB, free: 150.7 MB / 0.4948 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat does not exist to compare? outputFormat=mat