Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater",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.002231/0.002231, allocations: 185.4 kB / 16.41 MB, free: 5.727 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.394/2.394, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001174/0.001174, allocations: 91.61 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.5338/0.5338, allocations: 43.54 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006762/0.0006761, allocations: 16 kB / 431.5 MB, free: 5.848 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1416, allocations: 58.85 MB / 490.3 MB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.257, allocations: 299.8 MB / 0.7716 GB, free: 72.72 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/1.257, allocations: 66.41 kB / 0.7717 GB, free: 72.69 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07546/1.332, allocations: 20.23 MB / 0.7914 GB, free: 56.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.903e-06/1.332, allocations: 3.938 kB / 0.7915 GB, free: 56.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.621e-05/1.333, allocations: 4 kB / 0.7915 GB, free: 56.14 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001281/1.334, allocations: 0.5708 MB / 0.792 GB, free: 55.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/1.334, allocations: 8.031 kB / 0.792 GB, free: 55.54 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/1.334, allocations: 59.67 kB / 0.7921 GB, free: 55.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/1.334, allocations: 38.45 kB / 0.7921 GB, free: 55.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/1.335, allocations: 224.4 kB / 0.7923 GB, free: 55.2 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/1.335, allocations: 118.4 kB / 0.7924 GB, free: 55.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/1.335, allocations: 25.88 kB / 0.7925 GB, free: 55.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006638/1.335, allocations: 320.8 kB / 0.7928 GB, free: 54.79 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/1.335, allocations: 0 / 0.7928 GB, free: 54.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.405e-05/1.335, allocations: 10.88 kB / 0.7928 GB, free: 54.79 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/1.336, allocations: 9.031 kB / 0.7928 GB, free: 54.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/1.337, allocations: 0.7382 MB / 0.7935 GB, free: 54.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001686/1.338, allocations: 1.172 MB / 0.7947 GB, free: 53.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004681/1.339, allocations: 145.6 kB / 0.7948 GB, free: 52.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002614/1.341, allocations: 2.614 MB / 0.7973 GB, free: 49.93 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/1.341, allocations: 34.56 kB / 0.7974 GB, free: 49.88 MB / 490.7 MB Notification: Performance of pre-optimization done (n=15): time 2.745e-06/1.342, allocations: 0 / 0.7974 GB, free: 49.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.001026/1.343, allocations: 244.6 kB / 0.7976 GB, free: 49.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/1.343, allocations: 62.36 kB / 0.7977 GB, free: 49.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001892/1.343, allocations: 179.2 kB / 0.7978 GB, free: 49.44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/1.343, allocations: 29.64 kB / 0.7979 GB, free: 49.41 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/1.343, allocations: 278.9 kB / 0.7981 GB, free: 49.14 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/1.343, allocations: 57.89 kB / 0.7982 GB, free: 49.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.08e-05/1.343, allocations: 7.75 kB / 0.7982 GB, free: 49.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.676e-05/1.343, allocations: 330.1 kB / 0.7985 GB, free: 48.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/1.343, allocations: 55.72 kB / 0.7986 GB, free: 48.72 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002467/1.344, allocations: 312.6 kB / 0.7989 GB, free: 48.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/1.344, allocations: 93.8 kB / 0.799 GB, free: 48.25 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/1.344, allocations: 4 kB / 0.799 GB, free: 48.24 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007968/1.345, allocations: 369.2 kB / 0.7993 GB, free: 47.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/1.345, allocations: 8 kB / 0.7993 GB, free: 47.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/1.345, allocations: 8.094 kB / 0.7993 GB, free: 47.92 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.424e-05/1.345, allocations: 20 kB / 0.7993 GB, free: 47.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000719/1.345, allocations: 111.2 kB / 0.7995 GB, free: 47.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.22e-05/1.346, allocations: 15.94 kB / 0.7995 GB, free: 47.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003995/1.346, allocations: 19.2 kB / 0.7995 GB, free: 47.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.932e-05/1.346, allocations: 31.3 kB / 0.7995 GB, free: 47.74 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001755/1.346, allocations: 150.5 kB / 0.7997 GB, free: 47.59 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/1.346, allocations: 27.72 kB / 0.7997 GB, free: 47.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006101/1.347, allocations: 178.1 kB / 0.7999 GB, free: 47.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.076e-05/1.347, allocations: 7.984 kB / 0.7999 GB, free: 47.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.347, allocations: 4 kB / 0.7999 GB, free: 47.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/1.347, allocations: 0 / 0.7999 GB, free: 47.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008337/1.348, allocations: 452.8 kB / 0.8003 GB, free: 46.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.401e-06/1.348, allocations: 64 / 0.8003 GB, free: 46.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003567/1.348, allocations: 44.41 kB / 0.8003 GB, free: 46.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.916e-06/1.348, allocations: 4 kB / 0.8003 GB, free: 46.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.852e-05/1.348, allocations: 3.438 kB / 0.8003 GB, free: 46.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/1.348, allocations: 3.953 kB / 0.8004 GB, free: 46.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.348, allocations: 4 kB / 0.8004 GB, free: 46.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/1.349, allocations: 252.5 kB / 0.8006 GB, free: 46.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/1.349, allocations: 124.8 kB / 0.8007 GB, free: 46.49 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/1.349, allocations: 4 kB / 0.8007 GB, free: 46.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003158/1.349, allocations: 4 kB / 0.8007 GB, free: 46.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/1.349, allocations: 15.97 kB / 0.8007 GB, free: 46.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.184e-05/1.349, allocations: 11.98 kB / 0.8008 GB, free: 46.45 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001545/1.349, allocations: 148.5 kB / 0.8009 GB, free: 46.31 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.349, allocations: 0 / 0.8009 GB, free: 46.31 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007231/1.35, allocations: 99.98 kB / 0.801 GB, free: 46.21 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008409/1.351, allocations: 1.003 MB / 0.802 GB, free: 45.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004701/1.352, allocations: 176.5 kB / 0.8021 GB, free: 45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/1.352, allocations: 7.875 kB / 0.8021 GB, free: 44.99 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.494e-05/1.352, allocations: 48.23 kB / 0.8022 GB, free: 44.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006336/1.352, allocations: 49.31 kB / 0.8022 GB, free: 44.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02124/1.374, allocations: 12.81 MB / 0.8147 GB, free: 31.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/1.374, allocations: 0.7328 MB / 0.8155 GB, free: 31.03 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/1.374, allocations: 71.41 kB / 0.8155 GB, free: 30.96 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/1.374, allocations: 0 / 0.8155 GB, free: 30.96 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.54/3.914, allocations: 4.343 MB / 0.8198 GB, free: 26.63 MB / 490.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_ConstantPropertyLiquidWater.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat does not exist to compare? outputFormat=mat