Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.001988/0.001988, allocations: 83.19 kB / 22 MB, free: 5.18 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.002197/0.002197, allocations: 161.4 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.318/1.318, allocations: 158.6 MB / 187 MB, free: 6.242 MB / 174.1 MB " [Timeout remaining time 179] 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.Nitrogen,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.Nitrogen") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,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.Nitrogen") [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.001832/0.001832, allocations: 55.92 kB / 299.4 MB, free: 6.805 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2438, allocations: 49.14 MB / 348.6 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4066/0.6504, allocations: 149.4 MB / 497.9 MB, free: 1.234 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00338/0.6538, allocations: 2.947 MB / 0.4891 GB, free: 1.164 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002138/0.654, allocations: 8.562 kB / 0.4891 GB, free: 1.164 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005466/0.6545, allocations: 166 kB / 0.4893 GB, free: 1.16 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007859/0.6553, allocations: 419.4 kB / 0.4897 GB, free: 1.145 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007825/0.6561, allocations: 345.2 kB / 0.49 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001029/0.6571, allocations: 0.9067 MB / 0.4909 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.6573, allocations: 75.42 kB / 0.491 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.6592, allocations: 0.8173 MB / 0.4918 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005091/0.6597, allocations: 270.2 kB / 0.492 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.973e-05/0.6598, allocations: 30.41 kB / 0.4921 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002864/0.6601, allocations: 120.3 kB / 0.4922 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.6602, allocations: 94.11 kB / 0.4923 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.6603, allocations: 164.5 kB / 0.4924 GB, free: 1.109 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005187/0.6608, allocations: 0.5199 MB / 0.4929 GB, free: 1.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.6609, allocations: 0 / 0.4929 GB, free: 1.082 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.6609, allocations: 0.9688 kB / 0.4929 GB, free: 1.082 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.6609, allocations: 0 / 0.4929 GB, free: 1.082 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.0008575/0.6617, allocations: 0.5201 MB / 0.4934 GB, free: 16.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.6618, allocations: 19.08 kB / 0.4935 GB, free: 16.73 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002679/0.662, allocations: 41.64 kB / 0.4935 GB, free: 16.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004849/0.6625, allocations: 228.5 kB / 0.4937 GB, free: 16.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.6625, allocations: 20.12 kB / 0.4937 GB, free: 16.56 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.6626, allocations: 27.09 kB / 0.4938 GB, free: 16.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006063/0.6632, allocations: 0.5409 MB / 0.4943 GB, free: 16.18 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.6632, allocations: 7.031 kB / 0.4943 GB, free: 16.18 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.6632, allocations: 9.969 kB / 0.4943 GB, free: 16.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.6632, allocations: 9.688 kB / 0.4943 GB, free: 16.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.6635, allocations: 201.9 kB / 0.4945 GB, free: 16.18 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.001589/0.6651, allocations: 1.142 MB / 0.4956 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.6654, allocations: 163.1 kB / 0.4958 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.6655, allocations: 88.97 kB / 0.4959 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.6655, allocations: 7.406 kB / 0.4959 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.6656, allocations: 42.11 kB / 0.4959 GB, free: 15.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=22): time 1.863e-06/0.6656, allocations: 0 / 0.4959 GB, free: 15.37 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.005457/0.671, allocations: 1.321 MB / 0.4972 GB, free: 15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.6711, allocations: 60.14 kB / 0.4973 GB, free: 14.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.6713, allocations: 224.4 kB / 0.4975 GB, free: 14.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.6714, allocations: 32.8 kB / 0.4975 GB, free: 14.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.6715, allocations: 192.6 kB / 0.4977 GB, free: 14.66 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.482e-05/0.6715, allocations: 94.89 kB / 0.4978 GB, free: 14.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.762e-05/0.6716, allocations: 80.89 kB / 0.4979 GB, free: 14.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.6718, allocations: 335 kB / 0.4982 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.6719, allocations: 93.06 kB / 0.4983 GB, free: 14.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/0.6721, allocations: 186.8 kB / 0.4984 GB, free: 14.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003506/0.6725, allocations: 302.1 kB / 0.4987 GB, free: 14.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6725, allocations: 0 / 0.4987 GB, free: 14.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005707/0.673, allocations: 403.9 kB / 0.4991 GB, free: 13.97 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.6731, allocations: 9.438 kB / 0.4991 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.6731, allocations: 8.094 kB / 0.4991 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000197/0.6733, allocations: 73.56 kB / 0.4992 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003227/0.6736, allocations: 79.73 kB / 0.4993 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001678/0.6753, allocations: 1.835 MB / 0.5011 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.6755, allocations: 10 kB / 0.5011 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.087e-05/0.6755, allocations: 43.41 kB / 0.5011 GB, free: 12.25 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.0001858/0.6757, allocations: 147.6 kB / 0.5013 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.948e-05/0.6758, allocations: 26.98 kB / 0.5013 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000811/0.6766, allocations: 447.3 kB / 0.5017 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.6766, allocations: 7.125 kB / 0.5017 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.6766, allocations: 0 / 0.5017 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005999/0.6772, allocations: 0.564 MB / 0.5023 GB, free: 11.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009569/0.6781, allocations: 0.6232 MB / 0.5029 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.6781, allocations: 7.188 kB / 0.5029 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003018/0.6784, allocations: 69.05 kB / 0.503 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.785e-05/0.6785, allocations: 22.8 kB / 0.503 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.6786, allocations: 15.86 kB / 0.503 GB, free: 11.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001043/0.6796, allocations: 1.252 MB / 0.5042 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6796, allocations: 6.625 kB / 0.5042 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006445/0.6802, allocations: 481.3 kB / 0.5047 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.6803, allocations: 21.08 kB / 0.5047 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.024e-05/0.6803, allocations: 9.984 kB / 0.5047 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.6806, allocations: 6.031 kB / 0.5047 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.6806, allocations: 30.11 kB / 0.5047 GB, free: 9.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/0.6807, allocations: 32.41 kB / 0.5048 GB, free: 9.922 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001514/0.6808, allocations: 169.2 kB / 0.5049 GB, free: 9.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6808, allocations: 2.203 kB / 0.5049 GB, free: 9.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005114/0.6813, allocations: 125.1 kB / 0.5051 GB, free: 9.832 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.0003524/0.6817, allocations: 141.3 kB / 0.5052 GB, free: 9.738 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005953/0.6823, allocations: 361.1 kB / 0.5055 GB, free: 9.629 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6823, allocations: 4.188 kB / 0.5055 GB, free: 9.629 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002821/0.6826, allocations: 228.4 kB / 0.5058 GB, free: 9.512 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007904/0.6833, allocations: 131.4 kB / 0.5059 GB, free: 9.492 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.6845, allocations: 0.704 MB / 0.5066 GB, free: 9.168 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.6846, allocations: 152.8 kB / 0.5067 GB, free: 9.094 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003708/0.685, allocations: 112.3 kB / 0.5068 GB, free: 9.066 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.6851, allocations: 65.5 kB / 0.5069 GB, free: 9.051 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.6851, allocations: 0 / 0.5069 GB, free: 9.051 MB / 446.1 MB Notification: Performance of Templates: time 0.01243/0.6976, allocations: 8.004 MB / 0.5147 GB, free: 8.137 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_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/Nitrogen/Nitrogen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.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.123449721024372]