Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001192, allocations: 119.2 kB / 17.09 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 197.2 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.264/1.264, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4333/0.4333, allocations: 43.53 MB / 314.8 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002868/0.002868, allocations: 65.47 kB / 442.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2044, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.01231/0.2167, allocations: 4.965 MB / 0.4934 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.228, allocations: 4.563 MB / 0.4979 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002866/0.2284, allocations: 0 / 0.4979 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000494/0.2289, allocations: 47.61 kB / 0.4979 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00434/0.2333, allocations: 0.6643 MB / 0.4986 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008638/0.2342, allocations: 159.6 kB / 0.4987 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.2353, allocations: 370.1 kB / 0.4991 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.094e-05/0.2354, allocations: 17.67 kB / 0.4991 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004849/0.2359, allocations: 151.4 kB / 0.4992 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003841/0.2363, allocations: 127.5 kB / 0.4994 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.396e-05/0.2364, allocations: 8 kB / 0.4994 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001834/0.2382, allocations: 331.6 kB / 0.4997 GB, free: 320 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.2384, allocations: 47.75 kB / 0.4997 GB, free: 272 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002681/0.2387, allocations: 111.5 kB / 0.4998 GB, free: 160 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.2403, allocations: 418.9 kB / 0.5002 GB, free: 15.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.2403, allocations: 4 kB / 0.5002 GB, free: 15.74 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.244e-06/0.2404, allocations: 0 / 0.5002 GB, free: 15.74 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.566e-05/0.2404, allocations: 3.938 kB / 0.5002 GB, free: 15.74 MB / 398.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.001975/0.2424, allocations: 0.5813 MB / 0.5008 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.95e-05/0.2424, allocations: 11.89 kB / 0.5008 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003332/0.2428, allocations: 24.75 kB / 0.5008 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005947/0.2434, allocations: 232.1 kB / 0.5011 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000237/0.2437, allocations: 123.9 kB / 0.5012 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.414e-05/0.2437, allocations: 24.38 kB / 0.5012 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008723/0.2446, allocations: 323.6 kB / 0.5015 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2447, allocations: 7.984 kB / 0.5015 GB, free: 14.29 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.638e-05/0.2447, allocations: 12 kB / 0.5015 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.646e-05/0.2448, allocations: 8 kB / 0.5015 GB, free: 14.27 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.2463, allocations: 0.7429 MB / 0.5023 GB, free: 13.52 MB / 398.1 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.002537/0.2488, allocations: 1.249 MB / 0.5035 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006391/0.2495, allocations: 154.8 kB / 0.5036 GB, free: 12.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002297/0.2498, allocations: 80.77 kB / 0.5037 GB, free: 11.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004276/0.2541, allocations: 2.647 MB / 0.5063 GB, free: 8.766 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/0.2541, allocations: 38.56 kB / 0.5063 GB, free: 8.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=13): time 3.457e-06/0.2542, allocations: 0 / 0.5063 GB, free: 8.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.001213/0.2554, allocations: 216.8 kB / 0.5065 GB, free: 8.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.2555, allocations: 55.34 kB / 0.5066 GB, free: 8.434 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.2558, allocations: 211.8 kB / 0.5068 GB, free: 8.219 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.2559, allocations: 29.7 kB / 0.5068 GB, free: 8.184 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.2561, allocations: 214.8 kB / 0.507 GB, free: 7.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002227/0.2563, allocations: 51.28 kB / 0.5071 GB, free: 7.918 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.2566, allocations: 93.92 kB / 0.5072 GB, free: 7.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.2568, allocations: 326.8 kB / 0.5075 GB, free: 7.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.257, allocations: 44.84 kB / 0.5075 GB, free: 7.445 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004863/0.2575, allocations: 322.1 kB / 0.5078 GB, free: 6.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008547/0.2583, allocations: 433.1 kB / 0.5082 GB, free: 6.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.2584, allocations: 4 kB / 0.5083 GB, free: 6.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001196/0.2596, allocations: 373.8 kB / 0.5086 GB, free: 6.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.2596, allocations: 12.03 kB / 0.5086 GB, free: 6.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.072e-05/0.2597, allocations: 15.98 kB / 0.5086 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.206e-05/0.2597, allocations: 12 kB / 0.5086 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007916/0.2606, allocations: 107.8 kB / 0.5087 GB, free: 5.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-05/0.2606, allocations: 19.92 kB / 0.5088 GB, free: 5.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004993/0.2611, allocations: 16 kB / 0.5088 GB, free: 5.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.296e-05/0.2612, allocations: 31.98 kB / 0.5088 GB, free: 5.852 MB / 398.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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002435/0.2615, allocations: 153.5 kB / 0.509 GB, free: 5.691 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.2616, allocations: 23.81 kB / 0.509 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006039/0.2622, allocations: 154.8 kB / 0.5091 GB, free: 5.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.48e-05/0.2623, allocations: 3.938 kB / 0.5091 GB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.2623, allocations: 4 kB / 0.5091 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2623, allocations: 0 / 0.5091 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.2634, allocations: 432.3 kB / 0.5096 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2635, allocations: 0 / 0.5096 GB, free: 5.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003694/0.2638, allocations: 31.92 kB / 0.5096 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.2639, allocations: 0 / 0.5096 GB, free: 4.984 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.2639, allocations: 8 kB / 0.5096 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.2639, allocations: 0 / 0.5096 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.2639, allocations: 4.031 kB / 0.5096 GB, free: 4.973 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.2656, allocations: 228.2 kB / 0.5098 GB, free: 4.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000177/0.2658, allocations: 100.8 kB / 0.5099 GB, free: 4.613 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.762e-05/0.2659, allocations: 8 kB / 0.5099 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.2663, allocations: 7.984 kB / 0.5099 GB, free: 4.598 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.2663, allocations: 7.984 kB / 0.5099 GB, free: 4.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.287e-05/0.2664, allocations: 16 kB / 0.5099 GB, free: 4.574 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002421/0.2667, allocations: 148.5 kB / 0.5101 GB, free: 4.434 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.2667, allocations: 0 / 0.5101 GB, free: 4.434 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001074/0.2678, allocations: 96 kB / 0.5102 GB, free: 4.34 MB / 398.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005426/0.2683, allocations: 167.1 kB / 0.5103 GB, free: 4.168 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006648/0.269, allocations: 184.4 kB / 0.5105 GB, free: 3.988 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.269, allocations: 0 / 0.5105 GB, free: 3.988 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.2692, allocations: 37.61 kB / 0.5105 GB, free: 3.953 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008982/0.2701, allocations: 52.39 kB / 0.5106 GB, free: 3.902 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.2718, allocations: 0.5268 MB / 0.5111 GB, free: 3.344 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/0.2723, allocations: 0.7323 MB / 0.5118 GB, free: 2.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.2724, allocations: 35.44 kB / 0.5119 GB, free: 2.551 MB / 398.1 MB Notification: Performance of SimCode: time 2.354e-06/0.2724, allocations: 0 / 0.5119 GB, free: 2.551 MB / 398.1 MB Notification: Performance of Templates: time 0.01179/0.2842, allocations: 3.467 MB / 0.5152 GB, free: 15.09 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches