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.001429/0.001429, 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.064/2.064, allocations: 205.3 MB / 214.1 MB, free: 14.14 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.001068/0.001068, allocations: 87.94 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.3044/0.3044, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.395e-05/2.408e-05, allocations: 224 / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4169, allocations: 58.85 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7824/1.199, allocations: 299.1 MB / 0.7581 GB, free: 37.09 MB / 475.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/1.2, allocations: 72.77 kB / 0.7581 GB, free: 37.05 MB / 475.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07116/1.271, allocations: 20.04 MB / 0.7777 GB, free: 20.89 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.575e-06/1.271, allocations: 0 / 0.7777 GB, free: 20.89 MB / 475.1 MB Notification: Performance of Transformations before backend: time 1.428e-05/1.271, allocations: 7.938 kB / 0.7777 GB, free: 20.88 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0011/1.272, allocations: 0.5481 MB / 0.7783 GB, free: 20.3 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/1.272, allocations: 8.031 kB / 0.7783 GB, free: 20.3 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/1.272, allocations: 27.75 kB / 0.7783 GB, free: 20.27 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/1.273, allocations: 233 kB / 0.7785 GB, free: 20.02 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/1.273, allocations: 115.4 kB / 0.7786 GB, free: 19.88 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/1.273, allocations: 16 kB / 0.7786 GB, free: 19.86 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009711/1.274, allocations: 0.7077 MB / 0.7793 GB, free: 19.27 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/1.274, allocations: 279.1 kB / 0.7796 GB, free: 19.03 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/1.274, allocations: 4 kB / 0.7796 GB, free: 19.02 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/1.274, allocations: 4 kB / 0.7796 GB, free: 19.02 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.198e-05/1.274, allocations: 11.98 kB / 0.7796 GB, free: 19.01 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/1.278, allocations: 3.181 MB / 0.7827 GB, free: 15.46 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001164/1.278, allocations: 57.8 kB / 0.7828 GB, free: 15.41 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.332e-05/1.278, allocations: 24.39 kB / 0.7828 GB, free: 15.38 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/1.278, allocations: 166.2 kB / 0.783 GB, free: 15.18 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/1.278, allocations: 34.44 kB / 0.783 GB, free: 15.14 MB / 475.1 MB Notification: Performance of pre-optimization done (n=8): time 3.838e-06/1.278, allocations: 3.938 kB / 0.783 GB, free: 15.14 MB / 475.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007531/1.279, allocations: 151.4 kB / 0.7831 GB, free: 15 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/1.279, allocations: 55.41 kB / 0.7832 GB, free: 14.93 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/1.279, allocations: 193.1 kB / 0.7834 GB, free: 14.76 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/1.279, allocations: 29.7 kB / 0.7834 GB, free: 14.72 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/1.279, allocations: 299.6 kB / 0.7837 GB, free: 14.45 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/1.279, allocations: 35.3 kB / 0.7837 GB, free: 14.41 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.306e-05/1.279, allocations: 0 / 0.7837 GB, free: 14.41 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 7.324e-05/1.279, allocations: 330.3 kB / 0.784 GB, free: 14.09 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.782e-05/1.28, allocations: 40.11 kB / 0.7841 GB, free: 14.06 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/1.28, allocations: 303.8 kB / 0.7844 GB, free: 13.66 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/1.28, allocations: 114.4 kB / 0.7845 GB, free: 13.56 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/1.28, allocations: 0 / 0.7845 GB, free: 13.56 MB / 475.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000856/1.281, allocations: 319.5 kB / 0.7848 GB, free: 13.27 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/1.281, allocations: 12.94 kB / 0.7848 GB, free: 13.26 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/1.281, allocations: 11.94 kB / 0.7848 GB, free: 13.25 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.439e-05/1.281, allocations: 16 kB / 0.7848 GB, free: 13.23 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/1.282, allocations: 107.7 kB / 0.7849 GB, free: 13.13 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.895e-05/1.282, allocations: 23.86 kB / 0.7849 GB, free: 13.11 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004332/1.282, allocations: 12 kB / 0.785 GB, free: 13.09 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.355e-05/1.282, allocations: 27.8 kB / 0.785 GB, free: 13.07 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.0001101/1.282, allocations: 128.6 kB / 0.7851 GB, free: 12.94 MB / 475.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002796/1.283, allocations: 85.17 kB / 0.7852 GB, free: 12.86 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/1.283, allocations: 23.72 kB / 0.7852 GB, free: 12.83 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/1.283, allocations: 103.2 kB / 0.7853 GB, free: 12.74 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.283, allocations: 0 / 0.7853 GB, free: 12.74 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.283, allocations: 4 kB / 0.7853 GB, free: 12.73 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/1.283, allocations: 0 / 0.7853 GB, free: 12.73 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000569/1.284, allocations: 376.6 kB / 0.7857 GB, free: 12.35 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/1.284, allocations: 4 kB / 0.7857 GB, free: 12.35 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/1.284, allocations: 24.05 kB / 0.7857 GB, free: 12.32 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/1.284, allocations: 3.984 kB / 0.7857 GB, free: 12.32 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/1.284, allocations: 192 / 0.7857 GB, free: 12.32 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/1.284, allocations: 7.938 kB / 0.7857 GB, free: 12.31 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/1.284, allocations: 7.891 kB / 0.7857 GB, free: 12.3 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/1.284, allocations: 211.8 kB / 0.7859 GB, free: 12.07 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/1.284, allocations: 112.4 kB / 0.786 GB, free: 11.95 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.035e-05/1.284, allocations: 3.953 kB / 0.786 GB, free: 11.95 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000304/1.285, allocations: 8.109 kB / 0.786 GB, free: 11.94 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/1.285, allocations: 15.8 kB / 0.7861 GB, free: 11.93 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/1.285, allocations: 4 kB / 0.7861 GB, free: 11.93 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.0001307/1.285, allocations: 142.8 kB / 0.7862 GB, free: 11.8 MB / 475.1 MB Notification: Performance of sort global known variables: time 5.41e-07/1.285, allocations: 4 kB / 0.7862 GB, free: 11.8 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.0007882/1.286, allocations: 87.8 kB / 0.7863 GB, free: 11.71 MB / 475.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 7 * 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.0008262/1.287, allocations: 0.9618 MB / 0.7872 GB, free: 10.73 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.0003918/1.287, allocations: 140 kB / 0.7874 GB, free: 10.61 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.287, allocations: 4.125 kB / 0.7874 GB, free: 10.61 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 4.566e-05/1.287, allocations: 23.36 kB / 0.7874 GB, free: 10.59 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004179/1.288, allocations: 23.73 kB / 0.7874 GB, free: 10.57 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009226/1.289, allocations: 276.6 kB / 0.7877 GB, free: 10.26 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001918/1.289, allocations: 0.7289 MB / 0.7884 GB, free: 9.508 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/1.289, allocations: 64.59 kB / 0.7884 GB, free: 9.473 MB / 475.1 MB Notification: Performance of SimCode: time 9.01e-07/1.289, allocations: 0 / 0.7884 GB, free: 9.473 MB / 475.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.614/3.903, allocations: 4.204 MB / 0.7925 GB, free: 5.281 MB / 475.1 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