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.001428/0.001428, allocations: 113.5 kB / 17.28 MB, free: 6.219 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.001701/0.001701, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.413/1.413, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.001289/0.001289, allocations: 55.91 kB / 280.2 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1064, allocations: 46.63 MB / 326.8 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.4738/0.5802, allocations: 170.4 MB / 497.2 MB, free: 13.1 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004111/0.5844, allocations: 3.186 MB / 0.4887 GB, free: 9.902 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002736/0.5848, allocations: 4 kB / 0.4887 GB, free: 9.898 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007318/0.5855, allocations: 155.1 kB / 0.4888 GB, free: 9.746 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009528/0.5865, allocations: 379.8 kB / 0.4892 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008786/0.5874, allocations: 320.1 kB / 0.4895 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009348/0.5883, allocations: 0.8952 MB / 0.4903 GB, free: 8.164 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.5885, allocations: 97.14 kB / 0.4904 GB, free: 8.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001901/0.5904, allocations: 0.7679 MB / 0.4912 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003608/0.5908, allocations: 294.9 kB / 0.4915 GB, free: 7.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.188e-05/0.5909, allocations: 36 kB / 0.4915 GB, free: 6.977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002945/0.5912, allocations: 135.8 kB / 0.4916 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.5913, allocations: 87.73 kB / 0.4917 GB, free: 6.758 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.5915, allocations: 191.3 kB / 0.4919 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006262/0.5921, allocations: 0.518 MB / 0.4924 GB, free: 6.051 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.5922, allocations: 0 / 0.4924 GB, free: 6.051 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5922, allocations: 0 / 0.4924 GB, free: 6.051 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.5922, allocations: 0 / 0.4924 GB, free: 6.051 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.0009161/0.5931, allocations: 0.5931 MB / 0.493 GB, free: 5.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.5932, allocations: 11.89 kB / 0.493 GB, free: 5.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00027/0.5934, allocations: 39.62 kB / 0.493 GB, free: 5.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.5938, allocations: 290.4 kB / 0.4933 GB, free: 5.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.5938, allocations: 20.56 kB / 0.4933 GB, free: 5.016 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.5939, allocations: 24 kB / 0.4934 GB, free: 4.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005252/0.5944, allocations: 324.2 kB / 0.4937 GB, free: 4.645 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.5945, allocations: 3.938 kB / 0.4937 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.637e-05/0.5945, allocations: 12 kB / 0.4937 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.5945, allocations: 4 kB / 0.4937 GB, free: 4.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003185/0.5948, allocations: 205.5 kB / 0.4939 GB, free: 4.426 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.001807/0.5967, allocations: 1.583 MB / 0.4954 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.597, allocations: 171.1 kB / 0.4956 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.5971, allocations: 100.8 kB / 0.4957 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.5972, allocations: 4 kB / 0.4957 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.5972, allocations: 38.56 kB / 0.4957 GB, free: 2.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.262e-06/0.5972, allocations: 0 / 0.4957 GB, free: 2.367 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.005971/0.6032, allocations: 1.618 MB / 0.4973 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.6033, allocations: 55.34 kB / 0.4974 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.6035, allocations: 252.9 kB / 0.4976 GB, free: 304 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.6036, allocations: 33.64 kB / 0.4976 GB, free: 264 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.6037, allocations: 184.1 kB / 0.4978 GB, free: 72 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.186e-05/0.6038, allocations: 94.83 kB / 0.4979 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.6039, allocations: 93.31 kB / 0.498 GB, free: 15.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.6041, allocations: 338.8 kB / 0.4983 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001615/0.6042, allocations: 87.95 kB / 0.4984 GB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000242/0.6045, allocations: 187.8 kB / 0.4986 GB, free: 15.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004264/0.6049, allocations: 303.8 kB / 0.4989 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6049, allocations: 1.5 kB / 0.4989 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006288/0.6056, allocations: 394.7 kB / 0.4992 GB, free: 14.48 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.6056, allocations: 4 kB / 0.4992 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.6056, allocations: 4 kB / 0.4992 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/0.6059, allocations: 82.02 kB / 0.4993 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.6062, allocations: 83.89 kB / 0.4994 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.6078, allocations: 1.951 MB / 0.5013 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.6081, allocations: 28.08 kB / 0.5013 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.225e-05/0.6082, allocations: 36 kB / 0.5014 GB, free: 12.13 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.0001896/0.6084, allocations: 162.3 kB / 0.5015 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.848e-05/0.6085, allocations: 31.7 kB / 0.5016 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009549/0.6094, allocations: 435.7 kB / 0.502 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.6095, allocations: 0 / 0.502 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.6095, allocations: 4 kB / 0.502 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006001/0.6101, allocations: 0.5591 MB / 0.5025 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.6112, allocations: 0.731 MB / 0.5032 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6112, allocations: 3.984 kB / 0.5032 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003239/0.6116, allocations: 75.89 kB / 0.5033 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.374e-05/0.6116, allocations: 16.84 kB / 0.5033 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.6117, allocations: 15.98 kB / 0.5033 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.6129, allocations: 1.386 MB / 0.5047 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6129, allocations: 0 / 0.5047 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007682/0.6137, allocations: 478.6 kB / 0.5052 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.6138, allocations: 104.9 kB / 0.5053 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.6139, allocations: 8 kB / 0.5053 GB, free: 7.777 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.6142, allocations: 27.77 kB / 0.5053 GB, free: 7.75 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.6142, allocations: 23.97 kB / 0.5053 GB, free: 7.727 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.95e-05/0.6143, allocations: 31.98 kB / 0.5053 GB, free: 7.695 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001996/0.6145, allocations: 186 kB / 0.5055 GB, free: 7.516 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6145, allocations: 0 / 0.5055 GB, free: 7.516 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000553/0.6151, allocations: 131.9 kB / 0.5056 GB, free: 7.387 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.0004543/0.6156, allocations: 143.1 kB / 0.5058 GB, free: 7.238 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008194/0.6164, allocations: 394.3 kB / 0.5062 GB, free: 6.84 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.6164, allocations: 0 / 0.5062 GB, free: 6.84 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.6167, allocations: 223.5 kB / 0.5064 GB, free: 6.609 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009177/0.6176, allocations: 180.6 kB / 0.5065 GB, free: 6.434 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/0.619, allocations: 0.8 MB / 0.5073 GB, free: 5.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005279/0.6195, allocations: 0.7606 MB / 0.5081 GB, free: 4.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005804/0.6201, allocations: 122.9 kB / 0.5082 GB, free: 4.699 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/0.6203, allocations: 63.42 kB / 0.5082 GB, free: 4.637 MB / 414.1 MB Notification: Performance of SimCode: time 2.786e-06/0.6204, allocations: 0 / 0.5082 GB, free: 4.637 MB / 414.1 MB Notification: Performance of Templates: time 0.0157/0.6361, allocations: 8.679 MB / 0.5167 GB, free: 11.95 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