Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007765/0.0007765, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001086/0.001862, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007795/0.0007795, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009325/0.001712, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9739/0.9739, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09284/1.067, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.243/0.243, allocations: 34.25 MB / 278.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02616/0.2691, allocations: 13.1 MB / 291.3 MB, free: 7.363 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 292.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.528e-05/2.703e-05, allocations: 5.438 kB / 292.6 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1805/0.1805, allocations: 149.5 MB / 442.1 MB, free: 252 kB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.193/0.3735, allocations: 2.642 MB / 444.7 MB, free: 3.668 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000484/0.374, allocations: 33.94 kB / 444.8 MB, free: 3.668 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004709/0.3745, allocations: 213.5 kB / 445 MB, free: 3.664 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002246/0.3767, allocations: 1.144 MB / 446.1 MB, free: 3.617 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001598/0.3783, allocations: 0.8045 MB / 446.9 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001948/0.3803, allocations: 1.925 MB / 448.9 MB, free: 3.602 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005147/0.3808, allocations: 424.2 kB / 449.3 MB, free: 3.574 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001643/0.3824, allocations: 1.269 MB / 450.5 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006234/0.3831, allocations: 0.5567 MB / 451.1 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 8.671e-05/0.3831, allocations: 61 kB / 451.2 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008037/0.3839, allocations: 482.9 kB / 451.6 MB, free: 3.543 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.3842, allocations: 239.3 kB / 451.9 MB, free: 3.543 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002887/0.3844, allocations: 227.5 kB / 452.1 MB, free: 3.539 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009423/0.3854, allocations: 0.8743 MB / 453 MB, free: 3.43 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.253e-05/0.3854, allocations: 0.9062 kB / 453 MB, free: 3.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3854, allocations: 0 / 453 MB, free: 3.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.3854, allocations: 0 / 453 MB, free: 3.43 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001592/0.387, allocations: 1.249 MB / 454.2 MB, free: 18.83 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.862e-05/0.387, allocations: 10.62 kB / 454.2 MB, free: 18.83 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006047/0.3876, allocations: 201.1 kB / 454.4 MB, free: 18.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005338/0.3882, allocations: 416.8 kB / 454.8 MB, free: 18.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-05/0.3883, allocations: 159.2 kB / 455 MB, free: 18.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-05/0.3883, allocations: 64.03 kB / 455 MB, free: 18.47 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/0.389, allocations: 0.8824 MB / 455.9 MB, free: 17.83 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.389, allocations: 3.188 kB / 455.9 MB, free: 17.83 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.976e-05/0.3891, allocations: 27.12 kB / 455.9 MB, free: 17.83 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.287e-05/0.3891, allocations: 38.98 kB / 456 MB, free: 17.83 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000326/0.3894, allocations: 232.5 kB / 456.2 MB, free: 17.81 MB / 442.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.002167/0.3916, allocations: 2.648 MB / 458.9 MB, free: 15.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.3918, allocations: 171.1 kB / 459 MB, free: 15.89 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.895e-05/0.3919, allocations: 64.75 kB / 459.1 MB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.392, allocations: 40.48 kB / 459.1 MB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.3921, allocations: 44.94 kB / 459.2 MB, free: 15.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 1.733e-06/0.3921, allocations: 0.9375 kB / 459.2 MB, free: 15.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.002384/0.3944, allocations: 0.9044 MB / 460.1 MB, free: 15.51 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.3945, allocations: 61.88 kB / 460.1 MB, free: 15.45 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003241/0.3948, allocations: 480.7 kB / 460.6 MB, free: 15.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.3948, allocations: 36.64 kB / 460.6 MB, free: 15.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.395, allocations: 339.5 kB / 461 MB, free: 15.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.198e-05/0.3951, allocations: 155.2 kB / 461.1 MB, free: 14.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.3952, allocations: 140.8 kB / 461.3 MB, free: 14.93 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.3953, allocations: 378.3 kB / 461.6 MB, free: 14.61 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.3954, allocations: 61.11 kB / 461.7 MB, free: 14.61 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.3957, allocations: 497.6 kB / 462.2 MB, free: 14.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.3961, allocations: 0.528 MB / 462.7 MB, free: 13.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.3961, allocations: 5.938 kB / 462.7 MB, free: 13.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005241/0.3966, allocations: 498.3 kB / 463.2 MB, free: 13.67 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3966, allocations: 7.969 kB / 463.2 MB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3967, allocations: 13.09 kB / 463.2 MB, free: 13.67 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005853/0.3972, allocations: 220 kB / 463.4 MB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002953/0.3975, allocations: 148.9 kB / 463.6 MB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004996/0.398, allocations: 0.6744 MB / 464.3 MB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.3983, allocations: 25.69 kB / 464.3 MB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-05/0.3984, allocations: 50.39 kB / 464.3 MB, free: 13.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000162/0.3985, allocations: 165.8 kB / 464.5 MB, free: 13 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.946e-05/0.3986, allocations: 50.2 kB / 464.5 MB, free: 13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007321/0.3994, allocations: 0.5693 MB / 465.1 MB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.3994, allocations: 10.09 kB / 465.1 MB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.3994, allocations: 0 / 465.1 MB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3994, allocations: 3 kB / 465.1 MB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/0.4005, allocations: 0.7308 MB / 465.9 MB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4006, allocations: 0 / 465.9 MB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006297/0.4012, allocations: 192.4 kB / 466 MB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.4013, allocations: 66.73 kB / 466.1 MB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.64e-05/0.4014, allocations: 23.8 kB / 466.1 MB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.703e-05/0.4014, allocations: 21.03 kB / 466.2 MB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00098/0.4024, allocations: 2.404 MB / 468.6 MB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4024, allocations: 2.75 kB / 468.6 MB, free: 10.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.4028, allocations: 466.7 kB / 469 MB, free: 9.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.4028, allocations: 13.56 kB / 469 MB, free: 9.93 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.403, allocations: 12.59 kB / 469 MB, free: 9.93 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.403, allocations: 40 kB / 469.1 MB, free: 9.926 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.403, allocations: 28.53 kB / 469.1 MB, free: 9.922 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001295/0.4032, allocations: 203.5 kB / 469.3 MB, free: 9.902 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-08/0.4032, allocations: 0 / 469.3 MB, free: 9.902 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005055/0.4037, allocations: 244.5 kB / 469.5 MB, free: 9.891 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 36 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003822/0.4041, allocations: 235.3 kB / 469.8 MB, free: 9.809 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004703/0.4045, allocations: 332.6 kB / 470.1 MB, free: 9.785 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.181e-05/0.4045, allocations: 12.69 kB / 470.1 MB, free: 9.781 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.4049, allocations: 298.2 kB / 470.4 MB, free: 9.652 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006834/0.4056, allocations: 388.5 kB / 470.8 MB, free: 9.621 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00738/0.413, allocations: 1.158 MB / 471.9 MB, free: 9.047 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.4131, allocations: 164.3 kB / 472.1 MB, free: 8.973 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006515/0.4137, allocations: 356.5 kB / 472.4 MB, free: 8.934 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005036/0.4142, allocations: 318.3 kB / 472.8 MB, free: 8.879 MB / 442.7 MB Notification: Performance of SimCode: time 1.573e-06/0.4143, allocations: 1.062 kB / 472.8 MB, free: 8.879 MB / 442.7 MB Notification: Performance of Templates: time 0.01823/0.4325, allocations: 16.52 MB / 489.3 MB, free: 6.277 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.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: 3.635372754186392]