Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.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.001647/0.001647, allocations: 83.94 kB / 22 MB, free: 5.184 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.001837/0.001837, allocations: 161.8 kB / 25.25 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 158.6 MB / 187 MB, free: 6.234 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002836/0.002836, allocations: 51.92 kB / 299.4 MB, free: 6.816 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2472, allocations: 49.14 MB / 348.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4456/0.6928, allocations: 150.2 MB / 498.7 MB, free: 1.188 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003392/0.6962, allocations: 2.95 MB / 0.4899 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001864/0.6964, allocations: 9.75 kB / 0.4899 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005528/0.697, allocations: 168.4 kB / 0.4901 GB, free: 1.121 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007386/0.6977, allocations: 409 kB / 0.4905 GB, free: 1.105 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007294/0.6984, allocations: 353 kB / 0.4908 GB, free: 1.094 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008291/0.6992, allocations: 0.9082 MB / 0.4917 GB, free: 1.094 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001913/0.6994, allocations: 66.33 kB / 0.4918 GB, free: 1.082 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002073/0.7015, allocations: 0.819 MB / 0.4926 GB, free: 1.066 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003817/0.7019, allocations: 272.9 kB / 0.4928 GB, free: 1.066 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.903e-05/0.702, allocations: 31.34 kB / 0.4929 GB, free: 1.066 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003059/0.7023, allocations: 121.5 kB / 0.493 GB, free: 1.062 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.7024, allocations: 100.5 kB / 0.4931 GB, free: 1.062 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001879/0.7026, allocations: 158.1 kB / 0.4932 GB, free: 1.062 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005867/0.7031, allocations: 0.5222 MB / 0.4937 GB, free: 1.039 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.7032, allocations: 0 / 0.4937 GB, free: 1.039 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.7032, allocations: 3.75 kB / 0.4937 GB, free: 1.039 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.7032, allocations: 0 / 0.4937 GB, free: 1.039 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001039/0.7042, allocations: 0.5181 MB / 0.4942 GB, free: 16.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.7042, allocations: 12.64 kB / 0.4943 GB, free: 16.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002939/0.7045, allocations: 48.31 kB / 0.4943 GB, free: 16.66 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004111/0.7049, allocations: 228 kB / 0.4945 GB, free: 16.52 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.953e-05/0.705, allocations: 19.66 kB / 0.4945 GB, free: 16.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.705, allocations: 24.5 kB / 0.4946 GB, free: 16.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005506/0.7056, allocations: 0.5362 MB / 0.4951 GB, free: 16.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.7056, allocations: 1.094 kB / 0.4951 GB, free: 16.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.7056, allocations: 20.48 kB / 0.4951 GB, free: 16.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.7056, allocations: 8.469 kB / 0.4951 GB, free: 16.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002804/0.7059, allocations: 199.4 kB / 0.4953 GB, free: 16.13 MB / 446.1 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.001573/0.7075, allocations: 1.146 MB / 0.4964 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.7077, allocations: 161.7 kB / 0.4966 GB, free: 15.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.7079, allocations: 89.03 kB / 0.4967 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-05/0.7079, allocations: 9.812 kB / 0.4967 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.7079, allocations: 37.34 kB / 0.4967 GB, free: 15.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.402e-06/0.7079, allocations: 3.188 kB / 0.4967 GB, free: 15.32 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005427/0.7134, allocations: 1.318 MB / 0.498 GB, free: 14.96 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.7134, allocations: 55.25 kB / 0.498 GB, free: 14.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.7137, allocations: 227.6 kB / 0.4983 GB, free: 14.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.7137, allocations: 31.3 kB / 0.4983 GB, free: 14.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001313/0.7139, allocations: 187.1 kB / 0.4985 GB, free: 14.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.691e-05/0.7139, allocations: 99.75 kB / 0.4986 GB, free: 14.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.714, allocations: 85.75 kB / 0.4986 GB, free: 14.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.7142, allocations: 333.3 kB / 0.499 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.7144, allocations: 92.34 kB / 0.4991 GB, free: 14.23 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00019/0.7146, allocations: 186 kB / 0.4992 GB, free: 14.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004195/0.715, allocations: 308.5 kB / 0.4995 GB, free: 14 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.715, allocations: 0 / 0.4995 GB, free: 14 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006195/0.7156, allocations: 395.8 kB / 0.4999 GB, free: 13.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.7156, allocations: 9.125 kB / 0.4999 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.7156, allocations: 3.344 kB / 0.4999 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002335/0.7159, allocations: 77.98 kB / 0.5 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.7162, allocations: 83.89 kB / 0.5001 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.7177, allocations: 1.831 MB / 0.5019 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.7179, allocations: 8.594 kB / 0.5019 GB, free: 12.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-05/0.718, allocations: 41.81 kB / 0.5019 GB, free: 12.21 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001877/0.7181, allocations: 156.4 kB / 0.5021 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.767e-05/0.7182, allocations: 29.92 kB / 0.5021 GB, free: 12.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007685/0.719, allocations: 438.4 kB / 0.5025 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.719, allocations: 11.39 kB / 0.5025 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.719, allocations: 0 / 0.5025 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005684/0.7196, allocations: 0.5605 MB / 0.5031 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008864/0.7204, allocations: 0.6295 MB / 0.5037 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.7205, allocations: 2 kB / 0.5037 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.7208, allocations: 79.3 kB / 0.5038 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.266e-05/0.7208, allocations: 20.06 kB / 0.5038 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.7209, allocations: 14.22 kB / 0.5038 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001039/0.7219, allocations: 1.251 MB / 0.505 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7219, allocations: 0 / 0.505 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006056/0.7225, allocations: 477.9 kB / 0.5055 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.7225, allocations: 22.89 kB / 0.5055 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.7226, allocations: 5.031 kB / 0.5055 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000239/0.7228, allocations: 12.34 kB / 0.5055 GB, free: 9.883 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.7229, allocations: 30.89 kB / 0.5055 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.809e-05/0.7229, allocations: 31.77 kB / 0.5056 GB, free: 9.879 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001414/0.723, allocations: 167.5 kB / 0.5057 GB, free: 9.797 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.723, allocations: 0 / 0.5057 GB, free: 9.797 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004901/0.7235, allocations: 124.7 kB / 0.5058 GB, free: 9.789 MB / 446.1 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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): 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.0003429/0.7239, allocations: 155.3 kB / 0.506 GB, free: 9.695 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006038/0.7245, allocations: 360 kB / 0.5063 GB, free: 9.586 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7245, allocations: 0 / 0.5063 GB, free: 9.586 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002805/0.7248, allocations: 232.6 kB / 0.5066 GB, free: 9.469 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008078/0.7256, allocations: 137.6 kB / 0.5067 GB, free: 9.445 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.7269, allocations: 0.6944 MB / 0.5074 GB, free: 9.125 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001526/0.727, allocations: 159 kB / 0.5075 GB, free: 9.047 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003894/0.7274, allocations: 111.5 kB / 0.5076 GB, free: 9.02 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.7276, allocations: 64.91 kB / 0.5077 GB, free: 9 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.7276, allocations: 0 / 0.5077 GB, free: 9 MB / 446.1 MB Notification: Performance of Templates: time 0.01266/0.7403, allocations: 7.991 MB / 0.5155 GB, free: 8.098 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.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: 5.088298602029681]