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.001444/0.001444, allocations: 114.5 kB / 17.93 MB, free: 5.566 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.001671/0.001671, allocations: 189.9 kB / 18.86 MB, free: 4.645 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.418/1.418, allocations: 205.1 MB / 224.7 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.001153/0.001153, allocations: 47.92 kB / 280.8 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07625/0.07741, allocations: 46.62 MB / 327.4 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen): time 0.3285/0.4059, allocations: 170.4 MB / 497.9 MB, free: 12.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003667/0.4096, allocations: 3.186 MB / 0.4893 GB, free: 9.742 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.4099, allocations: 7.938 kB / 0.4893 GB, free: 9.734 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005486/0.4105, allocations: 155.2 kB / 0.4895 GB, free: 9.582 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008237/0.4113, allocations: 375.7 kB / 0.4898 GB, free: 9.215 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007738/0.4121, allocations: 308.1 kB / 0.4901 GB, free: 8.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008205/0.4129, allocations: 0.903 MB / 0.491 GB, free: 8.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.4131, allocations: 105.1 kB / 0.4911 GB, free: 7.906 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.4149, allocations: 0.7679 MB / 0.4918 GB, free: 7.137 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003337/0.4153, allocations: 294.9 kB / 0.4921 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.793e-05/0.4153, allocations: 28 kB / 0.4921 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.4156, allocations: 127.9 kB / 0.4923 GB, free: 6.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.4157, allocations: 99.64 kB / 0.4924 GB, free: 6.598 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001782/0.4159, allocations: 183.3 kB / 0.4925 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004384/0.4164, allocations: 419 kB / 0.4929 GB, free: 6.008 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4164, allocations: 0 / 0.4929 GB, free: 6.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4164, allocations: 3.938 kB / 0.4929 GB, free: 6.004 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.4164, allocations: 0 / 0.4929 GB, free: 6.004 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.0008319/0.4172, allocations: 0.5775 MB / 0.4935 GB, free: 5.379 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.4173, allocations: 15.89 kB / 0.4935 GB, free: 5.363 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002743/0.4176, allocations: 48.36 kB / 0.4936 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.4179, allocations: 290.4 kB / 0.4938 GB, free: 4.992 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.418, allocations: 16.56 kB / 0.4939 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.418, allocations: 24 kB / 0.4939 GB, free: 4.953 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004994/0.4185, allocations: 315.7 kB / 0.4942 GB, free: 4.613 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.4186, allocations: 7.938 kB / 0.4942 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.72e-05/0.4186, allocations: 12 kB / 0.4942 GB, free: 4.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.4186, allocations: 8 kB / 0.4942 GB, free: 4.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003155/0.4189, allocations: 205.6 kB / 0.4944 GB, free: 4.387 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.001765/0.4207, allocations: 1.591 MB / 0.496 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.421, allocations: 171.1 kB / 0.4961 GB, free: 2.473 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.4212, allocations: 96.77 kB / 0.4962 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.028e-05/0.4212, allocations: 11.92 kB / 0.4962 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.4213, allocations: 34.56 kB / 0.4963 GB, free: 2.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/0.4213, allocations: 4 kB / 0.4963 GB, free: 2.316 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.005609/0.4269, allocations: 1.613 MB / 0.4978 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.4269, allocations: 59.41 kB / 0.4979 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.4272, allocations: 248.9 kB / 0.4981 GB, free: 260 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.4272, allocations: 33.7 kB / 0.4982 GB, free: 220 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.4274, allocations: 176.2 kB / 0.4983 GB, free: 36 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.775e-05/0.4274, allocations: 98.81 kB / 0.4984 GB, free: 15.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.4276, allocations: 89.38 kB / 0.4985 GB, free: 15.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4277, allocations: 330.8 kB / 0.4988 GB, free: 15.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.4279, allocations: 91.95 kB / 0.4989 GB, free: 15.42 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002118/0.4281, allocations: 191.7 kB / 0.4991 GB, free: 15.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004521/0.4286, allocations: 315.7 kB / 0.4994 GB, free: 14.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4286, allocations: 0 / 0.4994 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006318/0.4292, allocations: 390.8 kB / 0.4998 GB, free: 14.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.4293, allocations: 8 kB / 0.4998 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.4293, allocations: 4 kB / 0.4998 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002206/0.4295, allocations: 69.67 kB / 0.4999 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003891/0.4299, allocations: 84.28 kB / 0.4999 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001594/0.4315, allocations: 1.962 MB / 0.5018 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002408/0.4318, allocations: 15.91 kB / 0.5019 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.634e-05/0.4319, allocations: 48.08 kB / 0.5019 GB, free: 12.08 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.0001734/0.4321, allocations: 158.4 kB / 0.5021 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.687e-05/0.4322, allocations: 27.72 kB / 0.5021 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009377/0.4331, allocations: 438.5 kB / 0.5025 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.4331, allocations: 4 kB / 0.5025 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.4331, allocations: 0 / 0.5025 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005457/0.4337, allocations: 0.563 MB / 0.5031 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.4347, allocations: 0.7271 MB / 0.5038 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4347, allocations: 4.062 kB / 0.5038 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/0.435, allocations: 68.77 kB / 0.5038 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.079e-05/0.4351, allocations: 20.84 kB / 0.5039 GB, free: 9.906 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.4352, allocations: 15.98 kB / 0.5039 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009683/0.4361, allocations: 1.39 MB / 0.5052 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.4361, allocations: 0 / 0.5052 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006547/0.4368, allocations: 482.7 kB / 0.5057 GB, free: 7.863 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.024e-05/0.4369, allocations: 104.8 kB / 0.5058 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.437, allocations: 4 kB / 0.5058 GB, free: 7.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.4372, allocations: 23.95 kB / 0.5058 GB, free: 7.715 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.4373, allocations: 27.97 kB / 0.5058 GB, free: 7.688 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.114e-05/0.4373, allocations: 31.98 kB / 0.5059 GB, free: 7.656 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001754/0.4375, allocations: 182 kB / 0.506 GB, free: 7.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4375, allocations: 0 / 0.506 GB, free: 7.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005259/0.4381, allocations: 131.9 kB / 0.5062 GB, free: 7.352 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.0003593/0.4384, allocations: 143.1 kB / 0.5063 GB, free: 7.203 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006813/0.4391, allocations: 391.2 kB / 0.5067 GB, free: 6.809 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4391, allocations: 7.938 kB / 0.5067 GB, free: 6.801 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002708/0.4394, allocations: 218.6 kB / 0.5069 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009123/0.4403, allocations: 177.7 kB / 0.5071 GB, free: 6.398 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.4416, allocations: 0.8398 MB / 0.5079 GB, free: 5.527 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.442, allocations: 0.7645 MB / 0.5086 GB, free: 4.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002723/0.4422, allocations: 75.41 kB / 0.5087 GB, free: 4.664 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4423, allocations: 0 / 0.5087 GB, free: 4.664 MB / 414.1 MB Notification: Performance of Templates: time 0.01083/0.4531, allocations: 7.485 MB / 0.516 GB, free: 13.17 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/jenkins1/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