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.0008624/0.0008624, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003556/0.003556, allocations: 158 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8943/0.8943, allocations: 177 MB / 204.9 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2357/0.2357, allocations: 34.25 MB / 295.6 MB, free: 0.6875 MB / 266.7 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.253e-06/1.253e-06, allocations: 0 / 443.4 MB, free: 1.047 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.967e-05, allocations: 6.219 kB / 443.4 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.199/0.199, allocations: 35.63 MB / 479.1 MB, free: 21.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01644/0.2155, allocations: 18.03 MB / 497.1 MB, free: 9.703 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000609/0.2161, allocations: 27.53 kB / 497.1 MB, free: 9.688 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000828/0.2169, allocations: 412.3 kB / 497.5 MB, free: 9.477 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01061/0.2275, allocations: 5.197 MB / 0.491 GB, free: 7.227 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005869/0.2334, allocations: 2.602 MB / 0.4935 GB, free: 5.883 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002018/0.2354, allocations: 2.006 MB / 0.4955 GB, free: 4.945 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005838/0.236, allocations: 413.2 kB / 0.4958 GB, free: 4.75 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005608/0.2416, allocations: 4.412 MB / 0.5002 GB, free: 2.754 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006236/0.2478, allocations: 5.439 MB / 0.5055 GB, free: 364 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001457/0.248, allocations: 66.09 kB / 0.5055 GB, free: 364 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01252/0.2605, allocations: 6.926 MB / 0.5123 GB, free: 13.19 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004402/0.2609, allocations: 298.1 kB / 0.5126 GB, free: 12.98 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006031/0.2615, allocations: 320.5 kB / 0.5129 GB, free: 12.84 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009743/0.2713, allocations: 6.11 MB / 0.5189 GB, free: 8.504 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.2713, allocations: 0 / 0.5189 GB, free: 8.504 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2713, allocations: 1.312 kB / 0.5189 GB, free: 8.504 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.56e-05/0.2713, allocations: 4 kB / 0.5189 GB, free: 8.5 MB / 426.7 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.003191/0.2745, allocations: 1.578 MB / 0.5204 GB, free: 6.887 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.2745, allocations: 8.031 kB / 0.5204 GB, free: 6.879 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007728/0.2753, allocations: 236.2 kB / 0.5206 GB, free: 6.648 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006241/0.2759, allocations: 0.498 MB / 0.5211 GB, free: 6.125 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.276, allocations: 160.7 kB / 0.5213 GB, free: 5.941 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.263e-05/0.2761, allocations: 64.31 kB / 0.5213 GB, free: 5.879 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.2776, allocations: 1.319 MB / 0.5226 GB, free: 4.395 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.2776, allocations: 7.875 kB / 0.5226 GB, free: 4.387 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.849e-05/0.2776, allocations: 32 kB / 0.5227 GB, free: 4.355 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/0.2777, allocations: 44.91 kB / 0.5227 GB, free: 4.309 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009439/0.2786, allocations: 0.8155 MB / 0.5235 GB, free: 3.492 MB / 426.7 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.003144/0.2818, allocations: 4.477 MB / 0.5279 GB, free: 14.85 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007186/0.2825, allocations: 0.5256 MB / 0.5284 GB, free: 14.3 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.2827, allocations: 202.5 kB / 0.5286 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04282/0.3255, allocations: 26.1 MB / 0.5541 GB, free: 3.969 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.185e-05/0.3256, allocations: 42.5 kB / 0.5541 GB, free: 3.918 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 3.466e-06/0.3256, allocations: 3.984 kB / 0.5541 GB, free: 3.914 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.003862/0.3294, allocations: 2.066 MB / 0.5561 GB, free: 1.805 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/0.3295, allocations: 183.9 kB / 0.5563 GB, free: 1.582 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000476/0.33, allocations: 0.5612 MB / 0.5568 GB, free: 1.008 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.33, allocations: 33.7 kB / 0.5569 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.3302, allocations: 415.9 kB / 0.5573 GB, free: 0.5586 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.066e-05/0.3303, allocations: 178.5 kB / 0.5574 GB, free: 392 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.3304, allocations: 150.6 kB / 0.5576 GB, free: 236 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004086/0.3308, allocations: 374.7 kB / 0.5579 GB, free: 15.86 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002519/0.3311, allocations: 229.9 kB / 0.5582 GB, free: 15.63 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004271/0.3315, allocations: 0.6727 MB / 0.5588 GB, free: 14.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006856/0.3322, allocations: 0.864 MB / 0.5597 GB, free: 13.75 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3322, allocations: 7.375 kB / 0.5597 GB, free: 13.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0008915/0.3331, allocations: 0.8899 MB / 0.5605 GB, free: 12.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3331, allocations: 12 kB / 0.5606 GB, free: 12.83 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.058e-05/0.3331, allocations: 12 kB / 0.5606 GB, free: 12.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001469/0.3346, allocations: 264.5 kB / 0.5608 GB, free: 12.56 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005939/0.3352, allocations: 283.5 kB / 0.5611 GB, free: 12.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.3363, allocations: 1.987 MB / 0.563 GB, free: 10.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.3365, allocations: 31.98 kB / 0.5631 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.77e-05/0.3366, allocations: 48.22 kB / 0.5631 GB, free: 10.09 MB / 474.7 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.0002656/0.3368, allocations: 277.3 kB / 0.5634 GB, free: 9.812 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.692e-05/0.3369, allocations: 67.58 kB / 0.5634 GB, free: 9.746 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.3387, allocations: 2.101 MB / 0.5655 GB, free: 7.641 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/0.3387, allocations: 19.97 kB / 0.5655 GB, free: 7.621 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3387, allocations: 5.312 kB / 0.5655 GB, free: 7.617 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.3387, allocations: 8.078 kB / 0.5655 GB, free: 7.609 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/0.3408, allocations: 2.81 MB / 0.5683 GB, free: 4.75 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.3408, allocations: 0 / 0.5683 GB, free: 4.75 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004294/0.3412, allocations: 183.8 kB / 0.5684 GB, free: 4.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007696/0.342, allocations: 312.4 kB / 0.5687 GB, free: 4.262 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.342, allocations: 15.94 kB / 0.5688 GB, free: 4.246 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009997/0.343, allocations: 2.064 MB / 0.5708 GB, free: 2.062 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.343, allocations: 0 / 0.5708 GB, free: 2.062 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.3446, allocations: 1.986 MB / 0.5727 GB, free: 60 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/0.3447, allocations: 143.2 kB / 0.5728 GB, free: 15.92 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/0.3448, allocations: 31.78 kB / 0.5729 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001959/0.345, allocations: 16.22 kB / 0.5729 GB, free: 15.87 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/0.345, allocations: 36.38 kB / 0.5729 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.3451, allocations: 23.92 kB / 0.5729 GB, free: 15.81 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003911/0.3455, allocations: 0.5068 MB / 0.5734 GB, free: 15.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3455, allocations: 0 / 0.5734 GB, free: 15.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002944/0.3484, allocations: 1.1 MB / 0.5745 GB, free: 14.2 MB / 490.7 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.002788/0.3512, allocations: 1.331 MB / 0.5758 GB, free: 12.86 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.3523, allocations: 0.9059 MB / 0.5767 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.3523, allocations: 4 kB / 0.5767 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006217/0.3529, allocations: 0.5895 MB / 0.5773 GB, free: 11.37 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009277/0.3539, allocations: 324.6 kB / 0.5776 GB, free: 11.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.3562, allocations: 2.119 MB / 0.5797 GB, free: 8.906 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.3565, allocations: 499.9 kB / 0.5801 GB, free: 8.391 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.3566, allocations: 68.48 kB / 0.5802 GB, free: 8.324 MB / 490.7 MB Notification: Performance of SimCode: time 6.62e-07/0.3566, allocations: 4 kB / 0.5802 GB, free: 8.32 MB / 490.7 MB Notification: Performance of Templates: time 0.03425/0.3909, allocations: 37.11 MB / 0.6164 GB, free: 3.246 MB / 0.5105 GB " [Timeout remaining time 660] 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.390078409574926]