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.001334/0.001334, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 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.001457/0.001457, allocations: 210.8 kB / 24.49 MB, free: 3.965 MB / 14.72 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.497/1.497, allocations: 230.6 MB / 258.2 MB, free: 7.832 MB / 206.1 MB " [Timeout remaining time 178] 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.2349/0.2349, allocations: 46.97 MB / 361.6 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002066/0.002066, allocations: 67.91 kB / 0.4974 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3577, allocations: 66.04 MB / 0.5618 GB, free: 4.188 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.2098/0.5675, allocations: 154.6 MB / 0.7129 GB, free: 8.965 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008261/0.5758, allocations: 4.928 MB / 0.7177 GB, free: 4.023 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007859/0.5766, allocations: 27.75 kB / 0.7177 GB, free: 3.996 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.5776, allocations: 306 kB / 0.718 GB, free: 3.695 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004153/0.5817, allocations: 1.363 MB / 0.7193 GB, free: 2.332 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003496/0.5852, allocations: 1.071 MB / 0.7204 GB, free: 1.266 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003211/0.5884, allocations: 1.875 MB / 0.7222 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007341/0.5892, allocations: 393.6 kB / 0.7226 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.5918, allocations: 1.113 MB / 0.7237 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.5931, allocations: 0.7938 MB / 0.7244 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001411/0.5933, allocations: 60 kB / 0.7245 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001366/0.5946, allocations: 0.5657 MB / 0.725 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003132/0.595, allocations: 275.2 kB / 0.7253 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004176/0.5954, allocations: 334.6 kB / 0.7256 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001953/0.5973, allocations: 1.304 MB / 0.7269 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.5973, allocations: 4 kB / 0.7269 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5973, allocations: 0 / 0.7269 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.3e-05/0.5973, allocations: 0 / 0.7269 GB, free: 10.55 MB / 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.002592/0.5999, allocations: 1.041 MB / 0.7279 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.6, allocations: 8.031 kB / 0.7279 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008885/0.6009, allocations: 147.3 kB / 0.7281 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001025/0.6019, allocations: 485.3 kB / 0.7285 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.6021, allocations: 155.8 kB / 0.7287 GB, free: 8.641 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.6022, allocations: 52 kB / 0.7287 GB, free: 8.59 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001544/0.6037, allocations: 1.136 MB / 0.7298 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.6037, allocations: 7.938 kB / 0.7298 GB, free: 7.285 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.271e-05/0.6038, allocations: 27.92 kB / 0.7299 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.33e-05/0.6039, allocations: 36.98 kB / 0.7299 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001115/0.605, allocations: 0.6166 MB / 0.7305 GB, free: 6.605 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.004634/0.6096, allocations: 3.215 MB / 0.7336 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006277/0.6103, allocations: 335.6 kB / 0.734 GB, free: 2.941 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/0.6105, allocations: 161.3 kB / 0.7341 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-05/0.6106, allocations: 20.25 kB / 0.7341 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.304e-05/0.6107, allocations: 34.84 kB / 0.7342 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=34): time 2.875e-06/0.6107, allocations: 4 kB / 0.7342 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of matching and sorting (n=39): time 0.005884/0.6166, allocations: 1.605 MB / 0.7357 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.62e-05/0.6167, allocations: 140.5 kB / 0.7359 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006697/0.6173, allocations: 0.526 MB / 0.7364 GB, free: 356 kB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.734e-05/0.6174, allocations: 33.7 kB / 0.7364 GB, free: 316 kB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.281/0.8983, allocations: 383.1 kB / 0.7368 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/0.8986, allocations: 150.7 kB / 0.7369 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00032/0.8989, allocations: 156.3 kB / 0.7371 GB, free: 175.9 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.899, allocations: 367.1 kB / 0.7374 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/0.8995, allocations: 201.1 kB / 0.7376 GB, free: 175.6 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000657/0.9002, allocations: 0.5905 MB / 0.7382 GB, free: 175 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.9012, allocations: 0.7492 MB / 0.7389 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.9013, allocations: 2.656 kB / 0.7389 GB, free: 174.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001703/0.903, allocations: 0.8794 MB / 0.7398 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.903, allocations: 12.25 kB / 0.7398 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.903, allocations: 11.34 kB / 0.7398 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001475/0.9045, allocations: 317.4 kB / 0.7401 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/0.9049, allocations: 122.9 kB / 0.7402 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009676/0.9058, allocations: 0.935 MB / 0.7411 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005158/0.9063, allocations: 22.2 kB / 0.7412 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.043e-05/0.9064, allocations: 73.53 kB / 0.7412 GB, free: 173.4 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.0003064/0.9067, allocations: 251.9 kB / 0.7415 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.9068, allocations: 60.12 kB / 0.7415 GB, free: 173.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/0.9084, allocations: 0.8575 MB / 0.7424 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.9084, allocations: 4.172 kB / 0.7424 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.9084, allocations: 0 / 0.7424 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000255/0.9087, allocations: 102.4 kB / 0.7425 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.703e-05/0.9088, allocations: 11.91 kB / 0.7425 GB, free: 172.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003467/0.9091, allocations: 15.36 kB / 0.7425 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.762e-05/0.9092, allocations: 38.33 kB / 0.7425 GB, free: 172.8 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001495/0.9107, allocations: 0.6177 MB / 0.7431 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009163/0.9116, allocations: 0.8161 MB / 0.7439 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002333/0.9118, allocations: 177.1 kB / 0.7441 GB, free: 171.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003105/0.9122, allocations: 360.1 kB / 0.7445 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of Backend: time 8.12e-07/0.9122, allocations: 0 / 0.7445 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001894/0.9141, allocations: 0.7161 MB / 0.7452 GB, free: 170.7 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002191/0.9162, allocations: 1.855 MB / 0.747 GB, free: 169 MB / 0.5606 GB Notification: Performance of Templates: time 0.02253/0.9388, allocations: 18.06 MB / 0.7646 GB, free: 151.1 MB / 0.5606 GB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.332004665004206]