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.001291/0.001291, allocations: 107.2 kB / 17.03 MB, free: 5.66 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.001285/0.001285, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.439/1.439, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2047/0.2047, allocations: 43.53 MB / 314.7 MB, free: 468 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.001493/0.001493, allocations: 72.31 kB / 384.2 MB, free: 56.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1133, allocations: 57.79 MB / 442 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.004969/0.1183, allocations: 4.535 MB / 446.5 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004063/0.1224, allocations: 4.01 MB / 450.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.848e-05/0.1225, allocations: 0 / 450.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002749/0.1228, allocations: 59.59 kB / 450.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.1245, allocations: 0.7188 MB / 451.3 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000336/0.1248, allocations: 139.2 kB / 451.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006346/0.1254, allocations: 370.1 kB / 451.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.263e-05/0.1255, allocations: 9.688 kB / 451.8 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.1257, allocations: 139.5 kB / 451.9 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.126, allocations: 159.4 kB / 452.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.126, allocations: 8 kB / 452.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009275/0.1269, allocations: 419.5 kB / 452.5 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.266e-05/0.127, allocations: 47.8 kB / 452.5 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.1272, allocations: 107.5 kB / 452.7 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006967/0.1279, allocations: 470.8 kB / 453.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1279, allocations: 0 / 453.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1279, allocations: 0 / 453.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1279, allocations: 4 kB / 453.1 MB, free: 10.94 MB / 334.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.0012/0.1291, allocations: 0.5931 MB / 453.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1292, allocations: 11.89 kB / 453.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001547/0.1293, allocations: 28.66 kB / 453.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.1297, allocations: 232.1 kB / 454 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.1299, allocations: 135.8 kB / 454.1 MB, free: 9.832 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.085e-05/0.1299, allocations: 20.38 kB / 454.1 MB, free: 9.812 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005003/0.1304, allocations: 327.6 kB / 454.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1304, allocations: 3.984 kB / 454.5 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.647e-05/0.1305, allocations: 12 kB / 454.5 MB, free: 9.449 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.1305, allocations: 8 kB / 454.5 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008195/0.1313, allocations: 0.7352 MB / 455.2 MB, free: 8.707 MB / 334.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.001346/0.1327, allocations: 1.304 MB / 456.5 MB, free: 7.281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.133, allocations: 171.7 kB / 456.7 MB, free: 7.105 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.1332, allocations: 89.41 kB / 456.8 MB, free: 7.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002542/0.1357, allocations: 2.806 MB / 459.6 MB, free: 3.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.1357, allocations: 38.5 kB / 459.6 MB, free: 3.633 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.643e-06/0.1358, allocations: 0 / 459.6 MB, free: 3.633 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002694/0.136, allocations: 117.4 kB / 459.7 MB, free: 3.512 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/0.1361, allocations: 55.41 kB / 459.8 MB, free: 3.445 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.1363, allocations: 223.8 kB / 460 MB, free: 3.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.1363, allocations: 25.7 kB / 460 MB, free: 3.188 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001225/0.1364, allocations: 226.5 kB / 460.2 MB, free: 2.961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.1365, allocations: 35.45 kB / 460.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.61e-05/0.1365, allocations: 86.03 kB / 460.4 MB, free: 2.836 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1367, allocations: 330.8 kB / 460.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.472e-05/0.1368, allocations: 44.84 kB / 460.7 MB, free: 2.461 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.1371, allocations: 355.2 kB / 461.1 MB, free: 1.965 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.1375, allocations: 436.6 kB / 461.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1375, allocations: 0 / 461.5 MB, free: 1.391 MB / 334.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005194/0.138, allocations: 393.2 kB / 461.9 MB, free: 1 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.138, allocations: 13.23 kB / 461.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.138, allocations: 12 kB / 461.9 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.065e-05/0.1381, allocations: 15.94 kB / 461.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002473/0.1383, allocations: 95.84 kB / 462 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/0.1384, allocations: 23.86 kB / 462 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.1386, allocations: 48.06 kB / 462.1 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.1386, allocations: 32 kB / 462.1 MB, free: 0.7656 MB / 334.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.0001625/0.1388, allocations: 153.6 kB / 462.3 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.936e-05/0.1389, allocations: 23.72 kB / 462.3 MB, free: 0.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002706/0.1391, allocations: 140.6 kB / 462.4 MB, free: 448 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.1392, allocations: 3.938 kB / 462.4 MB, free: 444 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.1392, allocations: 4 kB / 462.4 MB, free: 440 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1392, allocations: 3.984 kB / 462.4 MB, free: 436 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.1397, allocations: 404.8 kB / 462.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1397, allocations: 16.09 kB / 462.9 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-05/0.1398, allocations: 8 kB / 462.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1398, allocations: 4 kB / 462.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.146e-06/0.1398, allocations: 0 / 462.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1398, allocations: 4 kB / 462.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1398, allocations: 3.984 kB / 462.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.14, allocations: 205.8 kB / 463.1 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-05/0.1401, allocations: 100.9 kB / 463.2 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.1401, allocations: 4 kB / 463.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.1403, allocations: 0 / 463.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.1403, allocations: 7.984 kB / 463.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.1403, allocations: 8 kB / 463.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001153/0.1404, allocations: 152.5 kB / 463.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1405, allocations: 7.875 kB / 463.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004766/0.1409, allocations: 107.8 kB / 463.5 MB, free: 15.3 MB / 350.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.0002481/0.1412, allocations: 155.2 kB / 463.6 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003165/0.1415, allocations: 169.1 kB / 463.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.1415, allocations: 0 / 463.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.589e-05/0.1416, allocations: 19.94 kB / 463.8 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.142, allocations: 55.03 kB / 463.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000896/0.1429, allocations: 0.5308 MB / 464.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002742/0.1432, allocations: 0.7323 MB / 465.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.1434, allocations: 51.28 kB / 465.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.393e-05/0.1434, allocations: 27.44 kB / 465.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1435, allocations: 0 / 465.2 MB, free: 13.51 MB / 350.1 MB Notification: Performance of Templates: time 0.006616/0.1501, allocations: 3.103 MB / 468.3 MB, free: 10.43 MB / 350.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 -s gbode -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