Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.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.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650",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.0009082/0.0009082, allocations: 173.7 kB / 16.72 MB, free: 5.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.329/1.329, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007519/0.000752, allocations: 86.36 kB / 271.2 MB, free: 8.262 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.3059/0.3059, allocations: 43.57 MB / 363.1 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003476, allocations: 12 kB / 432.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09932/0.09968, allocations: 58.83 MB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650): time 0.00812/0.1078, allocations: 7.385 MB / 498.3 MB, free: 3.148 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.1102, allocations: 1.75 MB / 0.4883 GB, free: 1.395 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.1104, allocations: 0 / 0.4883 GB, free: 1.395 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.1107, allocations: 27.83 kB / 0.4884 GB, free: 1.367 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003299/0.114, allocations: 1.121 MB / 0.4895 GB, free: 248 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003459/0.1144, allocations: 131.8 kB / 0.4896 GB, free: 116 kB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.1873/0.3017, allocations: 303.8 kB / 0.4899 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.027e-05/0.3018, allocations: 13.02 kB / 0.4899 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.3032, allocations: 0.7936 MB / 0.4907 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003181/0.3036, allocations: 155 kB / 0.4908 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.3036, allocations: 4.531 kB / 0.4908 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002836/0.3064, allocations: 1.436 MB / 0.4922 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.863e-05/0.3065, allocations: 32.92 kB / 0.4922 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.3067, allocations: 106.7 kB / 0.4923 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009256/0.3076, allocations: 468.8 kB / 0.4928 GB, free: 35.69 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3076, allocations: 1.125 kB / 0.4928 GB, free: 35.69 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3076, allocations: 0 / 0.4928 GB, free: 35.69 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3077, allocations: 0 / 0.4928 GB, free: 35.69 MB / 378.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.0009233/0.3086, allocations: 0.5553 MB / 0.4933 GB, free: 35.26 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.3086, allocations: 10.97 kB / 0.4933 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.219e-05/0.3087, allocations: 50.94 kB / 0.4934 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004251/0.3091, allocations: 49.47 kB / 0.4934 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.3093, allocations: 209.5 kB / 0.4936 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.3094, allocations: 13.22 kB / 0.4937 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.3094, allocations: 13.84 kB / 0.4937 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003944/0.3098, allocations: 248 kB / 0.4939 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.3098, allocations: 0.7031 kB / 0.4939 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.3098, allocations: 7.094 kB / 0.4939 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.3099, allocations: 5.5 kB / 0.4939 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003711/0.3102, allocations: 232.2 kB / 0.4941 GB, free: 34.91 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001151/0.3114, allocations: 1.372 MB / 0.4955 GB, free: 33.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.3116, allocations: 92.39 kB / 0.4956 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.276e-05/0.3117, allocations: 42.67 kB / 0.4956 GB, free: 33.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001661/0.3133, allocations: 2.656 MB / 0.4982 GB, free: 30.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.3136, allocations: 173.2 kB / 0.4984 GB, free: 30.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 2.054e-06/0.3136, allocations: 0 / 0.4984 GB, free: 30.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008478/0.3145, allocations: 359.7 kB / 0.4987 GB, free: 30.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.509e-05/0.3145, allocations: 269.8 kB / 0.499 GB, free: 30.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.3146, allocations: 152 kB / 0.4991 GB, free: 30.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.3147, allocations: 30.2 kB / 0.4991 GB, free: 30.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.926e-05/0.3147, allocations: 140.7 kB / 0.4993 GB, free: 30.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/0.3148, allocations: 69.73 kB / 0.4993 GB, free: 29.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/0.3148, allocations: 4.188 kB / 0.4993 GB, free: 29.96 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.512e-05/0.3149, allocations: 325.5 kB / 0.4997 GB, free: 29.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.368e-05/0.3149, allocations: 38.11 kB / 0.4997 GB, free: 29.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.3151, allocations: 184.3 kB / 0.4999 GB, free: 29.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.3153, allocations: 259.5 kB / 0.5001 GB, free: 29.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3153, allocations: 1.375 kB / 0.5001 GB, free: 29.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003915/0.3157, allocations: 266.7 kB / 0.5004 GB, free: 29.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3158, allocations: 6.844 kB / 0.5004 GB, free: 29.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3158, allocations: 5.5 kB / 0.5004 GB, free: 29.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.3158, allocations: 10.16 kB / 0.5004 GB, free: 29.24 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004511/0.3163, allocations: 99.89 kB / 0.5005 GB, free: 29.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002271/0.3165, allocations: 0.5996 MB / 0.5011 GB, free: 28.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001376/0.3166, allocations: 16.75 kB / 0.5011 GB, free: 28.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.3167, allocations: 24.75 kB / 0.5011 GB, free: 28.65 MB / 378.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.0001203/0.3168, allocations: 145.4 kB / 0.5013 GB, free: 28.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.146e-05/0.3169, allocations: 16.94 kB / 0.5013 GB, free: 28.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004323/0.3173, allocations: 233.3 kB / 0.5015 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.3173, allocations: 2.219 kB / 0.5015 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.3173, allocations: 5.469 kB / 0.5015 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.656e-06/0.3173, allocations: 0 / 0.5015 GB, free: 28.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002122/0.3176, allocations: 225.4 kB / 0.5017 GB, free: 28.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3176, allocations: 0 / 0.5017 GB, free: 28.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/0.3179, allocations: 60.7 kB / 0.5018 GB, free: 28.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.3179, allocations: 1.375 kB / 0.5018 GB, free: 28.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.3179, allocations: 7.031 kB / 0.5018 GB, free: 28.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001783/0.3181, allocations: 0.5866 MB / 0.5024 GB, free: 27.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3181, allocations: 2.109 kB / 0.5024 GB, free: 27.63 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.3183, allocations: 147.2 kB / 0.5025 GB, free: 27.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.043e-05/0.3184, allocations: 123.2 kB / 0.5026 GB, free: 27.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.3184, allocations: 2.75 kB / 0.5026 GB, free: 27.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.3186, allocations: 13.09 kB / 0.5026 GB, free: 27.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.3186, allocations: 6.422 kB / 0.5026 GB, free: 27.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.3186, allocations: 11.31 kB / 0.5026 GB, free: 27.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.019e-05/0.3187, allocations: 120 kB / 0.5028 GB, free: 27.36 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.3187, allocations: 0 / 0.5028 GB, free: 27.36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006705/0.3194, allocations: 187.3 kB / 0.5029 GB, free: 27.34 MB / 378.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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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.000991/0.3204, allocations: 0.9131 MB / 0.5038 GB, free: 26.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004701/0.3208, allocations: 169.3 kB / 0.504 GB, free: 26.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3209, allocations: 0 / 0.504 GB, free: 26.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001682/0.321, allocations: 53.61 kB / 0.504 GB, free: 26.68 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.3213, allocations: 27.75 kB / 0.5041 GB, free: 26.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.3233, allocations: 1.506 MB / 0.5055 GB, free: 25.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001143/0.3234, allocations: 0.7121 MB / 0.5062 GB, free: 25.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.3236, allocations: 59.84 kB / 0.5063 GB, free: 25.26 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.3236, allocations: 0 / 0.5063 GB, free: 25.26 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.455/3.779, allocations: 5.611 MB / 0.5118 GB, free: 24.64 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Essotherm650.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/IncompleteMedia/Essotherm650/Essotherm650.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Essotherm650.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches