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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001744/0.001744, allocations: 89.14 kB / 20.68 MB, free: 1.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002073/0.002073, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 177 MB / 204.1 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2121/0.2121, allocations: 34.27 MB / 294.8 MB, free: 14.51 MB / 286.1 MB " [Timeout remaining time 180] 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=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 442.7 MB, free: 5.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.745e-05/2.872e-05, allocations: 4.812 kB / 442.7 MB, free: 5.27 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.2582/0.2583, allocations: 35.64 MB / 478.3 MB, free: 13.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02782/0.2861, allocations: 18.03 MB / 496.3 MB, free: 15.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008791/0.287, allocations: 26.56 kB / 496.4 MB, free: 15.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.2883, allocations: 418.5 kB / 496.8 MB, free: 15.52 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01648/0.3048, allocations: 5.202 MB / 0.4902 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008513/0.3133, allocations: 2.595 MB / 0.4928 GB, free: 8.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003278/0.3165, allocations: 2.015 MB / 0.4947 GB, free: 6.246 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007709/0.3173, allocations: 402.5 kB / 0.4951 GB, free: 5.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01118/0.3285, allocations: 4.414 MB / 0.4994 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01308/0.3416, allocations: 5.425 MB / 0.5047 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002737/0.3419, allocations: 68 kB / 0.5048 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01539/0.3572, allocations: 6.937 MB / 0.5115 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005358/0.3578, allocations: 296 kB / 0.5118 GB, free: 4.559 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000673/0.3585, allocations: 307.4 kB / 0.5121 GB, free: 4.258 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01483/0.3733, allocations: 6.115 MB / 0.5181 GB, free: 14.13 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.3733, allocations: 4 kB / 0.5181 GB, free: 14.12 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3733, allocations: 0 / 0.5181 GB, free: 14.12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.3733, allocations: 0 / 0.5181 GB, free: 14.12 MB / 430.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.004825/0.3781, allocations: 1.585 MB / 0.5196 GB, free: 12.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3782, allocations: 12.03 kB / 0.5197 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001615/0.3798, allocations: 220.2 kB / 0.5199 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.3809, allocations: 0.5077 MB / 0.5204 GB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.3811, allocations: 160.7 kB / 0.5205 GB, free: 11.56 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.3812, allocations: 68.31 kB / 0.5206 GB, free: 11.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/0.3835, allocations: 1.323 MB / 0.5219 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.3835, allocations: 4 kB / 0.5219 GB, free: 10 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.961e-05/0.3836, allocations: 35.94 kB / 0.5219 GB, free: 9.969 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.866e-05/0.3837, allocations: 44.92 kB / 0.522 GB, free: 9.926 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001932/0.3856, allocations: 0.8116 MB / 0.5227 GB, free: 9.113 MB / 430.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.007264/0.3929, allocations: 4.479 MB / 0.5271 GB, free: 4.473 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.3951, allocations: 0.521 MB / 0.5276 GB, free: 3.926 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005364/0.3956, allocations: 202.5 kB / 0.5278 GB, free: 3.719 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09995/0.4955, allocations: 26.11 MB / 0.5533 GB, free: 9.574 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.459e-05/0.4956, allocations: 42.5 kB / 0.5534 GB, free: 9.523 MB / 462.1 MB Notification: Performance of pre-optimization done (n=39): time 2.494e-06/0.4956, allocations: 0 / 0.5534 GB, free: 9.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.007086/0.5027, allocations: 2.059 MB / 0.5554 GB, free: 7.422 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.5028, allocations: 187.9 kB / 0.5556 GB, free: 7.195 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007989/0.5036, allocations: 0.5611 MB / 0.5561 GB, free: 6.621 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.347e-05/0.5037, allocations: 37.64 kB / 0.5561 GB, free: 6.578 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003438/0.504, allocations: 416 kB / 0.5565 GB, free: 6.168 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001788/0.5042, allocations: 170.5 kB / 0.5567 GB, free: 6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/0.5045, allocations: 162.6 kB / 0.5569 GB, free: 5.836 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002313/0.5047, allocations: 374.7 kB / 0.5572 GB, free: 5.461 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004411/0.5052, allocations: 233.8 kB / 0.5574 GB, free: 5.234 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008767/0.506, allocations: 0.6572 MB / 0.5581 GB, free: 4.391 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.5074, allocations: 0.8764 MB / 0.5589 GB, free: 3.352 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.5074, allocations: 4 kB / 0.5589 GB, free: 3.348 MB / 462.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001715/0.5091, allocations: 0.8855 MB / 0.5598 GB, free: 2.453 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.5091, allocations: 10.81 kB / 0.5598 GB, free: 2.445 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.5091, allocations: 12 kB / 0.5598 GB, free: 2.434 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003569/0.5127, allocations: 272.5 kB / 0.5601 GB, free: 2.164 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.514, allocations: 287.8 kB / 0.5604 GB, free: 1.883 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.5162, allocations: 1.984 MB / 0.5623 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005706/0.5168, allocations: 36.05 kB / 0.5623 GB, free: 15.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.068e-05/0.5168, allocations: 42.25 kB / 0.5624 GB, free: 15.7 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.0004552/0.5173, allocations: 277.4 kB / 0.5626 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.5175, allocations: 67.58 kB / 0.5627 GB, free: 15.35 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002732/0.5202, allocations: 2.105 MB / 0.5648 GB, free: 13.24 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-05/0.5202, allocations: 28.03 kB / 0.5648 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.5202, allocations: 0 / 0.5648 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.307e-06/0.5202, allocations: 3.984 kB / 0.5648 GB, free: 13.21 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003881/0.5241, allocations: 2.806 MB / 0.5675 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.5241, allocations: 4 kB / 0.5675 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.5252, allocations: 183.8 kB / 0.5677 GB, free: 10.18 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001912/0.5271, allocations: 312.3 kB / 0.568 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/0.5271, allocations: 11.62 kB / 0.568 GB, free: 9.859 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.5292, allocations: 2.062 MB / 0.57 GB, free: 7.672 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5292, allocations: 0 / 0.57 GB, free: 7.672 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002612/0.5318, allocations: 1.986 MB / 0.572 GB, free: 5.668 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/0.5321, allocations: 151.3 kB / 0.5721 GB, free: 5.52 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.5323, allocations: 31.84 kB / 0.5721 GB, free: 5.488 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004122/0.5327, allocations: 12 kB / 0.5722 GB, free: 5.477 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.852e-05/0.5328, allocations: 32.44 kB / 0.5722 GB, free: 5.445 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/0.5328, allocations: 19.98 kB / 0.5722 GB, free: 5.426 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007461/0.5336, allocations: 0.5107 MB / 0.5727 GB, free: 4.914 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5336, allocations: 0 / 0.5727 GB, free: 4.914 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003184/0.5367, allocations: 1.1 MB / 0.5738 GB, free: 3.812 MB / 478.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.004413/0.5411, allocations: 1.332 MB / 0.5751 GB, free: 2.465 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00223/0.5434, allocations: 0.9095 MB / 0.576 GB, free: 1.559 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5434, allocations: 3.938 kB / 0.576 GB, free: 1.555 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001392/0.5448, allocations: 0.6093 MB / 0.5766 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/0.5467, allocations: 329.7 kB / 0.5769 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003282/0.55, allocations: 2.074 MB / 0.5789 GB, free: 14.52 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005503/0.5506, allocations: 0.4999 MB / 0.5794 GB, free: 14 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007231/0.5513, allocations: 329.5 kB / 0.5797 GB, free: 13.67 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.5514, allocations: 60.5 kB / 0.5798 GB, free: 13.61 MB / 494.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5514, allocations: 0 / 0.5798 GB, free: 13.61 MB / 494.1 MB Notification: Performance of Templates: time 0.06932/0.6207, allocations: 44.14 MB / 0.6229 GB, free: 1.672 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_pT/WaterIF97_pT.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.337440576404333]