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: 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_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0012/0.0012, allocations: 177.5 kB / 16.41 MB, free: 5.707 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.402/1.402, 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.0007338/0.0007337, allocations: 97.05 kB / 270.9 MB, free: 8.355 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.3624/0.3624, allocations: 43.56 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003657, allocations: 12 kB / 431.4 MB, free: 5.922 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1312, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005161/0.1364, allocations: 4.431 MB / 494.7 MB, free: 6.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004453/0.1409, allocations: 4.2 MB / 498.9 MB, free: 2.309 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.1411, allocations: 0 / 498.9 MB, free: 2.309 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.1413, allocations: 39.73 kB / 498.9 MB, free: 2.27 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.1427, allocations: 0.5243 MB / 499.4 MB, free: 1.742 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004311/0.1431, allocations: 159.7 kB / 499.6 MB, free: 1.586 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000521/0.1437, allocations: 382.1 kB / 500 MB, free: 1.211 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.099e-05/0.1438, allocations: 9.688 kB / 500 MB, free: 1.199 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002184/0.144, allocations: 155.4 kB / 0.4884 GB, free: 1.047 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.1442, allocations: 127.5 kB / 0.4885 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.014e-05/0.1442, allocations: 8 kB / 0.4885 GB, free: 0.9141 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006579/0.1449, allocations: 255.8 kB / 0.4888 GB, free: 0.6641 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.991e-05/0.1449, allocations: 43.77 kB / 0.4888 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/0.145, allocations: 61.62 kB / 0.4889 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003862/0.1454, allocations: 271.7 kB / 0.4891 GB, free: 296 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1454, allocations: 0 / 0.4891 GB, free: 296 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1454, allocations: 0 / 0.4891 GB, free: 296 kB / 378.7 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.1454, allocations: 4 kB / 0.4891 GB, free: 292 kB / 378.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.2298/0.3752, allocations: 0.5305 MB / 0.4897 GB, free: 43.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3753, allocations: 8.188 kB / 0.4897 GB, free: 43.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/0.3756, allocations: 30.09 kB / 0.4897 GB, free: 43.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.3758, allocations: 223.4 kB / 0.4899 GB, free: 43.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.3759, allocations: 123 kB / 0.49 GB, free: 43.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.376, allocations: 22.33 kB / 0.49 GB, free: 43.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004833/0.3765, allocations: 329 kB / 0.4904 GB, free: 43.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3765, allocations: 3.438 kB / 0.4904 GB, free: 43.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.235e-05/0.3765, allocations: 10.25 kB / 0.4904 GB, free: 43.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.723e-05/0.3766, allocations: 7 kB / 0.4904 GB, free: 43.46 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008989/0.3775, allocations: 0.7356 MB / 0.4911 GB, free: 43.46 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.001149/0.3786, allocations: 1.246 MB / 0.4923 GB, free: 42.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003145/0.379, allocations: 150.3 kB / 0.4925 GB, free: 42.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.3791, allocations: 73.84 kB / 0.4925 GB, free: 42.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001679/0.3808, allocations: 2.66 MB / 0.4951 GB, free: 39.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.113e-05/0.3808, allocations: 36.36 kB / 0.4952 GB, free: 39.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.224e-06/0.3808, allocations: 0 / 0.4952 GB, free: 39.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006369/0.3815, allocations: 223.1 kB / 0.4954 GB, free: 39.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.599e-05/0.3815, allocations: 53.75 kB / 0.4954 GB, free: 39.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.3817, allocations: 203.9 kB / 0.4956 GB, free: 39.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.3817, allocations: 32 kB / 0.4956 GB, free: 39.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.3818, allocations: 211.9 kB / 0.4958 GB, free: 39.23 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.3819, allocations: 60.55 kB / 0.4959 GB, free: 39.2 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.325e-05/0.3819, allocations: 10 kB / 0.4959 GB, free: 39.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.56e-05/0.382, allocations: 327.4 kB / 0.4962 GB, free: 38.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.106e-05/0.3821, allocations: 48.19 kB / 0.4963 GB, free: 38.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001905/0.3823, allocations: 320.5 kB / 0.4966 GB, free: 38.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.3824, allocations: 102.3 kB / 0.4967 GB, free: 38.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.3824, allocations: 4.234 kB / 0.4967 GB, free: 38.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005111/0.383, allocations: 371.3 kB / 0.497 GB, free: 38.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.383, allocations: 10.39 kB / 0.497 GB, free: 38.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.383, allocations: 9.375 kB / 0.4971 GB, free: 38.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/0.383, allocations: 18.52 kB / 0.4971 GB, free: 38.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.3834, allocations: 107 kB / 0.4972 GB, free: 38.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.075e-05/0.3834, allocations: 18.91 kB / 0.4972 GB, free: 38.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.3836, allocations: 19.59 kB / 0.4972 GB, free: 38.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/0.3837, allocations: 28.02 kB / 0.4972 GB, free: 38.4 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000125/0.3838, allocations: 156.2 kB / 0.4974 GB, free: 38.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.3839, allocations: 19.08 kB / 0.4974 GB, free: 38.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.3842, allocations: 154.4 kB / 0.4975 GB, free: 38.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.3842, allocations: 5.891 kB / 0.4976 GB, free: 38.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3842, allocations: 4.422 kB / 0.4976 GB, free: 38.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3842, allocations: 2.391 kB / 0.4976 GB, free: 38.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004713/0.3847, allocations: 436.6 kB / 0.498 GB, free: 37.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.3847, allocations: 2.234 kB / 0.498 GB, free: 37.9 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.3849, allocations: 33 kB / 0.498 GB, free: 37.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3849, allocations: 5.016 kB / 0.498 GB, free: 37.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.3849, allocations: 5.047 kB / 0.498 GB, free: 37.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3849, allocations: 1.031 kB / 0.498 GB, free: 37.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3849, allocations: 1.062 kB / 0.498 GB, free: 37.89 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001905/0.3851, allocations: 214.8 kB / 0.4982 GB, free: 37.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.337e-05/0.3852, allocations: 109.1 kB / 0.4983 GB, free: 37.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.096e-05/0.3852, allocations: 13.25 kB / 0.4983 GB, free: 37.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.3854, allocations: 11.42 kB / 0.4984 GB, free: 37.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.3854, allocations: 14.53 kB / 0.4984 GB, free: 37.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.3855, allocations: 6.25 kB / 0.4984 GB, free: 37.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.3856, allocations: 147.6 kB / 0.4985 GB, free: 37.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3856, allocations: 0 / 0.4985 GB, free: 37.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004514/0.3861, allocations: 100.3 kB / 0.4986 GB, free: 37.55 MB / 378.7 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 (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.0002179/0.3863, allocations: 157.4 kB / 0.4988 GB, free: 37.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002837/0.3866, allocations: 174.5 kB / 0.4989 GB, free: 37.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3866, allocations: 2.094 kB / 0.4989 GB, free: 37.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.633e-05/0.3867, allocations: 37.09 kB / 0.499 GB, free: 37.42 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004332/0.3871, allocations: 54.8 kB / 0.499 GB, free: 37.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008933/0.388, allocations: 0.6291 MB / 0.4996 GB, free: 37.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001673/0.3882, allocations: 0.7312 MB / 0.5003 GB, free: 36.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.731e-05/0.3882, allocations: 35.23 kB / 0.5004 GB, free: 36.38 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3883, allocations: 0 / 0.5004 GB, free: 36.38 MB / 378.7 MB Notification: Performance of Templates: time 0.004875/0.3931, allocations: 3.361 MB / 0.5037 GB, free: 36.02 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile (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 & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches