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.0009729/0.0009729, allocations: 84.86 kB / 21.5 MB, free: 2.988 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.001077/0.001077, allocations: 165.8 kB / 24.91 MB, free: 8.77 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 1.054/1.054, allocations: 177 MB / 205.2 MB, free: 5.082 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.2647/0.2647, allocations: 34.85 MB / 296.6 MB, free: 472 kB / 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.363e-06/1.363e-06, allocations: 0 / 325.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.379e-05, allocations: 5.406 kB / 325.9 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.01668/0.01671, allocations: 16.74 MB / 342.7 MB, free: 6.348 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01431/0.03101, allocations: 13.99 MB / 356.7 MB, free: 8.309 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006106/0.03162, allocations: 27.75 kB / 356.7 MB, free: 8.281 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007745/0.0324, allocations: 250.3 kB / 356.9 MB, free: 8.035 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01023/0.04263, allocations: 4.98 MB / 361.9 MB, free: 3.035 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003702/0.04633, allocations: 1.966 MB / 363.9 MB, free: 1.062 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002339/0.04867, allocations: 2.035 MB / 365.9 MB, free: 15.02 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000473/0.04914, allocations: 446 kB / 366.4 MB, free: 14.56 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009296/0.05844, allocations: 7.646 MB / 374 MB, free: 6.805 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00291/0.06135, allocations: 2.159 MB / 376.2 MB, free: 4.617 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.06146, allocations: 64 kB / 376.2 MB, free: 4.555 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009263/0.07072, allocations: 6.75 MB / 383 MB, free: 13.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003744/0.07109, allocations: 295.1 kB / 383.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004785/0.07157, allocations: 319.3 kB / 383.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00989/0.08146, allocations: 5.573 MB / 389.1 MB, free: 7.605 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.08147, allocations: 0 / 389.1 MB, free: 7.605 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.08147, allocations: 0 / 389.1 MB, free: 7.605 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.08148, allocations: 0 / 389.1 MB, free: 7.605 MB / 362.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.003066/0.08454, allocations: 1.513 MB / 390.7 MB, free: 6.062 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.08459, allocations: 8.031 kB / 390.7 MB, free: 6.055 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008696/0.08546, allocations: 375.7 kB / 391 MB, free: 5.688 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000543/0.086, allocations: 447.3 kB / 391.5 MB, free: 5.223 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.08611, allocations: 164.7 kB / 391.6 MB, free: 5.035 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-05/0.08618, allocations: 60.38 kB / 391.7 MB, free: 4.977 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009424/0.08712, allocations: 1.056 MB / 392.7 MB, free: 3.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.08714, allocations: 11.88 kB / 392.8 MB, free: 3.738 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.661e-05/0.08719, allocations: 28 kB / 392.8 MB, free: 3.711 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/0.08723, allocations: 40.98 kB / 392.8 MB, free: 3.672 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005479/0.08778, allocations: 397 kB / 393.2 MB, free: 3.281 MB / 362.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.002796/0.09057, allocations: 3.802 MB / 397 MB, free: 15.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00056/0.09113, allocations: 345.1 kB / 397.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.075e-05/0.09123, allocations: 77.19 kB / 397.4 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2663/0.3575, allocations: 67.32 MB / 464.7 MB, free: 91.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.3576, allocations: 41.91 kB / 464.8 MB, free: 91.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 2.354e-06/0.3576, allocations: 0 / 464.8 MB, free: 91.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.002841/0.3604, allocations: 1.26 MB / 466 MB, free: 90.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.3605, allocations: 183.9 kB / 466.2 MB, free: 90.64 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.3607, allocations: 0.4941 MB / 466.7 MB, free: 90.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.3608, allocations: 32.58 kB / 466.7 MB, free: 90.23 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.3609, allocations: 378.3 kB / 467.1 MB, free: 89.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.947e-05/0.3609, allocations: 178.7 kB / 467.3 MB, free: 89.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.3611, allocations: 156 kB / 467.4 MB, free: 89.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.545e-05/0.3611, allocations: 375.2 kB / 467.8 MB, free: 89.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.347e-05/0.3612, allocations: 69.95 kB / 467.9 MB, free: 89.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001922/0.3614, allocations: 0.5399 MB / 468.4 MB, free: 88.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003403/0.3617, allocations: 0.6107 MB / 469 MB, free: 87.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3617, allocations: 8 kB / 469 MB, free: 87.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0004425/0.3622, allocations: 0.5081 MB / 469.5 MB, free: 87.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.3622, allocations: 12 kB / 469.6 MB, free: 87.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.3622, allocations: 12 kB / 469.6 MB, free: 87.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.3635, allocations: 234.5 kB / 469.8 MB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004828/0.364, allocations: 252.3 kB / 470 MB, free: 87.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006007/0.3646, allocations: 1.797 MB / 471.8 MB, free: 85.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002381/0.3648, allocations: 31.69 kB / 471.9 MB, free: 85.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.947e-05/0.3648, allocations: 39.11 kB / 471.9 MB, free: 85.15 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 10 (fixedMassFlowRate.medium.phase,ambient.medium.phase,ambient.state.phase,shortPipe.flowModel.states[1].phase,shortPipe.flowModel.states[2].phase,volume.medium.phase,volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 95 * 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.0001541/0.365, allocations: 179 kB / 472.1 MB, free: 85.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.407e-05/0.3651, allocations: 54.62 kB / 472.1 MB, free: 84.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006665/0.3657, allocations: 1.21 MB / 473.3 MB, free: 83.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.3657, allocations: 22.53 kB / 473.4 MB, free: 83.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.3657, allocations: 7.984 kB / 473.4 MB, free: 83.87 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3658, allocations: 3.938 kB / 473.4 MB, free: 83.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001049/0.3668, allocations: 1.454 MB / 474.8 MB, free: 82.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3668, allocations: 2.344 kB / 474.8 MB, free: 82.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000347/0.3671, allocations: 161 kB / 475 MB, free: 82.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006427/0.3678, allocations: 253.2 kB / 475.2 MB, free: 82.28 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.3678, allocations: 10.94 kB / 475.3 MB, free: 82.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004933/0.3683, allocations: 1.789 MB / 477 MB, free: 80.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3683, allocations: 0 / 477 MB, free: 80.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005566/0.3689, allocations: 1.09 MB / 478.1 MB, free: 79.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.369, allocations: 120.9 kB / 478.2 MB, free: 79.25 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.369, allocations: 32.84 kB / 478.3 MB, free: 79.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.3692, allocations: 10.44 kB / 478.3 MB, free: 79.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.3692, allocations: 34.75 kB / 478.3 MB, free: 79.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.3693, allocations: 15.8 kB / 478.3 MB, free: 79.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001596/0.3694, allocations: 293.3 kB / 478.6 MB, free: 78.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3694, allocations: 0 / 478.6 MB, free: 78.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00204/0.3715, allocations: 1.101 MB / 479.7 MB, free: 77.91 MB / 410.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.002444/0.3739, allocations: 1.366 MB / 481.1 MB, free: 76.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000699/0.3746, allocations: 0.4895 MB / 481.6 MB, free: 76.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.009e-05/0.3746, allocations: 12.5 kB / 481.6 MB, free: 76.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003854/0.375, allocations: 325.9 kB / 481.9 MB, free: 75.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009302/0.3759, allocations: 365.2 kB / 482.3 MB, free: 75.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.378, allocations: 1.789 MB / 484.1 MB, free: 74.02 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.3781, allocations: 236.4 kB / 484.3 MB, free: 73.77 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003478/0.3784, allocations: 259.7 kB / 484.5 MB, free: 73.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/0.3788, allocations: 290.5 kB / 484.8 MB, free: 73.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.533e-06/0.3788, allocations: 0 / 484.8 MB, free: 73.25 MB / 410.7 MB Notification: Performance of Templates: time 0.04082/0.4196, allocations: 49.48 MB / 0.5218 GB, free: 24.41 MB / 410.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.054027181118727]