Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002324/0.002324, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.002/2.002, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001222/0.001222, allocations: 96.36 kB / 270.9 MB, free: 8.371 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.522/0.522, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004919/0.000492, allocations: 16 kB / 431.5 MB, free: 6.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1437, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6576/0.8014, allocations: 194.4 MB / 0.6687 GB, free: 4.098 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/0.8017, allocations: 83.95 kB / 0.6687 GB, free: 4.016 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5069/1.309, allocations: 43.98 MB / 0.7117 GB, free: 142.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.309, allocations: 0 / 0.7117 GB, free: 142.6 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.685e-05/1.309, allocations: 2.125 kB / 0.7117 GB, free: 142.6 MB / 490.7 MB 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.00181/1.311, allocations: 0.6329 MB / 0.7123 GB, free: 142.1 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/1.311, allocations: 9.312 kB / 0.7123 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.722e-05/1.311, allocations: 48.77 kB / 0.7124 GB, free: 142 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006159/1.311, allocations: 49.52 kB / 0.7124 GB, free: 142 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/1.312, allocations: 216.8 kB / 0.7126 GB, free: 141.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/1.312, allocations: 10.81 kB / 0.7126 GB, free: 141.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.013e-05/1.312, allocations: 18.75 kB / 0.7126 GB, free: 141.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005516/1.312, allocations: 240.9 kB / 0.7129 GB, free: 141.6 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/1.312, allocations: 3.938 kB / 0.7129 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/1.312, allocations: 7.219 kB / 0.7129 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/1.312, allocations: 4.5 kB / 0.7129 GB, free: 141.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005197/1.313, allocations: 234.8 kB / 0.7131 GB, free: 141.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/1.315, allocations: 1.34 MB / 0.7144 GB, free: 140.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002907/1.315, allocations: 84.8 kB / 0.7145 GB, free: 140 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001794/1.317, allocations: 1.844 MB / 0.7163 GB, free: 137.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/1.317, allocations: 159.2 kB / 0.7165 GB, free: 137.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=17): time 2.324e-06/1.317, allocations: 5.25 kB / 0.7165 GB, free: 137.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=18): time 0.00134/1.318, allocations: 361 kB / 0.7168 GB, free: 137.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.221e-05/1.318, allocations: 261.4 kB / 0.7171 GB, free: 137.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001722/1.319, allocations: 145.2 kB / 0.7172 GB, free: 137.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/1.319, allocations: 31.06 kB / 0.7172 GB, free: 137.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.657e-05/1.319, allocations: 222 kB / 0.7174 GB, free: 136.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.933e-05/1.319, allocations: 63.25 kB / 0.7175 GB, free: 136.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.041e-05/1.319, allocations: 9.594 kB / 0.7175 GB, free: 136.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.181e-05/1.319, allocations: 325.4 kB / 0.7178 GB, free: 136.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/1.319, allocations: 35.77 kB / 0.7178 GB, free: 136.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/1.319, allocations: 191.1 kB / 0.718 GB, free: 136.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/1.32, allocations: 68.12 kB / 0.7181 GB, free: 136.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/1.32, allocations: 1.312 kB / 0.7181 GB, free: 136.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006806/1.32, allocations: 259.2 kB / 0.7183 GB, free: 136.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/1.32, allocations: 6.969 kB / 0.7183 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/1.32, allocations: 5 kB / 0.7184 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.151e-05/1.32, allocations: 7.531 kB / 0.7184 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008657/1.321, allocations: 103.7 kB / 0.7185 GB, free: 136.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003097/1.322, allocations: 0.5962 MB / 0.719 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/1.322, allocations: 10.19 kB / 0.7191 GB, free: 135.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-05/1.322, allocations: 24.58 kB / 0.7191 GB, free: 135.4 MB / 490.7 MB 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.0001744/1.322, allocations: 139.9 kB / 0.7192 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/1.322, allocations: 22.28 kB / 0.7192 GB, free: 135.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007607/1.323, allocations: 255.2 kB / 0.7195 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/1.323, allocations: 1.906 kB / 0.7195 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/1.323, allocations: 1.094 kB / 0.7195 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/1.323, allocations: 3.953 kB / 0.7195 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000331/1.323, allocations: 226.1 kB / 0.7197 GB, free: 134.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/1.323, allocations: 0 / 0.7197 GB, free: 134.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006025/1.324, allocations: 50.2 kB / 0.7197 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/1.324, allocations: 1.094 kB / 0.7197 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/1.324, allocations: 2.281 kB / 0.7197 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002698/1.324, allocations: 0.5937 MB / 0.7203 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.324, allocations: 0.9688 kB / 0.7203 GB, free: 134.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/1.325, allocations: 138.3 kB / 0.7205 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/1.325, allocations: 130.9 kB / 0.7206 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/1.325, allocations: 5.25 kB / 0.7206 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002051/1.325, allocations: 6.312 kB / 0.7206 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.858e-05/1.325, allocations: 20.36 kB / 0.7206 GB, free: 134 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/1.325, allocations: 8.75 kB / 0.7206 GB, free: 134 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001396/1.325, allocations: 128.3 kB / 0.7207 GB, free: 133.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.325, allocations: 1.281 kB / 0.7207 GB, free: 133.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001102/1.326, allocations: 195 kB / 0.7209 GB, free: 133.8 MB / 490.7 MB 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.00162/1.328, allocations: 0.9812 MB / 0.7219 GB, free: 133 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0008113/1.329, allocations: 156.7 kB / 0.722 GB, free: 132.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/1.329, allocations: 4.062 kB / 0.722 GB, free: 132.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000275/1.329, allocations: 45.28 kB / 0.7221 GB, free: 132.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/1.33, allocations: 26.67 kB / 0.7221 GB, free: 132.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04533/1.375, allocations: 15.59 MB / 0.7373 GB, free: 122.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/1.375, allocations: 0.7233 MB / 0.738 GB, free: 121.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/1.375, allocations: 62.11 kB / 0.7381 GB, free: 121.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.233e-06/1.375, allocations: 0 / 0.7381 GB, free: 121.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.916/4.292, allocations: 6.16 MB / 0.7441 GB, free: 116.3 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47_res.mat does not exist to compare? outputFormat=mat