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.002274/0.002274, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.046/2.046, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001096/0.001095, allocations: 90.66 kB / 267.5 MB, free: 14.11 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.3265/0.3265, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.015e-05/4.048e-05, allocations: 3.984 kB / 425.4 MB, free: 23.3 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1245, allocations: 58.85 MB / 484.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.657/0.7815, allocations: 194.3 MB / 0.6626 GB, free: 10.23 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.7819, allocations: 83.23 kB / 0.6627 GB, free: 10.19 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1906/0.9725, allocations: 43.9 MB / 0.7056 GB, free: 1.711 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.913e-06/0.9725, allocations: 4 kB / 0.7056 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.369e-05/0.9726, allocations: 4 kB / 0.7056 GB, free: 1.703 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.00171/0.9743, allocations: 0.6225 MB / 0.7062 GB, free: 1.035 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.9744, allocations: 8.031 kB / 0.7062 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.692e-05/0.9744, allocations: 54.89 kB / 0.7063 GB, free: 0.9648 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006045/0.9751, allocations: 47.72 kB / 0.7063 GB, free: 0.918 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003457/0.9754, allocations: 214.8 kB / 0.7065 GB, free: 0.668 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.9755, allocations: 12 kB / 0.7065 GB, free: 0.6562 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.9755, allocations: 20 kB / 0.7065 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.9761, allocations: 236.5 kB / 0.7068 GB, free: 380 kB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.9762, allocations: 0 / 0.7068 GB, free: 380 kB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/0.9762, allocations: 8 kB / 0.7068 GB, free: 372 kB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.944e-05/0.9763, allocations: 8 kB / 0.7068 GB, free: 364 kB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005383/0.9768, allocations: 236.5 kB / 0.707 GB, free: 128 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3298/1.307, allocations: 1.328 MB / 0.7083 GB, free: 170.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/1.307, allocations: 84.58 kB / 0.7084 GB, free: 170.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/1.307, allocations: 45.3 kB / 0.7084 GB, free: 170.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001742/1.309, allocations: 1.878 MB / 0.7103 GB, free: 168.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002914/1.309, allocations: 168.7 kB / 0.7104 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=17): time 2.705e-06/1.309, allocations: 3.625 kB / 0.7104 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.001264/1.31, allocations: 313.5 kB / 0.7107 GB, free: 168.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/1.311, allocations: 271.9 kB / 0.711 GB, free: 167.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/1.311, allocations: 147.3 kB / 0.7111 GB, free: 167.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/1.311, allocations: 30.14 kB / 0.7112 GB, free: 167.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/1.311, allocations: 218.5 kB / 0.7114 GB, free: 167.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 7.394e-05/1.311, allocations: 62.81 kB / 0.7114 GB, free: 167.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.058e-05/1.311, allocations: 4.906 kB / 0.7114 GB, free: 167.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.137e-05/1.311, allocations: 323.9 kB / 0.7117 GB, free: 167.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/1.311, allocations: 38.73 kB / 0.7118 GB, free: 167.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/1.311, allocations: 182.8 kB / 0.712 GB, free: 167 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000186/1.312, allocations: 70.48 kB / 0.712 GB, free: 167 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/1.312, allocations: 5.922 kB / 0.712 GB, free: 167 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0006501/1.312, allocations: 259.5 kB / 0.7123 GB, free: 166.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/1.312, allocations: 8.531 kB / 0.7123 GB, free: 166.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/1.312, allocations: 4.406 kB / 0.7123 GB, free: 166.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.016e-05/1.312, allocations: 7.75 kB / 0.7123 GB, free: 166.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/1.313, allocations: 96.08 kB / 0.7124 GB, free: 166.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003046/1.314, allocations: 0.5922 MB / 0.713 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002576/1.314, allocations: 14.73 kB / 0.713 GB, free: 166.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.289e-05/1.314, allocations: 26.61 kB / 0.713 GB, free: 166.4 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.0001309/1.314, allocations: 122.5 kB / 0.7131 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.61e-05/1.314, allocations: 17.92 kB / 0.7131 GB, free: 166.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007668/1.315, allocations: 263.6 kB / 0.7134 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.315, allocations: 2.406 kB / 0.7134 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.315, allocations: 0 / 0.7134 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.315, allocations: 1.062 kB / 0.7134 GB, free: 166.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/1.315, allocations: 217.4 kB / 0.7136 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/1.315, allocations: 1.281 kB / 0.7136 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005575/1.316, allocations: 49.36 kB / 0.7136 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/1.316, allocations: 3.469 kB / 0.7136 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/1.316, allocations: 9.969 kB / 0.7137 GB, free: 165.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002438/1.316, allocations: 0.5786 MB / 0.7142 GB, free: 165.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.316, allocations: 8.375 kB / 0.7142 GB, free: 165.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/1.317, allocations: 138.8 kB / 0.7144 GB, free: 165.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/1.317, allocations: 125.7 kB / 0.7145 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/1.317, allocations: 9.828 kB / 0.7145 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/1.317, allocations: 10.14 kB / 0.7145 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/1.317, allocations: 17.81 kB / 0.7145 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/1.317, allocations: 5.609 kB / 0.7145 GB, free: 165.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001384/1.317, allocations: 126.2 kB / 0.7146 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.01e-07/1.317, allocations: 0 / 0.7146 GB, free: 165.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001033/1.318, allocations: 198.4 kB / 0.7148 GB, free: 165.1 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.001479/1.32, allocations: 0.9843 MB / 0.7158 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007639/1.321, allocations: 157.7 kB / 0.7159 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.321, allocations: 0 / 0.7159 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002718/1.321, allocations: 44.42 kB / 0.716 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/1.321, allocations: 28.08 kB / 0.716 GB, free: 164.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04581/1.367, allocations: 11.62 MB / 0.7274 GB, free: 163.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/1.367, allocations: 0.7229 MB / 0.7281 GB, free: 163.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/1.368, allocations: 60.88 kB / 0.7281 GB, free: 163.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.413e-06/1.368, allocations: 3.938 kB / 0.7281 GB, free: 163.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.145/4.512, allocations: 6.156 MB / 0.7341 GB, free: 162.6 MB / 0.4948 GB (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