Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.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.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 111.2 kB / 17.04 MB, free: 5.812 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.001697/0.001697, allocations: 195 kB / 17.97 MB, free: 5.027 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.402/1.402, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.197/0.197, allocations: 43.52 MB / 314.7 MB, free: 484 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.001444/0.001444, allocations: 61.97 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09527/0.09672, allocations: 57.78 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.0178/0.1146, allocations: 20.26 MB / 462.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005791/0.1204, allocations: 4.29 MB / 466.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005953/0.121, allocations: 23.81 kB / 466.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009056/0.122, allocations: 314 kB / 466.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.1237, allocations: 0.8433 MB / 467.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00207/0.1258, allocations: 0.9068 MB / 468.6 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001802/0.1276, allocations: 1.782 MB / 470.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006294/0.1282, allocations: 469.3 kB / 470.8 MB, free: 9.176 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001563/0.1298, allocations: 0.9145 MB / 471.8 MB, free: 8.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008006/0.1306, allocations: 0.6344 MB / 472.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.451e-05/0.1307, allocations: 60 kB / 472.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007364/0.1315, allocations: 307.6 kB / 472.8 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002465/0.1317, allocations: 267.2 kB / 473 MB, free: 7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003656/0.1321, allocations: 390.2 kB / 473.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001155/0.1332, allocations: 1.079 MB / 474.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1333, allocations: 0 / 474.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1333, allocations: 4 kB / 474.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.1333, allocations: 4 kB / 474.5 MB, free: 5.527 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002054/0.1353, allocations: 1.044 MB / 475.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1354, allocations: 15.89 kB / 475.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003271/0.1357, allocations: 88.08 kB / 475.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008384/0.1366, allocations: 0.5366 MB / 476.2 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.359e-05/0.1367, allocations: 101 kB / 476.3 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.784e-05/0.1368, allocations: 56.34 kB / 476.3 MB, free: 3.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.1379, allocations: 0.8213 MB / 477.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.1379, allocations: 4 kB / 477.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-05/0.138, allocations: 24 kB / 477.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.579e-05/0.1381, allocations: 40.92 kB / 477.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009848/0.139, allocations: 0.6478 MB / 477.9 MB, free: 1.984 MB / 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.004383/0.1434, allocations: 4.209 MB / 482.1 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007994/0.1443, allocations: 418 kB / 482.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003177/0.1446, allocations: 205.4 kB / 482.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004664/0.1451, allocations: 0.495 MB / 483.2 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.1451, allocations: 46.83 kB / 483.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.753e-06/0.1451, allocations: 0 / 483.2 MB, free: 12.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003058/0.1482, allocations: 1.529 MB / 484.7 MB, free: 10.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.1483, allocations: 132.5 kB / 484.9 MB, free: 10.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006189/0.1489, allocations: 0.5693 MB / 485.4 MB, free: 9.883 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.1489, allocations: 33.7 kB / 485.5 MB, free: 9.844 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.1492, allocations: 362.9 kB / 485.8 MB, free: 9.484 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.1493, allocations: 161.7 kB / 486 MB, free: 9.324 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002046/0.1495, allocations: 142.6 kB / 486.1 MB, free: 9.18 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1497, allocations: 382.7 kB / 486.5 MB, free: 8.797 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.15, allocations: 221.9 kB / 486.7 MB, free: 8.582 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000553/0.1506, allocations: 0.5162 MB / 487.2 MB, free: 7.926 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009542/0.1516, allocations: 0.7796 MB / 488 MB, free: 7.016 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.1516, allocations: 0 / 488 MB, free: 7.016 MB / 366.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001908/0.1535, allocations: 0.9453 MB / 489 MB, free: 6.062 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.941e-05/0.1535, allocations: 8 kB / 489 MB, free: 6.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/0.1536, allocations: 12 kB / 489 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.1548, allocations: 264.2 kB / 489.2 MB, free: 5.785 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004496/0.1552, allocations: 127.8 kB / 489.4 MB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000912/0.1562, allocations: 0.8684 MB / 490.2 MB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004677/0.1566, allocations: 28 kB / 490.3 MB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.843e-05/0.1567, allocations: 32 kB / 490.3 MB, free: 4.707 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003146/0.157, allocations: 246.1 kB / 490.5 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.1571, allocations: 63.25 kB / 490.6 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.1584, allocations: 0.7141 MB / 491.3 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.1585, allocations: 4 kB / 491.3 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1585, allocations: 0 / 491.3 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.1585, allocations: 0 / 491.3 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.1605, allocations: 1.407 MB / 492.7 MB, free: 2.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.1606, allocations: 3.938 kB / 492.7 MB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009521/0.1615, allocations: 204 kB / 492.9 MB, free: 1.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002269/0.1618, allocations: 52.78 kB / 493 MB, free: 1.918 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/0.1618, allocations: 23.97 kB / 493 MB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002261/0.1641, allocations: 2.978 MB / 496 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.1641, allocations: 0 / 496 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.1655, allocations: 0.9969 MB / 497 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002845/0.1658, allocations: 200.4 kB / 497.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.04e-05/0.1659, allocations: 15.98 kB / 497.2 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003681/0.1663, allocations: 15.98 kB / 497.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.752e-05/0.1664, allocations: 43.95 kB / 497.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.954e-05/0.1664, allocations: 23.98 kB / 497.3 MB, free: 13.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004597/0.1669, allocations: 419 kB / 497.7 MB, free: 12.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1669, allocations: 0 / 497.7 MB, free: 12.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007283/0.1677, allocations: 207.9 kB / 497.9 MB, free: 12.68 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004667/0.1681, allocations: 230.8 kB / 498.1 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001094/0.1692, allocations: 0.6086 MB / 498.7 MB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1693, allocations: 4 kB / 498.7 MB, free: 11.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.1704, allocations: 482.2 kB / 499.2 MB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.1719, allocations: 369.9 kB / 499.5 MB, free: 11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/0.1738, allocations: 1.397 MB / 0.4892 GB, free: 9.559 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.1743, allocations: 0.9423 MB / 0.4901 GB, free: 8.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005624/0.1749, allocations: 209 kB / 0.4903 GB, free: 8.395 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001444/0.1751, allocations: 63.36 kB / 0.4904 GB, free: 8.336 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1751, allocations: 4 kB / 0.4904 GB, free: 8.332 MB / 382.1 MB Notification: Performance of Templates: time 0.02415/0.1992, allocations: 15.12 MB / 0.5051 GB, free: 9.258 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches