Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.LinearColdWater,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.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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.LinearColdWater") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 178.6 kB / 16.08 MB, free: 5.523 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.588/1.588, allocations: 205.6 MB / 222.4 MB, free: 13.68 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.001039/0.001039, allocations: 86.31 kB / 270.8 MB, free: 13.2 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.198/0.198, allocations: 43.68 MB / 362.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003204, allocations: 8 kB / 432.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1089, allocations: 58.86 MB / 491.2 MB, free: 8.152 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005195/0.1141, allocations: 4.608 MB / 495.8 MB, free: 3.379 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005255/0.1194, allocations: 6.113 MB / 0.4901 GB, free: 12.7 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.1196, allocations: 0 / 0.4901 GB, free: 12.7 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.1199, allocations: 43.72 kB / 0.4902 GB, free: 12.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001704/0.1217, allocations: 0.657 MB / 0.4908 GB, free: 12 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003372/0.122, allocations: 131.7 kB / 0.4909 GB, free: 11.87 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005554/0.1226, allocations: 442.1 kB / 0.4914 GB, free: 11.44 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.551e-05/0.1226, allocations: 13.69 kB / 0.4914 GB, free: 11.43 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.1228, allocations: 147.3 kB / 0.4915 GB, free: 11.28 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002466/0.1231, allocations: 151.5 kB / 0.4917 GB, free: 11.13 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.981e-05/0.1231, allocations: 4 kB / 0.4917 GB, free: 11.13 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009092/0.124, allocations: 431.3 kB / 0.4921 GB, free: 10.71 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.881e-05/0.1241, allocations: 47.75 kB / 0.4921 GB, free: 10.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.1243, allocations: 129.2 kB / 0.4922 GB, free: 10.53 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000854/0.1251, allocations: 467.1 kB / 0.4927 GB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1251, allocations: 3.938 kB / 0.4927 GB, free: 10.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1252, allocations: 0 / 0.4927 GB, free: 10.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1252, allocations: 0 / 0.4927 GB, free: 10.07 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.0009914/0.1262, allocations: 0.5424 MB / 0.4932 GB, free: 9.477 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1262, allocations: 8.031 kB / 0.4932 GB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.1264, allocations: 32.64 kB / 0.4933 GB, free: 9.438 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.1266, allocations: 220.1 kB / 0.4935 GB, free: 9.184 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.1268, allocations: 131.9 kB / 0.4936 GB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.1268, allocations: 20.38 kB / 0.4936 GB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004825/0.1273, allocations: 327.6 kB / 0.4939 GB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1273, allocations: 0 / 0.4939 GB, free: 8.664 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.906e-05/0.1273, allocations: 12 kB / 0.4939 GB, free: 8.652 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.145e-05/0.1274, allocations: 4 kB / 0.4939 GB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007974/0.1282, allocations: 0.743 MB / 0.4947 GB, free: 7.902 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.001363/0.1295, allocations: 1.304 MB / 0.4959 GB, free: 6.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/0.1299, allocations: 167.6 kB / 0.4961 GB, free: 6.309 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.13, allocations: 97.34 kB / 0.4962 GB, free: 6.211 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002561/0.1326, allocations: 2.81 MB / 0.4989 GB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.1327, allocations: 34.56 kB / 0.499 GB, free: 2.828 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.1327, allocations: 0 / 0.499 GB, free: 2.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002684/0.1329, allocations: 121.6 kB / 0.4991 GB, free: 2.703 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.134e-05/0.133, allocations: 51.41 kB / 0.4991 GB, free: 2.641 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.1332, allocations: 223.8 kB / 0.4993 GB, free: 2.414 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1332, allocations: 33.7 kB / 0.4994 GB, free: 2.375 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.1333, allocations: 214.6 kB / 0.4996 GB, free: 2.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.1334, allocations: 47.39 kB / 0.4996 GB, free: 2.113 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.1334, allocations: 8 kB / 0.4996 GB, free: 2.105 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.1335, allocations: 330.8 kB / 0.4999 GB, free: 1.773 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.399e-05/0.1336, allocations: 40.84 kB / 0.5 GB, free: 1.734 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.1339, allocations: 343.2 kB / 0.5003 GB, free: 1.254 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004147/0.1343, allocations: 444.6 kB / 0.5007 GB, free: 0.6719 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/0.1343, allocations: 4 kB / 0.5007 GB, free: 0.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004945/0.1348, allocations: 377.7 kB / 0.5011 GB, free: 300 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.1348, allocations: 8 kB / 0.5011 GB, free: 292 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.1349, allocations: 12 kB / 0.5011 GB, free: 280 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.1349, allocations: 19.88 kB / 0.5011 GB, free: 260 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.1351, allocations: 99.83 kB / 0.5012 GB, free: 160 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.1352, allocations: 15.94 kB / 0.5013 GB, free: 144 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.1354, allocations: 55.44 kB / 0.5013 GB, free: 88 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.188e-05/0.1354, allocations: 31.98 kB / 0.5013 GB, free: 56 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0001419/0.1356, allocations: 157.7 kB / 0.5015 GB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/0.1356, allocations: 15.81 kB / 0.5015 GB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.1359, allocations: 144.5 kB / 0.5016 GB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.1359, allocations: 7.922 kB / 0.5016 GB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1359, allocations: 4 kB / 0.5017 GB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.136, allocations: 0 / 0.5017 GB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.1364, allocations: 408.8 kB / 0.502 GB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.1364, allocations: 8 kB / 0.502 GB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.516e-05/0.1365, allocations: 12.09 kB / 0.5021 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.1365, allocations: 8.031 kB / 0.5021 GB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1365, allocations: 3.984 kB / 0.5021 GB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.1365, allocations: 7.938 kB / 0.5021 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.1365, allocations: 0 / 0.5021 GB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.1367, allocations: 205.8 kB / 0.5023 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.217e-05/0.1368, allocations: 108.8 kB / 0.5024 GB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.137e-05/0.1368, allocations: 4 kB / 0.5024 GB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001383/0.137, allocations: 4 kB / 0.5024 GB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.137, allocations: 12.16 kB / 0.5024 GB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.137, allocations: 4 kB / 0.5024 GB, free: 14.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.1372, allocations: 160.4 kB / 0.5026 GB, free: 14.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1372, allocations: 0 / 0.5026 GB, free: 14.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004346/0.1376, allocations: 87.94 kB / 0.5026 GB, free: 14.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.000283/0.1379, allocations: 163.2 kB / 0.5028 GB, free: 14.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.1382, allocations: 169.4 kB / 0.503 GB, free: 14.26 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1382, allocations: 0 / 0.503 GB, free: 14.26 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.686e-05/0.1382, allocations: 27.92 kB / 0.503 GB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.1387, allocations: 45.53 kB / 0.503 GB, free: 14.19 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009426/0.1396, allocations: 0.634 MB / 0.5036 GB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.14, allocations: 0.7326 MB / 0.5044 GB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002813/0.1403, allocations: 58.86 kB / 0.5044 GB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.097e-05/0.1403, allocations: 31.42 kB / 0.5044 GB, free: 12.67 MB / 362.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1403, allocations: 0 / 0.5044 GB, free: 12.67 MB / 362.7 MB Notification: Performance of Templates: time 0.006356/0.1467, allocations: 3.014 MB / 0.5074 GB, free: 9.68 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches