Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.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.LinearWater_pT,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.LinearWater_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,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.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001119, allocations: 111.7 kB / 17.04 MB, free: 5.816 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.001016/0.001016, allocations: 195 kB / 17.98 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.371/1.371, 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.2012/0.2012, allocations: 43.52 MB / 314.7 MB, free: 488 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.001458/0.001458, allocations: 67.17 kB / 384.2 MB, free: 56.38 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09208/0.09355, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.04305/0.1367, allocations: 43.94 MB / 485.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005915/0.1426, allocations: 4.374 MB / 490.3 MB, free: 5.664 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006064/0.1432, allocations: 19.88 kB / 490.3 MB, free: 5.645 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008852/0.1441, allocations: 318 kB / 490.6 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.146, allocations: 0.8511 MB / 491.5 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.1481, allocations: 0.8954 MB / 492.4 MB, free: 3.586 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001853/0.1499, allocations: 1.786 MB / 494.2 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006002/0.1506, allocations: 457.4 kB / 494.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1012/0.2518, allocations: 44.51 MB / 0.5265 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2285/0.4803, allocations: 7.944 MB / 0.5342 GB, free: 47.54 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002062/0.4805, allocations: 59.91 kB / 0.5343 GB, free: 47.54 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02358/0.5041, allocations: 10.68 MB / 0.5447 GB, free: 44.19 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007231/0.5049, allocations: 256.3 kB / 0.545 GB, free: 44.19 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008125/0.5057, allocations: 390 kB / 0.5453 GB, free: 44.19 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.5074, allocations: 1.085 MB / 0.5464 GB, free: 44.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5074, allocations: 0 / 0.5464 GB, free: 44.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5074, allocations: 0 / 0.5464 GB, free: 44.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.131e-05/0.5074, allocations: 4 kB / 0.5464 GB, free: 44.16 MB / 414.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.002008/0.5094, allocations: 1.046 MB / 0.5474 GB, free: 43.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.5095, allocations: 13.48 kB / 0.5474 GB, free: 43.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003432/0.5098, allocations: 88.48 kB / 0.5475 GB, free: 43.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008418/0.5107, allocations: 0.5333 MB / 0.548 GB, free: 43.36 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-05/0.5108, allocations: 105.8 kB / 0.5481 GB, free: 43.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.671e-05/0.5109, allocations: 52.8 kB / 0.5482 GB, free: 43.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.5122, allocations: 0.8169 MB / 0.549 GB, free: 43.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.5123, allocations: 1.188 kB / 0.549 GB, free: 43.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.168e-05/0.5123, allocations: 28.55 kB / 0.549 GB, free: 43.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.852e-05/0.5124, allocations: 41.58 kB / 0.5491 GB, free: 43.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.5135, allocations: 0.6425 MB / 0.5497 GB, free: 43.07 MB / 414.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.00399/0.5175, allocations: 4.21 MB / 0.5538 GB, free: 40.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007482/0.5182, allocations: 425.3 kB / 0.5542 GB, free: 40.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.5185, allocations: 205.8 kB / 0.5544 GB, free: 40.24 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000336/0.5189, allocations: 0.5023 MB / 0.5549 GB, free: 39.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.5189, allocations: 39.45 kB / 0.5549 GB, free: 39.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 1.794e-06/0.5189, allocations: 0 / 0.5549 GB, free: 39.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.002727/0.5216, allocations: 1.523 MB / 0.5564 GB, free: 39.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.5217, allocations: 135.1 kB / 0.5565 GB, free: 39.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000521/0.5222, allocations: 0.5708 MB / 0.5571 GB, free: 38.94 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.938e-05/0.5223, allocations: 36.23 kB / 0.5571 GB, free: 38.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/0.5224, allocations: 351.9 kB / 0.5575 GB, free: 38.72 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.087e-05/0.5225, allocations: 164.2 kB / 0.5576 GB, free: 38.62 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.5227, allocations: 146.4 kB / 0.5578 GB, free: 38.6 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.825e-05/0.5228, allocations: 378 kB / 0.5581 GB, free: 38.28 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.5231, allocations: 223.1 kB / 0.5583 GB, free: 38.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000407/0.5235, allocations: 0.5193 MB / 0.5589 GB, free: 37.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007592/0.5243, allocations: 0.7763 MB / 0.5596 GB, free: 37.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5243, allocations: 2.938 kB / 0.5596 GB, free: 37.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001504/0.5258, allocations: 0.9452 MB / 0.5605 GB, free: 37.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.5258, allocations: 10.16 kB / 0.5605 GB, free: 37.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.5258, allocations: 7.125 kB / 0.5606 GB, free: 37.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009771/0.5268, allocations: 262.8 kB / 0.5608 GB, free: 37.45 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000377/0.5272, allocations: 132.2 kB / 0.5609 GB, free: 37.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007138/0.5279, allocations: 0.86 MB / 0.5618 GB, free: 36.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/0.5284, allocations: 27.62 kB / 0.5618 GB, free: 36.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/0.5284, allocations: 39.58 kB / 0.5618 GB, free: 36.92 MB / 414.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.0002454/0.5287, allocations: 243.4 kB / 0.5621 GB, free: 36.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.543e-05/0.5288, allocations: 67.91 kB / 0.5621 GB, free: 36.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.5299, allocations: 0.7205 MB / 0.5628 GB, free: 36.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.53, allocations: 6.078 kB / 0.5628 GB, free: 36.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.53, allocations: 5.234 kB / 0.5628 GB, free: 36.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.53, allocations: 5.719 kB / 0.5629 GB, free: 36.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.5317, allocations: 1.4 MB / 0.5642 GB, free: 36.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.5317, allocations: 10.66 kB / 0.5642 GB, free: 36.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008666/0.5326, allocations: 193.2 kB / 0.5644 GB, free: 36.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002046/0.5328, allocations: 52.7 kB / 0.5645 GB, free: 36.28 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/0.5329, allocations: 16.8 kB / 0.5645 GB, free: 36.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001507/0.5344, allocations: 2.978 MB / 0.5674 GB, free: 33.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.5344, allocations: 8.672 kB / 0.5674 GB, free: 33.51 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001191/0.5356, allocations: 0.9973 MB / 0.5684 GB, free: 33.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002722/0.5359, allocations: 198.2 kB / 0.5686 GB, free: 33.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.582e-05/0.536, allocations: 15.53 kB / 0.5686 GB, free: 33.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.5363, allocations: 14.73 kB / 0.5686 GB, free: 33.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.719e-05/0.5364, allocations: 48.58 kB / 0.5686 GB, free: 33.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.131e-05/0.5365, allocations: 20.06 kB / 0.5687 GB, free: 33.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003876/0.5369, allocations: 421.1 kB / 0.5691 GB, free: 33.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5369, allocations: 0 / 0.5691 GB, free: 33.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007081/0.5376, allocations: 206.1 kB / 0.5693 GB, free: 33.02 MB / 414.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.0003994/0.538, allocations: 229.8 kB / 0.5695 GB, free: 32.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009639/0.539, allocations: 0.6098 MB / 0.5701 GB, free: 32.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.539, allocations: 0 / 0.5701 GB, free: 32.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009807/0.54, allocations: 491.6 kB / 0.5705 GB, free: 32.78 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.5413, allocations: 380.5 kB / 0.5709 GB, free: 32.74 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001678/0.543, allocations: 1.391 MB / 0.5723 GB, free: 32.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/0.5433, allocations: 0.9382 MB / 0.5732 GB, free: 31.44 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005523/0.5439, allocations: 209.4 kB / 0.5734 GB, free: 31.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.544, allocations: 61.25 kB / 0.5734 GB, free: 31.41 MB / 414.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5441, allocations: 0 / 0.5734 GB, free: 31.41 MB / 414.1 MB Notification: Performance of Templates: time 0.01826/0.5623, allocations: 15.11 MB / 0.5882 GB, free: 18.04 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearWater_pT/LinearWater_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches