Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001217/0.001217, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001217/0.001217, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.035/2.035, allocations: 227.4 MB / 246.9 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4199/0.4199, allocations: 46.1 MB / 344.3 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002542/0.002542, allocations: 79.31 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2115, allocations: 62.44 MB / 479.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.5032/0.7148, allocations: 40.41 MB / 0.5082 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04343/0.7583, allocations: 21.25 MB / 0.5289 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.7605, allocations: 25.56 kB / 0.5289 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00223/0.7628, allocations: 399.1 kB / 0.5293 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0247/0.7875, allocations: 4.182 MB / 0.5334 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01206/0.7996, allocations: 2.244 MB / 0.5356 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006297/0.8059, allocations: 2.831 MB / 0.5384 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/0.8076, allocations: 415.7 kB / 0.5387 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01806/0.8257, allocations: 4.037 MB / 0.5427 GB, free: 4.266 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02163/0.8474, allocations: 5.461 MB / 0.548 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005138/0.848, allocations: 36 kB / 0.5481 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03212/0.8802, allocations: 7.135 MB / 0.555 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001098/0.8814, allocations: 243.2 kB / 0.5553 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001737/0.8831, allocations: 418 kB / 0.5557 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01356/0.8967, allocations: 3.446 MB / 0.559 GB, free: 7.453 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.591e-05/0.8968, allocations: 3.984 kB / 0.559 GB, free: 7.449 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.8968, allocations: 0 / 0.559 GB, free: 7.449 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.364e-05/0.8969, allocations: 0 / 0.559 GB, free: 7.449 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.009488/0.9064, allocations: 1.625 MB / 0.5606 GB, free: 5.773 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.611e-05/0.9065, allocations: 12.03 kB / 0.5606 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002919/0.9094, allocations: 215.8 kB / 0.5608 GB, free: 5.551 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.9114, allocations: 0.5403 MB / 0.5614 GB, free: 4.973 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002244/0.9117, allocations: 117.2 kB / 0.5615 GB, free: 4.848 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00025/0.9119, allocations: 61.25 kB / 0.5615 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00372/0.9157, allocations: 1.078 MB / 0.5626 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.598e-05/0.9157, allocations: 7.938 kB / 0.5626 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001565/0.9159, allocations: 24 kB / 0.5626 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.986e-05/0.916, allocations: 40.98 kB / 0.5626 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002948/0.919, allocations: 0.8271 MB / 0.5635 GB, free: 2.703 MB / 398.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.01088/0.9299, allocations: 5.556 MB / 0.5689 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/0.9321, allocations: 0.5308 MB / 0.5694 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005494/0.9327, allocations: 214.5 kB / 0.5696 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1553/1.088, allocations: 52.59 MB / 0.621 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.326e-05/1.088, allocations: 42.55 kB / 0.621 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 5.601e-06/1.088, allocations: 0 / 0.621 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.0119/1.1, allocations: 2.129 MB / 0.6231 GB, free: 14.53 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00015/1.1, allocations: 195.9 kB / 0.6233 GB, free: 14.29 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/1.102, allocations: 0.6329 MB / 0.6239 GB, free: 13.65 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.983e-05/1.102, allocations: 33.7 kB / 0.6239 GB, free: 13.61 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005193/1.102, allocations: 407 kB / 0.6243 GB, free: 13.21 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002408/1.103, allocations: 157.8 kB / 0.6245 GB, free: 13.05 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000389/1.103, allocations: 158.5 kB / 0.6246 GB, free: 12.89 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000242/1.103, allocations: 378.8 kB / 0.625 GB, free: 12.51 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007023/1.104, allocations: 233.9 kB / 0.6252 GB, free: 12.28 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001104/1.105, allocations: 0.586 MB / 0.6258 GB, free: 11.52 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001995/1.107, allocations: 0.8753 MB / 0.6266 GB, free: 10.48 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.67e-05/1.107, allocations: 4 kB / 0.6266 GB, free: 10.48 MB / 478.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002826/1.11, allocations: 0.8917 MB / 0.6275 GB, free: 9.578 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.206e-05/1.11, allocations: 12 kB / 0.6275 GB, free: 9.566 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/1.11, allocations: 15.92 kB / 0.6275 GB, free: 9.551 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005125/1.115, allocations: 273.3 kB / 0.6278 GB, free: 9.281 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/1.117, allocations: 279.6 kB / 0.6281 GB, free: 9.008 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002522/1.12, allocations: 2.026 MB / 0.63 GB, free: 6.832 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/1.121, allocations: 60 kB / 0.6301 GB, free: 6.773 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/1.121, allocations: 40 kB / 0.6301 GB, free: 6.734 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006933/1.122, allocations: 284.7 kB / 0.6304 GB, free: 6.449 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003662/1.122, allocations: 71.16 kB / 0.6305 GB, free: 6.379 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004082/1.126, allocations: 2.018 MB / 0.6324 GB, free: 4.344 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.915e-05/1.126, allocations: 19.97 kB / 0.6325 GB, free: 4.324 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/1.126, allocations: 0 / 0.6325 GB, free: 4.324 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/1.126, allocations: 3.984 kB / 0.6325 GB, free: 4.32 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00657/1.133, allocations: 2.994 MB / 0.6354 GB, free: 1.246 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/1.133, allocations: 4.062 kB / 0.6354 GB, free: 1.242 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/1.135, allocations: 183.8 kB / 0.6356 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002808/1.138, allocations: 307.8 kB / 0.6359 GB, free: 0.7578 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.819e-05/1.138, allocations: 11.94 kB / 0.6359 GB, free: 0.7461 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00303/1.141, allocations: 2.073 MB / 0.6379 GB, free: 14.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/1.141, allocations: 3.984 kB / 0.6379 GB, free: 14.51 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004142/1.145, allocations: 1.948 MB / 0.6398 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008386/1.146, allocations: 231.6 kB / 0.64 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000373/1.146, allocations: 31.77 kB / 0.64 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/1.147, allocations: 32.05 kB / 0.6401 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/1.147, allocations: 36.31 kB / 0.6401 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.161e-05/1.148, allocations: 16 kB / 0.6401 GB, free: 12.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001503/1.149, allocations: 0.5809 MB / 0.6407 GB, free: 11.61 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.876e-06/1.149, allocations: 0 / 0.6407 GB, free: 11.61 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006611/1.156, allocations: 1.097 MB / 0.6418 GB, free: 10.51 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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): 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.00893/1.165, allocations: 1.198 MB / 0.6429 GB, free: 9.305 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003477/1.168, allocations: 0.9052 MB / 0.6438 GB, free: 8.402 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.869e-06/1.168, allocations: 0 / 0.6438 GB, free: 8.402 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002021/1.17, allocations: 0.6399 MB / 0.6444 GB, free: 7.766 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00409/1.174, allocations: 378.2 kB / 0.6448 GB, free: 7.406 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006656/1.181, allocations: 2.581 MB / 0.6473 GB, free: 4.789 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/1.183, allocations: 1.085 MB / 0.6484 GB, free: 3.672 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003901/1.183, allocations: 71.42 kB / 0.6485 GB, free: 3.602 MB / 494.1 MB Notification: Performance of SimCode: time 2.264e-06/1.183, allocations: 0 / 0.6485 GB, free: 3.602 MB / 494.1 MB Notification: Performance of Templates: time 0.09818/1.281, allocations: 37.28 MB / 0.6849 GB, free: 14.35 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,volume.medium.T,volume.medium.p Variables in the result:time,volume.medium.T,volume.medium.p