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.001234/0.001234, allocations: 108.6 kB / 17.03 MB, free: 5.664 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.001114/0.001114, allocations: 190.9 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.534/1.534, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2128/0.2128, allocations: 43.53 MB / 314.7 MB, free: 476 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.001604/0.001604, allocations: 64.14 kB / 384.2 MB, free: 56.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09266/0.09427, allocations: 57.79 MB / 442 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02001/0.1143, allocations: 20.26 MB / 462.2 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006073/0.1204, allocations: 4.294 MB / 466.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004886/0.121, allocations: 19.88 kB / 466.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007989/0.1218, allocations: 318 kB / 466.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001781/0.1236, allocations: 0.8433 MB / 467.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002226/0.1258, allocations: 0.9028 MB / 468.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002053/0.1279, allocations: 1.786 MB / 470.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005874/0.1285, allocations: 461.4 kB / 470.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/0.1303, allocations: 0.9184 MB / 471.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009968/0.1313, allocations: 0.6422 MB / 472.4 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.1314, allocations: 60 kB / 472.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007892/0.1322, allocations: 303.6 kB / 472.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.1325, allocations: 259.3 kB / 473 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004016/0.1329, allocations: 390.2 kB / 473.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.1343, allocations: 1.086 MB / 474.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1343, allocations: 0 / 474.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1343, allocations: 0 / 474.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.1343, allocations: 4 kB / 474.5 MB, free: 5.512 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.002211/0.1366, allocations: 1.048 MB / 475.5 MB, free: 4.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.1366, allocations: 11.89 kB / 475.5 MB, free: 4.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003535/0.137, allocations: 96.02 kB / 475.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009099/0.1379, allocations: 0.5327 MB / 476.2 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.138, allocations: 105 kB / 476.3 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.704e-05/0.1381, allocations: 48.36 kB / 476.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.1393, allocations: 0.8135 MB / 477.1 MB, free: 2.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.1393, allocations: 7.938 kB / 477.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.308e-05/0.1394, allocations: 28 kB / 477.2 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.636e-05/0.1394, allocations: 44.91 kB / 477.2 MB, free: 2.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.1405, allocations: 0.6361 MB / 477.8 MB, free: 1.977 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.004806/0.1453, allocations: 4.221 MB / 482.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009014/0.1462, allocations: 418 kB / 482.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003142/0.1466, allocations: 201.4 kB / 482.7 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005033/0.1471, allocations: 0.499 MB / 483.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/0.1471, allocations: 42.89 kB / 483.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 2.334e-06/0.1471, allocations: 0 / 483.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=45): time 0.003135/0.1503, allocations: 1.529 MB / 484.7 MB, free: 10.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.923e-05/0.1504, allocations: 132.5 kB / 484.9 MB, free: 10.45 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000643/0.151, allocations: 0.5693 MB / 485.4 MB, free: 9.867 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.1511, allocations: 33.7 kB / 485.5 MB, free: 9.828 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.1513, allocations: 358.9 kB / 485.8 MB, free: 9.473 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.1515, allocations: 161.7 kB / 486 MB, free: 9.312 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.1517, allocations: 138.6 kB / 486.1 MB, free: 9.172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1518, allocations: 382.6 kB / 486.5 MB, free: 8.789 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003669/0.1522, allocations: 225.8 kB / 486.7 MB, free: 8.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005576/0.1528, allocations: 0.524 MB / 487.2 MB, free: 7.906 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009777/0.1537, allocations: 0.7718 MB / 488 MB, free: 7.004 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.1538, allocations: 4 kB / 488 MB, free: 7 MB / 366.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001767/0.1555, allocations: 0.9452 MB / 488.9 MB, free: 6.047 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.1556, allocations: 8 kB / 489 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.1556, allocations: 12 kB / 489 MB, free: 6.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001083/0.1567, allocations: 260.7 kB / 489.2 MB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004385/0.1571, allocations: 131.8 kB / 489.3 MB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009945/0.1581, allocations: 0.8568 MB / 490.2 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005337/0.1587, allocations: 27.98 kB / 490.2 MB, free: 4.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.344e-05/0.1588, allocations: 36 kB / 490.3 MB, free: 4.695 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.0003446/0.1591, allocations: 250.1 kB / 490.5 MB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.1592, allocations: 63.25 kB / 490.6 MB, free: 4.379 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001296/0.1605, allocations: 0.7115 MB / 491.3 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.1606, allocations: 4 kB / 491.3 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.1606, allocations: 0 / 491.3 MB, free: 3.656 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.1606, allocations: 8.016 kB / 491.3 MB, free: 3.648 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002248/0.1628, allocations: 1.407 MB / 492.7 MB, free: 2.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.1629, allocations: 7.938 kB / 492.7 MB, free: 2.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009418/0.1638, allocations: 196 kB / 492.9 MB, free: 1.957 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002378/0.1641, allocations: 52.78 kB / 493 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.853e-05/0.1641, allocations: 16 kB / 493 MB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002413/0.1665, allocations: 2.979 MB / 495.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.1666, allocations: 7.969 kB / 496 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.1681, allocations: 0.997 MB / 497 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003502/0.1685, allocations: 196.2 kB / 497.1 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.842e-05/0.1685, allocations: 15.94 kB / 497.2 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003782/0.1689, allocations: 19.98 kB / 497.2 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.169, allocations: 39.95 kB / 497.2 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/0.1691, allocations: 19.98 kB / 497.2 MB, free: 13.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005037/0.1696, allocations: 427 kB / 497.7 MB, free: 12.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1696, allocations: 3.938 kB / 497.7 MB, free: 12.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008031/0.1704, allocations: 203.9 kB / 497.9 MB, free: 12.67 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.0004871/0.1709, allocations: 232.5 kB / 498.1 MB, free: 12.44 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.1721, allocations: 0.6164 MB / 498.7 MB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.1722, allocations: 4 kB / 498.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00111/0.1733, allocations: 482.2 kB / 499.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.1748, allocations: 364 kB / 499.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.1769, allocations: 1.404 MB / 0.4892 GB, free: 9.531 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005096/0.1774, allocations: 0.9385 MB / 0.4901 GB, free: 8.562 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006479/0.1781, allocations: 207.7 kB / 0.4903 GB, free: 8.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.1783, allocations: 63.42 kB / 0.4904 GB, free: 8.312 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1783, allocations: 4 kB / 0.4904 GB, free: 8.309 MB / 382.1 MB Notification: Performance of Templates: time 0.02412/0.2024, allocations: 15.1 MB / 0.5051 GB, free: 9.25 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 cvode -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