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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001806/0.001806, allocations: 105.5 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001978/0.001978, allocations: 190.4 kB / 22.97 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 225.6 MB / 251.6 MB, free: 13.33 MB / 206.1 MB " [Timeout remaining time 178] 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.2335/0.2335, allocations: 44.92 MB / 351.6 MB, free: 12.21 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001912/0.001912, allocations: 63.89 kB / 495.3 MB, free: 1.844 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3916, allocations: 64.25 MB / 0.5464 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2315/0.623, allocations: 176 MB / 0.7183 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008795/0.6318, allocations: 5.38 MB / 0.7235 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008589/0.6327, allocations: 23.88 kB / 0.7236 GB, free: 9.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.6339, allocations: 325.9 kB / 0.7239 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004468/0.6383, allocations: 1.351 MB / 0.7252 GB, free: 8.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003355/0.6417, allocations: 1.059 MB / 0.7262 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003028/0.6447, allocations: 1.852 MB / 0.728 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009088/0.6456, allocations: 393.4 kB / 0.7284 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.6484, allocations: 1.09 MB / 0.7295 GB, free: 3.668 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001391/0.6498, allocations: 0.7977 MB / 0.7303 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.6499, allocations: 64 kB / 0.7303 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00165/0.6515, allocations: 0.6281 MB / 0.7309 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000346/0.6519, allocations: 275.1 kB / 0.7312 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004899/0.6524, allocations: 398.2 kB / 0.7316 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002096/0.6545, allocations: 1.304 MB / 0.7328 GB, free: 212 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.6545, allocations: 3.938 kB / 0.7328 GB, free: 208 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6545, allocations: 0 / 0.7328 GB, free: 208 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.262e-05/0.6545, allocations: 0 / 0.7328 GB, free: 208 kB / 0.5606 GB 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.3725/1.027, allocations: 1.12 MB / 0.7339 GB, free: 38.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/1.027, allocations: 9.062 kB / 0.734 GB, free: 38.64 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009916/1.028, allocations: 140 kB / 0.7341 GB, free: 38.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/1.029, allocations: 0.532 MB / 0.7346 GB, free: 38.34 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/1.029, allocations: 101.4 kB / 0.7347 GB, free: 38.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/1.029, allocations: 52.53 kB / 0.7347 GB, free: 38.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001419/1.031, allocations: 0.824 MB / 0.7356 GB, free: 38.05 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/1.031, allocations: 5.031 kB / 0.7356 GB, free: 38.05 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-05/1.031, allocations: 25.33 kB / 0.7356 GB, free: 38.05 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.518e-05/1.031, allocations: 39.98 kB / 0.7356 GB, free: 38.05 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/1.032, allocations: 0.6218 MB / 0.7362 GB, free: 38.05 MB / 0.5606 GB 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.003856/1.036, allocations: 3.95 MB / 0.7401 GB, free: 35.45 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005606/1.036, allocations: 347.7 kB / 0.7404 GB, free: 35.42 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/1.037, allocations: 158.9 kB / 0.7406 GB, free: 35.41 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001027/1.037, allocations: 96.22 kB / 0.7407 GB, free: 35.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/1.037, allocations: 42.17 kB / 0.7407 GB, free: 35.28 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/1.037, allocations: 0 / 0.7407 GB, free: 35.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005242/1.042, allocations: 1.681 MB / 0.7423 GB, free: 34.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/1.042, allocations: 135.8 kB / 0.7425 GB, free: 34.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006107/1.043, allocations: 0.6162 MB / 0.7431 GB, free: 34.47 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.96e-05/1.043, allocations: 36.8 kB / 0.7431 GB, free: 34.44 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/1.043, allocations: 373 kB / 0.7435 GB, free: 34.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.584e-05/1.043, allocations: 151.7 kB / 0.7436 GB, free: 34.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/1.043, allocations: 156.8 kB / 0.7438 GB, free: 34.12 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.674e-05/1.043, allocations: 380.9 kB / 0.7441 GB, free: 33.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/1.044, allocations: 205.2 kB / 0.7443 GB, free: 33.8 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004401/1.044, allocations: 0.5129 MB / 0.7448 GB, free: 33.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007322/1.045, allocations: 0.7551 MB / 0.7456 GB, free: 33.05 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.045, allocations: 3.312 kB / 0.7456 GB, free: 33.05 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001153/1.046, allocations: 0.8729 MB / 0.7464 GB, free: 32.97 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/1.046, allocations: 11.22 kB / 0.7464 GB, free: 32.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/1.046, allocations: 9.5 kB / 0.7464 GB, free: 32.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001224/1.047, allocations: 311.9 kB / 0.7467 GB, free: 32.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/1.048, allocations: 122.9 kB / 0.7468 GB, free: 32.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008427/1.048, allocations: 0.9378 MB / 0.7478 GB, free: 32.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000471/1.049, allocations: 27.23 kB / 0.7478 GB, free: 32.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.127e-05/1.049, allocations: 66.81 kB / 0.7479 GB, free: 32.43 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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.0003097/1.049, allocations: 248.9 kB / 0.7481 GB, free: 32.31 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/1.049, allocations: 76.72 kB / 0.7482 GB, free: 32.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/1.051, allocations: 0.8707 MB / 0.749 GB, free: 32.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/1.051, allocations: 3.375 kB / 0.749 GB, free: 32.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.051, allocations: 2.188 kB / 0.749 GB, free: 32.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/1.051, allocations: 3.672 kB / 0.749 GB, free: 32.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/1.053, allocations: 1.457 MB / 0.7504 GB, free: 31.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/1.053, allocations: 1.094 kB / 0.7504 GB, free: 31.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009535/1.054, allocations: 212 kB / 0.7506 GB, free: 31.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.904e-05/1.054, allocations: 22.98 kB / 0.7507 GB, free: 31.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.34e-05/1.054, allocations: 27.39 kB / 0.7507 GB, free: 31.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00145/1.055, allocations: 2.879 MB / 0.7535 GB, free: 28.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.055, allocations: 0.8125 kB / 0.7535 GB, free: 28.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001089/1.056, allocations: 0.83 MB / 0.7543 GB, free: 28.53 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002986/1.057, allocations: 189 kB / 0.7545 GB, free: 28.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/1.057, allocations: 10.62 kB / 0.7545 GB, free: 28.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004442/1.057, allocations: 19.11 kB / 0.7545 GB, free: 28.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/1.057, allocations: 38.14 kB / 0.7546 GB, free: 28.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.84e-05/1.057, allocations: 44.12 kB / 0.7546 GB, free: 28.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004777/1.058, allocations: 439.8 kB / 0.755 GB, free: 28.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.058, allocations: 0 / 0.755 GB, free: 28.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009745/1.059, allocations: 251.2 kB / 0.7553 GB, free: 28.3 MB / 0.5606 GB 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 (39): * Single equations (assignments): 37 * 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.0008704/1.06, allocations: 303.3 kB / 0.7556 GB, free: 28.19 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001297/1.061, allocations: 0.5399 MB / 0.7561 GB, free: 28.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/1.061, allocations: 1 kB / 0.7561 GB, free: 28.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00098/1.062, allocations: 420.4 kB / 0.7565 GB, free: 28.06 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001778/1.064, allocations: 371.3 kB / 0.7568 GB, free: 28.01 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/1.066, allocations: 1.357 MB / 0.7582 GB, free: 27.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/1.067, allocations: 0.9261 MB / 0.7591 GB, free: 26.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001138/1.068, allocations: 463.3 kB / 0.7595 GB, free: 26.72 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003295/1.068, allocations: 119 kB / 0.7596 GB, free: 26.71 MB / 0.5606 GB Notification: Performance of SimCode: time 1.332e-06/1.068, allocations: 0.8438 kB / 0.7596 GB, free: 26.71 MB / 0.5606 GB Notification: Performance of Templates: time 0.02939/1.098, allocations: 17.88 MB / 0.7771 GB, free: 23.44 MB / 0.5606 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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: 6.678155447356403]