Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001364/0.001364, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007321/0.008685, 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.000991/0.000991, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001247/0.002237, 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 1.038/1.038, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1021/1.14, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2956/0.2956, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0336/0.3292, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.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.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.013e-05, allocations: 3.438 kB / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1885/0.1885, allocations: 149.5 MB / 440.1 MB, free: 2.27 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.3051/0.4936, allocations: 2.642 MB / 442.7 MB, free: 3.664 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009849/0.4946, allocations: 28.88 kB / 442.8 MB, free: 3.664 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007839/0.4954, allocations: 217.9 kB / 443 MB, free: 3.664 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003323/0.4987, allocations: 1.141 MB / 444.1 MB, free: 3.664 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.5006, allocations: 0.811 MB / 444.9 MB, free: 3.648 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.00244/0.5031, allocations: 1.921 MB / 446.8 MB, free: 3.648 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006086/0.5037, allocations: 422.3 kB / 447.2 MB, free: 3.621 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001867/0.5056, allocations: 1.269 MB / 448.5 MB, free: 3.598 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007705/0.5063, allocations: 0.5613 MB / 449.1 MB, free: 3.598 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.5064, allocations: 59.56 kB / 449.1 MB, free: 3.598 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008258/0.5073, allocations: 489.6 kB / 449.6 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.5075, allocations: 230.1 kB / 449.8 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002592/0.5077, allocations: 232.1 kB / 450.1 MB, free: 3.586 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.5088, allocations: 0.867 MB / 450.9 MB, free: 3.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.757e-05/0.5088, allocations: 0 / 450.9 MB, free: 3.5 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5088, allocations: 3.25 kB / 450.9 MB, free: 3.5 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.787e-05/0.5088, allocations: 0 / 450.9 MB, free: 3.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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001859/0.5107, allocations: 1.249 MB / 452.2 MB, free: 18.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.5107, allocations: 9.25 kB / 452.2 MB, free: 18.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006036/0.5113, allocations: 197.1 kB / 452.4 MB, free: 18.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005725/0.5119, allocations: 421.1 kB / 452.8 MB, free: 18.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.512, allocations: 157.4 kB / 453 MB, free: 18.55 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.072e-05/0.5121, allocations: 62.88 kB / 453 MB, free: 18.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007006/0.5128, allocations: 0.884 MB / 453.9 MB, free: 17.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.5128, allocations: 6.5 kB / 453.9 MB, free: 17.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/0.5129, allocations: 22.97 kB / 453.9 MB, free: 17.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.458e-05/0.5129, allocations: 39.69 kB / 454 MB, free: 17.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003006/0.5132, allocations: 231.3 kB / 454.2 MB, free: 17.88 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.00216/0.5154, allocations: 2.652 MB / 456.8 MB, free: 16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002366/0.5156, allocations: 170.9 kB / 457 MB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.075e-05/0.5157, allocations: 60.06 kB / 457.1 MB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.5158, allocations: 39.44 kB / 457.1 MB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.938e-05/0.5159, allocations: 41.7 kB / 457.1 MB, free: 15.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 1.663e-06/0.5159, allocations: 0 / 457.1 MB, free: 15.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.002154/0.518, allocations: 0.9119 MB / 458.1 MB, free: 15.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.5181, allocations: 56.44 kB / 458.1 MB, free: 15.53 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003265/0.5184, allocations: 486.1 kB / 458.6 MB, free: 15.38 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.751e-05/0.5184, allocations: 34.61 kB / 458.6 MB, free: 15.34 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.5186, allocations: 340.8 kB / 459 MB, free: 15.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.33e-05/0.5187, allocations: 145.7 kB / 459.1 MB, free: 15.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.5188, allocations: 146.8 kB / 459.2 MB, free: 15 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.519, allocations: 377.9 kB / 459.6 MB, free: 14.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.625e-05/0.5191, allocations: 66.58 kB / 459.7 MB, free: 14.68 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.5193, allocations: 492.6 kB / 460.2 MB, free: 14.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003965/0.5197, allocations: 0.5328 MB / 460.7 MB, free: 13.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.5197, allocations: 4.469 kB / 460.7 MB, free: 13.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005122/0.5202, allocations: 499.4 kB / 461.2 MB, free: 13.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.5203, allocations: 9.469 kB / 461.2 MB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.5203, allocations: 12.69 kB / 461.2 MB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005141/0.5208, allocations: 218.7 kB / 461.4 MB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.521, allocations: 144.8 kB / 461.6 MB, free: 13.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004447/0.5214, allocations: 0.6789 MB / 462.2 MB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.5217, allocations: 28.27 kB / 462.3 MB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.844e-05/0.5217, allocations: 49 kB / 462.3 MB, free: 13.2 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.0001538/0.5219, allocations: 169.4 kB / 462.5 MB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/0.5219, allocations: 49.61 kB / 462.5 MB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006291/0.5226, allocations: 0.5713 MB / 463.1 MB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.5226, allocations: 9.219 kB / 463.1 MB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.5226, allocations: 0 / 463.1 MB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.5226, allocations: 0.7812 kB / 463.1 MB, free: 12.97 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008081/0.5234, allocations: 0.7256 MB / 463.8 MB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.5234, allocations: 0.9375 kB / 463.8 MB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005004/0.5239, allocations: 197.6 kB / 464 MB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.954e-05/0.524, allocations: 70.58 kB / 464.1 MB, free: 12.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.837e-05/0.524, allocations: 23.94 kB / 464.1 MB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.5241, allocations: 19.75 kB / 464.1 MB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.5252, allocations: 2.399 MB / 466.5 MB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5252, allocations: 0.875 kB / 466.5 MB, free: 10.26 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004167/0.5256, allocations: 465.8 kB / 467 MB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.878e-05/0.5256, allocations: 15.2 kB / 467 MB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.5258, allocations: 13.56 kB / 467 MB, free: 10.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.5258, allocations: 39.09 kB / 467.1 MB, free: 10 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.5259, allocations: 25.56 kB / 467.1 MB, free: 10 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001491/0.526, allocations: 203.3 kB / 467.3 MB, free: 9.984 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.526, allocations: 0 / 467.3 MB, free: 9.984 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005026/0.5265, allocations: 245.3 kB / 467.5 MB, free: 9.973 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.0004561/0.527, allocations: 240.5 kB / 467.8 MB, free: 9.887 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004519/0.5274, allocations: 324.8 kB / 468.1 MB, free: 9.871 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.506e-05/0.5275, allocations: 11.34 kB / 468.1 MB, free: 9.867 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003982/0.5279, allocations: 301.8 kB / 468.4 MB, free: 9.734 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007433/0.5286, allocations: 390.1 kB / 468.8 MB, free: 9.699 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007268/0.5359, allocations: 1.147 MB / 469.9 MB, free: 9.137 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.536, allocations: 169.3 kB / 470.1 MB, free: 9.059 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000616/0.5366, allocations: 368.6 kB / 470.4 MB, free: 9.008 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005216/0.5371, allocations: 319.3 kB / 470.7 MB, free: 8.949 MB / 442.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5371, allocations: 0.75 kB / 470.7 MB, free: 8.949 MB / 442.7 MB Notification: Performance of Templates: time 0.02009/0.5572, allocations: 16.51 MB / 487.3 MB, free: 6.621 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 4.079835752025247]