Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001149/0.001149, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001263/0.001263, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 243 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2285/0.2285, allocations: 44.18 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 69.73 kB / 409.9 MB, free: 26.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1058, allocations: 60.82 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.005438/0.1112, allocations: 4.531 MB / 475.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004093/0.1154, allocations: 4.018 MB / 479.2 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.736e-05/0.1155, allocations: 0 / 479.2 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.1158, allocations: 55.61 kB / 479.3 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.1175, allocations: 0.7266 MB / 480 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.1178, allocations: 135 kB / 480.2 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004891/0.1183, allocations: 366.2 kB / 480.5 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.1184, allocations: 13.69 kB / 480.5 MB, free: 3.762 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.1185, allocations: 143.5 kB / 480.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.1188, allocations: 151.4 kB / 480.8 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.392e-05/0.1188, allocations: 12 kB / 480.8 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008653/0.1197, allocations: 423.5 kB / 481.2 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.17e-05/0.1198, allocations: 51.75 kB / 481.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001125/0.1199, allocations: 99.53 kB / 481.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007677/0.1207, allocations: 474.8 kB / 481.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1207, allocations: 0 / 481.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1207, allocations: 0 / 481.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.1207, allocations: 0 / 481.9 MB, free: 2.434 MB / 350.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.001143/0.1219, allocations: 0.5969 MB / 482.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1219, allocations: 12.03 kB / 482.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.1221, allocations: 24.75 kB / 482.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003154/0.1224, allocations: 228 kB / 482.7 MB, free: 1.492 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.1225, allocations: 127.9 kB / 482.8 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.1226, allocations: 24.31 kB / 482.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004724/0.123, allocations: 319.6 kB / 483.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1231, allocations: 3.938 kB / 483.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.801e-05/0.1231, allocations: 16 kB / 483.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.061e-05/0.1231, allocations: 8 kB / 483.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007504/0.1239, allocations: 0.7391 MB / 483.9 MB, free: 216 kB / 350.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.00137/0.1252, allocations: 1.3 MB / 485.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003443/0.1256, allocations: 159.8 kB / 485.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.1257, allocations: 93.42 kB / 485.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002306/0.1281, allocations: 2.817 MB / 488.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.1281, allocations: 30.56 kB / 488.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.1281, allocations: 3.938 kB / 488.3 MB, free: 11.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002808/0.1284, allocations: 121.3 kB / 488.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.1284, allocations: 55.39 kB / 488.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.1286, allocations: 219.9 kB / 488.7 MB, free: 10.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1286, allocations: 29.7 kB / 488.7 MB, free: 10.69 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.1288, allocations: 214.6 kB / 489 MB, free: 10.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.1288, allocations: 51.38 kB / 489 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.048e-05/0.1289, allocations: 81.94 kB / 489.1 MB, free: 10.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.129, allocations: 326.8 kB / 489.4 MB, free: 10.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.502e-05/0.1291, allocations: 48.84 kB / 489.5 MB, free: 9.965 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.1293, allocations: 351.2 kB / 489.8 MB, free: 9.473 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003907/0.1297, allocations: 440.6 kB / 490.2 MB, free: 8.895 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.1298, allocations: 4 kB / 490.2 MB, free: 8.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005249/0.1303, allocations: 385.5 kB / 490.6 MB, free: 8.508 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1303, allocations: 8 kB / 490.6 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.1303, allocations: 12 kB / 490.6 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.1304, allocations: 15.94 kB / 490.6 MB, free: 8.473 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00023/0.1306, allocations: 99.83 kB / 490.7 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.051e-05/0.1306, allocations: 19.92 kB / 490.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.1309, allocations: 55.38 kB / 490.8 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.946e-05/0.1309, allocations: 28.34 kB / 490.8 MB, free: 8.273 MB / 366.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.000108/0.131, allocations: 153.6 kB / 491 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.543e-05/0.1311, allocations: 19.81 kB / 491 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.1313, allocations: 144.9 kB / 491.2 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.1314, allocations: 7.875 kB / 491.2 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.1314, allocations: 0 / 491.2 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1314, allocations: 0 / 491.2 MB, free: 7.934 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004308/0.1318, allocations: 404.9 kB / 491.6 MB, free: 7.473 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.1318, allocations: 4 kB / 491.6 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.795e-05/0.1319, allocations: 15.92 kB / 491.6 MB, free: 7.453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.1319, allocations: 8.094 kB / 491.6 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.1319, allocations: 0 / 491.6 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1319, allocations: 0 / 491.6 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1319, allocations: 4 kB / 491.6 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/0.1321, allocations: 209.8 kB / 491.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-05/0.1322, allocations: 104.8 kB / 491.9 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.368e-05/0.1322, allocations: 7.984 kB / 491.9 MB, free: 7.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.1324, allocations: 4 kB / 491.9 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.1324, allocations: 8 kB / 491.9 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.1324, allocations: 7.984 kB / 491.9 MB, free: 7.062 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.1325, allocations: 156.5 kB / 492.1 MB, free: 6.906 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.483e-06/0.1326, allocations: 0 / 492.1 MB, free: 6.906 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004718/0.133, allocations: 95.88 kB / 492.2 MB, free: 6.812 MB / 366.1 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.0002589/0.1333, allocations: 159.2 kB / 492.3 MB, free: 6.645 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002692/0.1336, allocations: 165.8 kB / 492.5 MB, free: 6.484 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.1336, allocations: 4 kB / 492.5 MB, free: 6.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.356e-05/0.1336, allocations: 23.92 kB / 492.5 MB, free: 6.457 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.134, allocations: 52.64 kB / 492.6 MB, free: 6.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008748/0.1349, allocations: 0.5347 MB / 493.1 MB, free: 5.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.1352, allocations: 0.7283 MB / 493.8 MB, free: 5.086 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001676/0.1354, allocations: 54.86 kB / 493.9 MB, free: 5.035 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.1354, allocations: 31.42 kB / 493.9 MB, free: 5.004 MB / 366.1 MB Notification: Performance of SimCode: time 2e-07/0.1354, allocations: 0 / 493.9 MB, free: 5.004 MB / 366.1 MB Notification: Performance of Templates: time 0.006283/0.1417, allocations: 3.092 MB / 497 MB, free: 1.941 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches