Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 114.7 kB / 17.09 MB, free: 5.984 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.00227/0.00227, allocations: 198.1 kB / 18.03 MB, free: 5.055 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.45/1.45, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.2368/0.2368, allocations: 43.52 MB / 314.8 MB, free: 464 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.00166/0.00166, allocations: 69.47 kB / 442.5 MB, free: 5.617 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1154, allocations: 57.78 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006651/0.1221, allocations: 4.544 MB / 0.493 GB, free: 7.188 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00469/0.1268, allocations: 4.01 MB / 0.4969 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001706/0.127, allocations: 0 / 0.4969 GB, free: 3.164 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.1274, allocations: 55.59 kB / 0.497 GB, free: 3.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.1293, allocations: 0.7305 MB / 0.4977 GB, free: 2.375 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.1297, allocations: 143.6 kB / 0.4978 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005041/0.1302, allocations: 370.2 kB / 0.4982 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.37e-05/0.1303, allocations: 13.62 kB / 0.4982 GB, free: 1.859 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.1304, allocations: 143.5 kB / 0.4983 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.1307, allocations: 143.5 kB / 0.4985 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.008e-05/0.1307, allocations: 8 kB / 0.4985 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.1319, allocations: 439.5 kB / 0.4989 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.132, allocations: 39.77 kB / 0.499 GB, free: 1.102 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.1322, allocations: 107.5 kB / 0.4991 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001121/0.1333, allocations: 466.5 kB / 0.4995 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.1333, allocations: 0 / 0.4995 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1333, allocations: 0 / 0.4995 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.468e-06/0.1334, allocations: 0 / 0.4995 GB, free: 0.5391 MB / 382.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.001588/0.135, allocations: 0.6116 MB / 0.5001 GB, free: 15.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.994e-05/0.135, allocations: 11.89 kB / 0.5001 GB, free: 15.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002802/0.1353, allocations: 36.78 kB / 0.5001 GB, free: 15.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.1358, allocations: 220.1 kB / 0.5004 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/0.136, allocations: 119.9 kB / 0.5005 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.38e-05/0.1361, allocations: 28.38 kB / 0.5005 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008216/0.1369, allocations: 323.6 kB / 0.5008 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.137, allocations: 4 kB / 0.5008 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.367e-05/0.137, allocations: 8 kB / 0.5008 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.262e-05/0.1371, allocations: 12 kB / 0.5008 GB, free: 15.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.1385, allocations: 0.7468 MB / 0.5016 GB, free: 14.29 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.002226/0.1408, allocations: 1.304 MB / 0.5028 GB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000522/0.1413, allocations: 159.7 kB / 0.503 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.1416, allocations: 93.41 kB / 0.5031 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00422/0.1458, allocations: 2.81 MB / 0.5058 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.328e-05/0.1459, allocations: 38.56 kB / 0.5058 GB, free: 9.223 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 2.645e-06/0.1459, allocations: 0 / 0.5058 GB, free: 9.223 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004834/0.1464, allocations: 117.4 kB / 0.506 GB, free: 9.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.1465, allocations: 55.34 kB / 0.506 GB, free: 9.035 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.1468, allocations: 227.9 kB / 0.5062 GB, free: 8.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.379e-05/0.1469, allocations: 33.7 kB / 0.5063 GB, free: 8.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002326/0.1471, allocations: 223.4 kB / 0.5065 GB, free: 8.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.256e-05/0.1472, allocations: 39.69 kB / 0.5065 GB, free: 8.504 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/0.1474, allocations: 94.02 kB / 0.5066 GB, free: 8.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.1476, allocations: 330.8 kB / 0.5069 GB, free: 8.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.1478, allocations: 44.84 kB / 0.507 GB, free: 8.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004564/0.1482, allocations: 343.2 kB / 0.5073 GB, free: 7.547 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007842/0.149, allocations: 448.6 kB / 0.5077 GB, free: 6.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/0.1491, allocations: 0 / 0.5077 GB, free: 6.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001118/0.1502, allocations: 385.8 kB / 0.5081 GB, free: 6.578 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.1503, allocations: 8 kB / 0.5081 GB, free: 6.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.789e-05/0.1503, allocations: 12 kB / 0.5081 GB, free: 6.559 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.347e-05/0.1504, allocations: 12 kB / 0.5081 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004638/0.1508, allocations: 107.7 kB / 0.5082 GB, free: 6.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-05/0.1509, allocations: 15.94 kB / 0.5082 GB, free: 6.426 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.1514, allocations: 59.56 kB / 0.5083 GB, free: 6.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/0.1515, allocations: 35.97 kB / 0.5083 GB, free: 6.332 MB / 398.1 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.0002431/0.1517, allocations: 149.8 kB / 0.5085 GB, free: 6.176 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.914e-05/0.1518, allocations: 15.91 kB / 0.5085 GB, free: 6.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004771/0.1523, allocations: 140.5 kB / 0.5086 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.1524, allocations: 11.92 kB / 0.5086 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1524, allocations: 0 / 0.5086 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001428/0.1525, allocations: 105 kB / 0.5087 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.781e-05/0.1526, allocations: 0 / 0.5087 GB, free: 5.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.1529, allocations: 4 kB / 0.5087 GB, free: 5.871 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.783e-05/0.1529, allocations: 15.86 kB / 0.5087 GB, free: 5.855 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002523/0.1532, allocations: 141 kB / 0.5089 GB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003462/0.1536, allocations: 278.7 kB / 0.5091 GB, free: 5.422 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.916e-05/0.1537, allocations: 23.92 kB / 0.5092 GB, free: 5.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002324/0.1539, allocations: 156.5 kB / 0.5093 GB, free: 5.242 MB / 398.1 MB Notification: Performance of Backend: time 6.61e-07/0.1539, allocations: 0 / 0.5093 GB, free: 5.242 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001686/0.1556, allocations: 443.5 kB / 0.5097 GB, free: 4.801 MB / 398.1 MB Notification: Performance of SimCode: time 0.001335/0.157, allocations: 0.8459 MB / 0.5106 GB, free: 3.91 MB / 398.1 MB Notification: Performance of Templates: time 0.01778/0.1748, allocations: 5.21 MB / 0.5157 GB, free: 14.7 MB / 414.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches