Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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) 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(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.00187/0.001871, allocations: 184.1 kB / 18.66 MB, free: 4.434 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.463/1.463, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.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.001101/0.001101, allocations: 55.91 kB / 328.6 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09431/0.09542, allocations: 46.62 MB / 375.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.2412/0.3367, allocations: 32.56 MB / 407.7 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02289/0.3596, allocations: 15.74 MB / 423.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008892/0.3606, allocations: 8.219 kB / 423.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001457/0.3621, allocations: 267 kB / 423.8 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.3637, allocations: 361.1 kB / 424.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02024/0.3839, allocations: 5.785 MB / 429.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001623/0.3856, allocations: 0.9758 MB / 430.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002821/0.3859, allocations: 111.9 kB / 431 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006052/0.392, allocations: 2.183 MB / 433.2 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007264/0.3927, allocations: 294.9 kB / 433.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.3929, allocations: 36 kB / 433.5 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00842/0.4013, allocations: 3.613 MB / 437.1 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002616/0.4016, allocations: 103.7 kB / 437.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000451/0.4021, allocations: 219.1 kB / 437.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006064/0.4081, allocations: 2.358 MB / 439.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.4082, allocations: 0 / 439.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4082, allocations: 0 / 439.8 MB, free: 14.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.4082, allocations: 4 kB / 439.8 MB, free: 14.95 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002027/0.4102, allocations: 0.8328 MB / 440.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.255e-05/0.4103, allocations: 15.89 kB / 440.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008069/0.4111, allocations: 89.39 kB / 440.7 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00053/0.4117, allocations: 311.7 kB / 441 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.4117, allocations: 25.03 kB / 441 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.813e-05/0.4118, allocations: 32.56 kB / 441.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008749/0.4127, allocations: 454.1 kB / 441.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.4127, allocations: 4 kB / 441.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.4127, allocations: 12 kB / 441.5 MB, free: 13.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.4128, allocations: 8 kB / 441.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006342/0.4134, allocations: 319.9 kB / 441.9 MB, free: 12.75 MB / 366.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.003234/0.4166, allocations: 2.626 MB / 444.5 MB, free: 9.875 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005654/0.4172, allocations: 247.2 kB / 444.7 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.4174, allocations: 116.8 kB / 444.8 MB, free: 9.508 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03269/0.4501, allocations: 15.54 MB / 460.4 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.4502, allocations: 30.56 kB / 460.4 MB, free: 8.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 2.034e-06/0.4502, allocations: 3.938 kB / 460.4 MB, free: 8.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.005559/0.4558, allocations: 1.312 MB / 461.7 MB, free: 6.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.4558, allocations: 59.41 kB / 461.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003046/0.4561, allocations: 270.6 kB / 462 MB, free: 6.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.4562, allocations: 33.7 kB / 462.1 MB, free: 6.363 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.4563, allocations: 200.4 kB / 462.3 MB, free: 6.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.387e-05/0.4564, allocations: 103.1 kB / 462.4 MB, free: 6.059 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.4565, allocations: 86.08 kB / 462.5 MB, free: 5.969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.4566, allocations: 330.8 kB / 462.8 MB, free: 5.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.4568, allocations: 108.8 kB / 462.9 MB, free: 5.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002636/0.4571, allocations: 219.5 kB / 463.1 MB, free: 5.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000464/0.4576, allocations: 362.2 kB / 463.5 MB, free: 4.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4576, allocations: 0 / 463.5 MB, free: 4.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007782/0.4584, allocations: 451 kB / 463.9 MB, free: 4.402 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4584, allocations: 4 kB / 463.9 MB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.4584, allocations: 4 kB / 463.9 MB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002973/0.4614, allocations: 261.4 kB / 464.2 MB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.4617, allocations: 83.84 kB / 464.2 MB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.4633, allocations: 1.978 MB / 466.2 MB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.4635, allocations: 8 kB / 466.2 MB, free: 1.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.053e-05/0.4635, allocations: 23.94 kB / 466.2 MB, free: 1.875 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000192/0.4637, allocations: 165.7 kB / 466.4 MB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.481e-05/0.4638, allocations: 31.75 kB / 466.4 MB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.4649, allocations: 0.939 MB / 467.4 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.4649, allocations: 11.98 kB / 467.4 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.4649, allocations: 0 / 467.4 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001053/0.466, allocations: 1.118 MB / 468.5 MB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/0.468, allocations: 1.588 MB / 470.1 MB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.468, allocations: 0 / 470.1 MB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002147/0.4682, allocations: 55.91 kB / 470.2 MB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001571/0.4698, allocations: 280 kB / 470.4 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.97e-05/0.4699, allocations: 12.05 kB / 470.4 MB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005487/0.4704, allocations: 0.6732 MB / 471.1 MB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4704, allocations: 0 / 471.1 MB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.4716, allocations: 0.954 MB / 472.1 MB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001284/0.4717, allocations: 124.7 kB / 472.2 MB, free: 11.69 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.237e-05/0.4718, allocations: 11.95 kB / 472.2 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.472, allocations: 4 kB / 472.2 MB, free: 11.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.685e-05/0.472, allocations: 15.97 kB / 472.2 MB, free: 11.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.4721, allocations: 15.98 kB / 472.2 MB, free: 11.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002821/0.4723, allocations: 239.1 kB / 472.5 MB, free: 11.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4724, allocations: 0 / 472.5 MB, free: 11.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001748/0.4741, allocations: 0.4995 MB / 473 MB, free: 10.91 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002191/0.4763, allocations: 0.515 MB / 473.5 MB, free: 10.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001009/0.4773, allocations: 0.5149 MB / 474 MB, free: 9.855 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.4774, allocations: 7.938 kB / 474 MB, free: 9.848 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004864/0.4778, allocations: 298.2 kB / 474.3 MB, free: 9.555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.479, allocations: 202.5 kB / 474.5 MB, free: 9.359 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001631/0.4806, allocations: 1.012 MB / 475.5 MB, free: 8.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00039/0.481, allocations: 0.8204 MB / 476.3 MB, free: 7.469 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002855/0.4813, allocations: 115 kB / 476.4 MB, free: 7.359 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.708e-05/0.4814, allocations: 35.42 kB / 476.5 MB, free: 7.328 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4814, allocations: 0 / 476.5 MB, free: 7.328 MB / 398.1 MB Notification: Performance of Templates: time 0.02555/0.5069, allocations: 18.9 MB / 495.4 MB, free: 4.398 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches