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.002392/0.002391, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.193/2.193, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 90.41 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3067/0.3067, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.854e-05/2.864e-05, allocations: 4.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4247/0.4248, allocations: 58.86 MB / 477.2 MB, free: 5.289 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7059/1.131, allocations: 193.6 MB / 0.6551 GB, free: 113.1 MB / 475.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/1.131, allocations: 83.25 kB / 0.6552 GB, free: 113.1 MB / 475.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1715/1.303, allocations: 43.64 MB / 0.6978 GB, free: 100.8 MB / 475.1 MB Notification: Performance of FrontEnd: time 1.493e-06/1.303, allocations: 0 / 0.6978 GB, free: 100.8 MB / 475.1 MB Notification: Performance of Transformations before backend: time 1.396e-05/1.303, allocations: 3.906 kB / 0.6978 GB, free: 100.8 MB / 475.1 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.001544/1.304, allocations: 0.6199 MB / 0.6984 GB, free: 100.3 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.773e-05/1.304, allocations: 13.62 kB / 0.6984 GB, free: 100.3 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006142/1.305, allocations: 49.2 kB / 0.6985 GB, free: 100.2 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/1.305, allocations: 210.8 kB / 0.6987 GB, free: 100 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/1.305, allocations: 10.36 kB / 0.6987 GB, free: 100 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/1.305, allocations: 9.594 kB / 0.6987 GB, free: 100 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004128/1.306, allocations: 206.2 kB / 0.6989 GB, free: 99.98 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/1.306, allocations: 214.9 kB / 0.6991 GB, free: 99.84 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/1.306, allocations: 7.688 kB / 0.6991 GB, free: 99.84 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.578e-05/1.306, allocations: 0 / 0.6991 GB, free: 99.84 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/1.306, allocations: 7.703 kB / 0.6991 GB, free: 99.84 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002317/1.308, allocations: 2.404 MB / 0.7015 GB, free: 97.36 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/1.309, allocations: 59.44 kB / 0.7015 GB, free: 97.33 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.265e-05/1.309, allocations: 26.33 kB / 0.7015 GB, free: 97.32 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002699/1.309, allocations: 343.7 kB / 0.7019 GB, free: 96.93 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002035/1.309, allocations: 118.9 kB / 0.702 GB, free: 96.83 MB / 475.1 MB Notification: Performance of pre-optimization done (n=12): time 2.976e-06/1.309, allocations: 0 / 0.702 GB, free: 96.83 MB / 475.1 MB Notification: Performance of matching and sorting (n=13): time 0.00117/1.31, allocations: 211.2 kB / 0.7022 GB, free: 96.73 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/1.311, allocations: 106.8 kB / 0.7023 GB, free: 96.6 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/1.311, allocations: 151.6 kB / 0.7024 GB, free: 96.49 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/1.311, allocations: 25.7 kB / 0.7024 GB, free: 96.46 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.594e-05/1.311, allocations: 235.9 kB / 0.7027 GB, free: 96.25 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/1.311, allocations: 46.55 kB / 0.7027 GB, free: 96.21 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/1.311, allocations: 0 / 0.7027 GB, free: 96.21 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 6.559e-05/1.311, allocations: 322.4 kB / 0.703 GB, free: 95.89 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.239e-05/1.311, allocations: 37.86 kB / 0.7031 GB, free: 95.89 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/1.311, allocations: 168.9 kB / 0.7032 GB, free: 95.7 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/1.312, allocations: 149.6 kB / 0.7034 GB, free: 95.65 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.312, allocations: 0 / 0.7034 GB, free: 95.65 MB / 475.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001468/1.314, allocations: 289.8 kB / 0.7036 GB, free: 95.54 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/1.314, allocations: 15.53 kB / 0.7037 GB, free: 95.54 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/1.314, allocations: 7.906 kB / 0.7037 GB, free: 95.53 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.721e-05/1.314, allocations: 7.906 kB / 0.7037 GB, free: 95.53 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008469/1.315, allocations: 114.1 kB / 0.7038 GB, free: 95.5 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004126/1.315, allocations: 0.5967 MB / 0.7044 GB, free: 94.9 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003018/1.316, allocations: 7.688 kB / 0.7044 GB, free: 94.9 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.467e-05/1.316, allocations: 19.27 kB / 0.7044 GB, free: 94.89 MB / 475.1 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 () * 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.0001203/1.316, allocations: 124.2 kB / 0.7045 GB, free: 94.77 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005766/1.316, allocations: 127 kB / 0.7046 GB, free: 94.71 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.911e-05/1.316, allocations: 15.66 kB / 0.7046 GB, free: 94.71 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000696/1.317, allocations: 209.8 kB / 0.7048 GB, free: 94.59 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/1.317, allocations: 0 / 0.7048 GB, free: 94.59 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/1.317, allocations: 0 / 0.7048 GB, free: 94.59 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.317, allocations: 0 / 0.7048 GB, free: 94.59 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007368/1.318, allocations: 389.1 kB / 0.7052 GB, free: 94.27 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.318, allocations: 0 / 0.7052 GB, free: 94.27 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000545/1.319, allocations: 53.23 kB / 0.7053 GB, free: 94.25 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/1.319, allocations: 0 / 0.7053 GB, free: 94.25 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.477e-05/1.319, allocations: 3.906 kB / 0.7053 GB, free: 94.25 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003387/1.319, allocations: 0.5898 MB / 0.7058 GB, free: 93.66 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.319, allocations: 4.062 kB / 0.7058 GB, free: 93.66 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004788/1.319, allocations: 222.7 kB / 0.7061 GB, free: 93.48 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/1.32, allocations: 119.1 kB / 0.7062 GB, free: 93.36 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.321e-05/1.32, allocations: 3.953 kB / 0.7062 GB, free: 93.36 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/1.32, allocations: 7.891 kB / 0.7062 GB, free: 93.36 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.438e-05/1.32, allocations: 7.969 kB / 0.7062 GB, free: 93.35 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.667e-05/1.32, allocations: 11.83 kB / 0.7062 GB, free: 93.35 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.0001036/1.32, allocations: 118 kB / 0.7063 GB, free: 93.27 MB / 475.1 MB Notification: Performance of sort global known variables: time 3.81e-07/1.32, allocations: 0 / 0.7063 GB, free: 93.27 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.001122/1.321, allocations: 187.2 kB / 0.7065 GB, free: 93.19 MB / 475.1 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 () * 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.001714/1.323, allocations: 1.059 MB / 0.7075 GB, free: 92.11 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.0007038/1.324, allocations: 143.2 kB / 0.7077 GB, free: 92 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.324, allocations: 4.062 kB / 0.7077 GB, free: 91.99 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002433/1.324, allocations: 39.72 kB / 0.7077 GB, free: 91.96 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004554/1.324, allocations: 22.55 kB / 0.7077 GB, free: 91.94 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04077/1.365, allocations: 11.34 MB / 0.7188 GB, free: 82.35 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/1.366, allocations: 0.7204 MB / 0.7195 GB, free: 81.6 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/1.366, allocations: 56.45 kB / 0.7196 GB, free: 81.57 MB / 475.1 MB Notification: Performance of SimCode: time 9.92e-07/1.366, allocations: 4 kB / 0.7196 GB, free: 81.56 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.785/4.151, allocations: 6.145 MB / 0.7256 GB, free: 75.43 MB / 475.1 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