Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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_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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 177.5 kB / 16.08 MB, free: 5.156 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.408/1.408, allocations: 205.6 MB / 222.4 MB, free: 13.52 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007443/0.0007444, allocations: 78.31 kB / 270.8 MB, free: 13.05 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1976/0.1976, allocations: 43.68 MB / 362.7 MB, free: 11.01 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.0003411, allocations: 8 kB / 432.3 MB, free: 19.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1074, allocations: 58.87 MB / 491.2 MB, free: 8.117 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005017/0.1125, allocations: 4.582 MB / 495.8 MB, free: 3.465 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005541/0.1181, allocations: 6.889 MB / 0.4909 GB, free: 11.94 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001526/0.1183, allocations: 7.938 kB / 0.4909 GB, free: 11.93 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.1186, allocations: 47.78 kB / 0.4909 GB, free: 11.88 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.1202, allocations: 0.5946 MB / 0.4915 GB, free: 11.29 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.1206, allocations: 147.8 kB / 0.4916 GB, free: 11.14 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005512/0.1212, allocations: 442 kB / 0.4921 GB, free: 10.71 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.67e-05/0.1213, allocations: 17.67 kB / 0.4921 GB, free: 10.69 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002331/0.1215, allocations: 151.4 kB / 0.4922 GB, free: 10.54 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001878/0.1217, allocations: 139.4 kB / 0.4924 GB, free: 10.41 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.787e-05/0.1217, allocations: 8 kB / 0.4924 GB, free: 10.4 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007659/0.1225, allocations: 335.6 kB / 0.4927 GB, free: 10.07 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.146e-05/0.1226, allocations: 43.83 kB / 0.4927 GB, free: 10.03 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.1228, allocations: 129.2 kB / 0.4928 GB, free: 9.895 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006679/0.1235, allocations: 427.2 kB / 0.4933 GB, free: 9.477 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1235, allocations: 0 / 0.4933 GB, free: 9.477 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1235, allocations: 0 / 0.4933 GB, free: 9.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1235, allocations: 0 / 0.4933 GB, free: 9.477 MB / 346.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.001031/0.1246, allocations: 0.5306 MB / 0.4938 GB, free: 8.898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.1246, allocations: 12.03 kB / 0.4938 GB, free: 8.887 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.1248, allocations: 28.75 kB / 0.4938 GB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002619/0.125, allocations: 224.1 kB / 0.494 GB, free: 8.602 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.1252, allocations: 119.9 kB / 0.4941 GB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.1252, allocations: 20.38 kB / 0.4942 GB, free: 8.438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/0.1257, allocations: 331.6 kB / 0.4945 GB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1257, allocations: 0 / 0.4945 GB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.1258, allocations: 15.98 kB / 0.4945 GB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.1258, allocations: 19.86 kB / 0.4945 GB, free: 8.055 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007913/0.1266, allocations: 0.7352 MB / 0.4952 GB, free: 7.316 MB / 346.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.001199/0.1278, allocations: 1.245 MB / 0.4964 GB, free: 5.969 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002834/0.1281, allocations: 150.5 kB / 0.4966 GB, free: 5.812 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.1282, allocations: 76.58 kB / 0.4967 GB, free: 5.734 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002217/0.1305, allocations: 2.655 MB / 0.4993 GB, free: 2.566 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.1305, allocations: 34.56 kB / 0.4993 GB, free: 2.523 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 3.266e-06/0.1305, allocations: 4 kB / 0.4993 GB, free: 2.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006087/0.1311, allocations: 216.9 kB / 0.4995 GB, free: 2.301 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.1312, allocations: 59.28 kB / 0.4996 GB, free: 2.23 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.1314, allocations: 218.9 kB / 0.4998 GB, free: 2.008 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.748e-05/0.1314, allocations: 25.7 kB / 0.4998 GB, free: 1.977 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001109/0.1315, allocations: 210.8 kB / 0.5 GB, free: 1.766 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.1315, allocations: 55.34 kB / 0.5 GB, free: 1.711 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.1316, allocations: 4 kB / 0.5 GB, free: 1.707 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1317, allocations: 334.8 kB / 0.5004 GB, free: 1.371 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.605e-05/0.1318, allocations: 48.78 kB / 0.5004 GB, free: 1.324 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.132, allocations: 322.1 kB / 0.5007 GB, free: 0.875 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003582/0.1324, allocations: 421.2 kB / 0.5011 GB, free: 336 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.1324, allocations: 0 / 0.5011 GB, free: 336 kB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005002/0.1329, allocations: 369 kB / 0.5015 GB, free: 15.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.1329, allocations: 11.98 kB / 0.5015 GB, free: 15.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.1329, allocations: 12 kB / 0.5015 GB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/0.133, allocations: 12.81 kB / 0.5015 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.1333, allocations: 111.8 kB / 0.5016 GB, free: 15.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/0.1333, allocations: 23.92 kB / 0.5016 GB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002021/0.1335, allocations: 12 kB / 0.5016 GB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.1336, allocations: 28 kB / 0.5017 GB, free: 15.75 MB / 362.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.1337, allocations: 157.5 kB / 0.5018 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.235e-05/0.1338, allocations: 23.83 kB / 0.5018 GB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.1341, allocations: 154.9 kB / 0.502 GB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.1341, allocations: 3.938 kB / 0.502 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.1341, allocations: 4 kB / 0.502 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.1341, allocations: 0 / 0.502 GB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005324/0.1346, allocations: 443.1 kB / 0.5024 GB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.1347, allocations: 4 kB / 0.5024 GB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.1348, allocations: 31.92 kB / 0.5025 GB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.1349, allocations: 0 / 0.5025 GB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.1349, allocations: 8 kB / 0.5025 GB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1349, allocations: 3.938 kB / 0.5025 GB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1349, allocations: 0 / 0.5025 GB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002036/0.1351, allocations: 220.2 kB / 0.5027 GB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.028e-05/0.1352, allocations: 108.8 kB / 0.5028 GB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.1352, allocations: 4 kB / 0.5028 GB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.1354, allocations: 11.98 kB / 0.5028 GB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.965e-05/0.1355, allocations: 7.984 kB / 0.5028 GB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.1355, allocations: 4 kB / 0.5028 GB, free: 14.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.1356, allocations: 156.5 kB / 0.503 GB, free: 14.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1356, allocations: 0 / 0.503 GB, free: 14.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004369/0.136, allocations: 91.98 kB / 0.503 GB, free: 14.23 MB / 362.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 (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.0003196/0.1364, allocations: 183 kB / 0.5032 GB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002909/0.1367, allocations: 178.2 kB / 0.5034 GB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1367, allocations: 0 / 0.5034 GB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.216e-05/0.1367, allocations: 35.92 kB / 0.5034 GB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.1372, allocations: 53.52 kB / 0.5035 GB, free: 13.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008558/0.138, allocations: 0.6205 MB / 0.5041 GB, free: 13.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.1383, allocations: 0.7287 MB / 0.5048 GB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002609/0.1386, allocations: 58.78 kB / 0.5049 GB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.556e-05/0.1387, allocations: 35.42 kB / 0.5049 GB, free: 12.29 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1387, allocations: 0 / 0.5049 GB, free: 12.29 MB / 362.7 MB Notification: Performance of Templates: time 0.006651/0.1453, allocations: 3.298 MB / 0.5081 GB, free: 9.027 MB / 362.7 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/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_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches