Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.001786/0.001786, allocations: 82.59 kB / 21.99 MB, free: 4.723 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.002182/0.002182, allocations: 157.4 kB / 25.24 MB, free: 2.742 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.4/1.4, allocations: 158.6 MB / 187 MB, free: 6.328 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.IdealGases.Air,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.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,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.IdealGases.Air") [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.001949/0.001949, allocations: 55.91 kB / 299.4 MB, free: 6.82 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2194, allocations: 49.14 MB / 348.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4177/0.6371, allocations: 149.4 MB / 497.9 MB, free: 1.258 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002961/0.6401, allocations: 2.956 MB / 0.4892 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001364/0.6402, allocations: 8.188 kB / 0.4892 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004955/0.6407, allocations: 172.1 kB / 0.4893 GB, free: 1.184 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006557/0.6414, allocations: 415.8 kB / 0.4897 GB, free: 1.168 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000716/0.6421, allocations: 351.8 kB / 0.4901 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008824/0.643, allocations: 0.9091 MB / 0.4909 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.6431, allocations: 71.78 kB / 0.491 GB, free: 1.145 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001578/0.6447, allocations: 0.812 MB / 0.4918 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004033/0.6451, allocations: 278 kB / 0.4921 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.107e-05/0.6452, allocations: 30.19 kB / 0.4921 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002639/0.6454, allocations: 123.3 kB / 0.4922 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.6455, allocations: 92.56 kB / 0.4923 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.6457, allocations: 165.5 kB / 0.4925 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005527/0.6463, allocations: 0.5187 MB / 0.493 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.6463, allocations: 0 / 0.493 GB, free: 1.102 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6463, allocations: 0.9688 kB / 0.493 GB, free: 1.102 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.114e-06/0.6463, allocations: 0 / 0.493 GB, free: 1.102 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.0009008/0.6472, allocations: 0.5166 MB / 0.4935 GB, free: 16.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.6472, allocations: 16.23 kB / 0.4935 GB, free: 16.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002775/0.6475, allocations: 47.42 kB / 0.4935 GB, free: 16.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.6479, allocations: 228 kB / 0.4938 GB, free: 16.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.6479, allocations: 17.52 kB / 0.4938 GB, free: 16.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.648, allocations: 30.03 kB / 0.4938 GB, free: 16.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005222/0.6485, allocations: 0.5349 MB / 0.4943 GB, free: 16.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.6485, allocations: 7.469 kB / 0.4943 GB, free: 16.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.6486, allocations: 9.625 kB / 0.4943 GB, free: 16.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.6486, allocations: 5.531 kB / 0.4943 GB, free: 16.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.6488, allocations: 207.2 kB / 0.4945 GB, free: 16.2 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.00143/0.6503, allocations: 1.145 MB / 0.4957 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.6505, allocations: 160.8 kB / 0.4958 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.6506, allocations: 91.56 kB / 0.4959 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.6507, allocations: 9.125 kB / 0.4959 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.6507, allocations: 40.28 kB / 0.4959 GB, free: 15.39 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.393e-06/0.6507, allocations: 0 / 0.4959 GB, free: 15.39 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.005063/0.6558, allocations: 1.317 MB / 0.4972 GB, free: 15.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.6558, allocations: 58.83 kB / 0.4973 GB, free: 14.96 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002317/0.6561, allocations: 224.5 kB / 0.4975 GB, free: 14.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.851e-05/0.6561, allocations: 32.58 kB / 0.4975 GB, free: 14.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.6562, allocations: 185 kB / 0.4977 GB, free: 14.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.062e-05/0.6563, allocations: 100.4 kB / 0.4978 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.6564, allocations: 82.19 kB / 0.4979 GB, free: 14.61 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.6565, allocations: 336.8 kB / 0.4982 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.6567, allocations: 89.8 kB / 0.4983 GB, free: 14.29 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.6569, allocations: 189.4 kB / 0.4985 GB, free: 14.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.6572, allocations: 303.8 kB / 0.4988 GB, free: 14.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.6572, allocations: 1.203 kB / 0.4988 GB, free: 14.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005335/0.6577, allocations: 405.9 kB / 0.4992 GB, free: 14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.6577, allocations: 6.156 kB / 0.4992 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.6577, allocations: 5.469 kB / 0.4992 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001852/0.6579, allocations: 67.97 kB / 0.4992 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.6582, allocations: 86.17 kB / 0.4993 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.6598, allocations: 1.829 MB / 0.5011 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.6599, allocations: 14.75 kB / 0.5011 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.47e-05/0.66, allocations: 34.69 kB / 0.5011 GB, free: 12.28 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.0001646/0.6601, allocations: 157 kB / 0.5013 GB, free: 12.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.6602, allocations: 33.83 kB / 0.5013 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007438/0.661, allocations: 444.3 kB / 0.5018 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.661, allocations: 3.281 kB / 0.5018 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.661, allocations: 0 / 0.5018 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005369/0.6615, allocations: 0.5614 MB / 0.5023 GB, free: 11.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008461/0.6623, allocations: 0.6245 MB / 0.5029 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.867e-06/0.6624, allocations: 6.438 kB / 0.5029 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.6626, allocations: 72.34 kB / 0.503 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.477e-05/0.6627, allocations: 20.33 kB / 0.503 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.6627, allocations: 17.64 kB / 0.503 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009343/0.6637, allocations: 1.253 MB / 0.5042 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6637, allocations: 0 / 0.5042 GB, free: 10.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005912/0.6643, allocations: 483.5 kB / 0.5047 GB, free: 9.961 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.6643, allocations: 26.7 kB / 0.5047 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.878e-05/0.6643, allocations: 4.656 kB / 0.5047 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.6646, allocations: 8.312 kB / 0.5047 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.6646, allocations: 30.75 kB / 0.5048 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/0.6646, allocations: 31.7 kB / 0.5048 GB, free: 9.945 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.6648, allocations: 169.2 kB / 0.505 GB, free: 9.863 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6648, allocations: 2.109 kB / 0.505 GB, free: 9.863 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004578/0.6652, allocations: 128.7 kB / 0.5051 GB, free: 9.855 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.0003245/0.6656, allocations: 141.3 kB / 0.5052 GB, free: 9.762 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005855/0.6662, allocations: 365 kB / 0.5056 GB, free: 9.648 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6662, allocations: 3.219 kB / 0.5056 GB, free: 9.648 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.6664, allocations: 225.2 kB / 0.5058 GB, free: 9.535 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000773/0.6672, allocations: 142.5 kB / 0.5059 GB, free: 9.508 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.6683, allocations: 0.6945 MB / 0.5066 GB, free: 9.188 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001351/0.6684, allocations: 156.4 kB / 0.5068 GB, free: 9.113 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003532/0.6688, allocations: 111.3 kB / 0.5069 GB, free: 9.086 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.6689, allocations: 63.89 kB / 0.5069 GB, free: 9.07 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.6689, allocations: 0 / 0.5069 GB, free: 9.07 MB / 446.1 MB Notification: Performance of Templates: time 0.01255/0.6815, allocations: 8.001 MB / 0.5147 GB, free: 8.164 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Air/Air.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.022652705083601]