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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 101.1 kB / 17.16 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.479/1.479, allocations: 205.1 MB / 223.9 MB, free: 12.39 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 51.94 kB / 280 MB, free: 3.555 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1294, allocations: 46.62 MB / 326.6 MB, free: 4.867 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4664/0.5959, allocations: 170.6 MB / 497.2 MB, free: 12.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003629/0.5996, allocations: 3.221 MB / 0.4887 GB, free: 9.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.5998, allocations: 7.938 kB / 0.4887 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006139/0.6004, allocations: 151.2 kB / 0.4888 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000763/0.6012, allocations: 375.7 kB / 0.4892 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007264/0.6019, allocations: 317 kB / 0.4895 GB, free: 8.781 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001145/0.6031, allocations: 1.344 MB / 0.4908 GB, free: 7.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000202/0.6033, allocations: 76.62 kB / 0.4909 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001798/0.6051, allocations: 0.7225 MB / 0.4916 GB, free: 6.637 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003427/0.6054, allocations: 294.8 kB / 0.4919 GB, free: 6.348 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.6055, allocations: 16 kB / 0.4919 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002824/0.6058, allocations: 99.88 kB / 0.492 GB, free: 6.234 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.6059, allocations: 83.7 kB / 0.4921 GB, free: 6.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.6061, allocations: 179.2 kB / 0.4922 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005373/0.6066, allocations: 0.5024 MB / 0.4927 GB, free: 5.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6067, allocations: 4 kB / 0.4927 GB, free: 5.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.6067, allocations: 0 / 0.4927 GB, free: 5.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.6067, allocations: 0 / 0.4927 GB, free: 5.469 MB / 398.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.0008411/0.6075, allocations: 0.5892 MB / 0.4933 GB, free: 4.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.6076, allocations: 8.031 kB / 0.4933 GB, free: 4.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002721/0.6079, allocations: 39.62 kB / 0.4933 GB, free: 4.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003547/0.6082, allocations: 290.4 kB / 0.4936 GB, free: 4.461 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.6082, allocations: 20.56 kB / 0.4936 GB, free: 4.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.216e-05/0.6083, allocations: 24 kB / 0.4937 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.6088, allocations: 315.7 kB / 0.494 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.6088, allocations: 3.938 kB / 0.494 GB, free: 4.074 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.723e-05/0.6088, allocations: 15.98 kB / 0.494 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.6088, allocations: 12 kB / 0.494 GB, free: 4.047 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.6091, allocations: 205.5 kB / 0.4942 GB, free: 3.848 MB / 398.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.001631/0.6108, allocations: 1.589 MB / 0.4957 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002951/0.6111, allocations: 175.1 kB / 0.4959 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.6112, allocations: 100.8 kB / 0.496 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.904e-05/0.6113, allocations: 7.984 kB / 0.496 GB, free: 1.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.6113, allocations: 30.56 kB / 0.496 GB, free: 1.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.233e-06/0.6113, allocations: 3.938 kB / 0.4961 GB, free: 1.777 MB / 398.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.005523/0.6168, allocations: 1.611 MB / 0.4976 GB, free: 36 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.6169, allocations: 55.41 kB / 0.4977 GB, free: 15.97 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002403/0.6171, allocations: 252.9 kB / 0.4979 GB, free: 15.71 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.6172, allocations: 33.7 kB / 0.498 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.6173, allocations: 184.1 kB / 0.4981 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.747e-05/0.6174, allocations: 90.66 kB / 0.4982 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.6175, allocations: 89.38 kB / 0.4983 GB, free: 15.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.6176, allocations: 334.8 kB / 0.4986 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/0.6178, allocations: 87.95 kB / 0.4987 GB, free: 14.88 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.618, allocations: 195.7 kB / 0.4989 GB, free: 14.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000397/0.6184, allocations: 316.2 kB / 0.4992 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6184, allocations: 0 / 0.4992 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006096/0.619, allocations: 386.7 kB / 0.4996 GB, free: 13.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.619, allocations: 8.406 kB / 0.4996 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.6191, allocations: 8 kB / 0.4996 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002239/0.6193, allocations: 73.67 kB / 0.4996 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003392/0.6196, allocations: 83.89 kB / 0.4997 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.6211, allocations: 1.86 MB / 0.5015 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.6213, allocations: 28.09 kB / 0.5016 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-05/0.6214, allocations: 43.98 kB / 0.5016 GB, free: 11.64 MB / 414.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.0001918/0.6216, allocations: 149.7 kB / 0.5018 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.048e-05/0.6217, allocations: 27.66 kB / 0.5018 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009413/0.6226, allocations: 443 kB / 0.5022 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.6226, allocations: 4 kB / 0.5022 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.6226, allocations: 0 / 0.5022 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005298/0.6232, allocations: 0.5552 MB / 0.5027 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000989/0.6242, allocations: 0.7349 MB / 0.5035 GB, free: 9.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.6242, allocations: 4 kB / 0.5035 GB, free: 9.559 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003158/0.6245, allocations: 72.95 kB / 0.5035 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.216e-05/0.6246, allocations: 20.84 kB / 0.5036 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.6246, allocations: 15.98 kB / 0.5036 GB, free: 9.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008428/0.6255, allocations: 1.277 MB / 0.5048 GB, free: 8.039 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6255, allocations: 3.938 kB / 0.5048 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006347/0.6261, allocations: 490.7 kB / 0.5053 GB, free: 7.531 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/0.6262, allocations: 96.86 kB / 0.5054 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.373e-05/0.6263, allocations: 15.98 kB / 0.5054 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.6265, allocations: 15.91 kB / 0.5054 GB, free: 7.387 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.442e-05/0.6266, allocations: 31.97 kB / 0.5054 GB, free: 7.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.606e-05/0.6267, allocations: 31.98 kB / 0.5055 GB, free: 7.324 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.6269, allocations: 186 kB / 0.5057 GB, free: 7.145 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6269, allocations: 0 / 0.5057 GB, free: 7.145 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005097/0.6274, allocations: 127.9 kB / 0.5058 GB, free: 7.02 MB / 414.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.0004072/0.6278, allocations: 151.2 kB / 0.5059 GB, free: 6.863 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006573/0.6285, allocations: 371.2 kB / 0.5063 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6285, allocations: 0 / 0.5063 GB, free: 6.488 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002869/0.6288, allocations: 234.6 kB / 0.5065 GB, free: 6.246 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009544/0.6297, allocations: 163.6 kB / 0.5067 GB, free: 6.086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.631, allocations: 0.7922 MB / 0.5074 GB, free: 5.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/0.6315, allocations: 0.7684 MB / 0.5082 GB, free: 4.477 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005398/0.6321, allocations: 114.9 kB / 0.5083 GB, free: 4.363 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/0.6323, allocations: 67.41 kB / 0.5083 GB, free: 4.297 MB / 414.1 MB Notification: Performance of SimCode: time 3.51e-07/0.6323, allocations: 4 kB / 0.5084 GB, free: 4.293 MB / 414.1 MB Notification: Performance of Templates: time 0.01388/0.6462, allocations: 8.442 MB / 0.5166 GB, free: 11.84 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.makefile (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 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/IdealGases/Nitrogen/Nitrogen.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches