Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 93.28 kB / 16.98 MB, free: 5.938 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.001282/0.001283, allocations: 185 kB / 17.87 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.228/0.228, allocations: 44.23 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003804, allocations: 10.09 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1288, allocations: 61.92 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4092/0.538, allocations: 125.7 MB / 0.5831 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.5397, allocations: 1.319 MB / 0.5844 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.412e-05/0.5397, allocations: 0 / 0.5844 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.54, allocations: 43.8 kB / 0.5845 GB, free: 2.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007159/0.5407, allocations: 291.2 kB / 0.5847 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003812/0.5411, allocations: 131.6 kB / 0.5849 GB, free: 2.531 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.5413, allocations: 107.8 kB / 0.585 GB, free: 2.426 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.5414, allocations: 8 kB / 0.585 GB, free: 2.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.5415, allocations: 83.73 kB / 0.5851 GB, free: 2.336 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.5417, allocations: 47.83 kB / 0.5851 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.5417, allocations: 4 kB / 0.5851 GB, free: 2.285 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008157/0.5425, allocations: 447.3 kB / 0.5855 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.5426, allocations: 27.97 kB / 0.5856 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.413e-05/0.5426, allocations: 41.64 kB / 0.5856 GB, free: 1.773 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003622/0.543, allocations: 269.3 kB / 0.5859 GB, free: 1.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.543, allocations: 0 / 0.5859 GB, free: 1.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.543, allocations: 4 kB / 0.5859 GB, free: 1.516 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.543, allocations: 0 / 0.5859 GB, free: 1.516 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004665/0.5435, allocations: 403.9 kB / 0.5862 GB, free: 1.074 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.5435, allocations: 8.031 kB / 0.5863 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/0.5457, allocations: 195.6 kB / 0.5864 GB, free: 0.875 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.5459, allocations: 210.9 kB / 0.5866 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.5459, allocations: 8.188 kB / 0.5867 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.843e-05/0.546, allocations: 11.95 kB / 0.5867 GB, free: 0.6094 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.5464, allocations: 200.7 kB / 0.5869 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.5464, allocations: 0 / 0.5869 GB, free: 420 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.5465, allocations: 4 kB / 0.5869 GB, free: 416 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.5465, allocations: 7.938 kB / 0.5869 GB, free: 408 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005315/0.547, allocations: 232.4 kB / 0.5871 GB, free: 176 kB / 414.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.001696/0.5487, allocations: 0.6847 MB / 0.5878 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/0.5491, allocations: 182.5 kB / 0.5879 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000155/0.5493, allocations: 97.05 kB / 0.588 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.5493, allocations: 30.56 kB / 0.5881 GB, free: 15.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.5494, allocations: 0 / 0.5881 GB, free: 15.09 MB / 430.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005536/0.5549, allocations: 1.531 MB / 0.5895 GB, free: 13.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.555, allocations: 55.41 kB / 0.5896 GB, free: 13.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.279e-05/0.5551, allocations: 109.8 kB / 0.5897 GB, free: 13.27 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.5551, allocations: 33.64 kB / 0.5897 GB, free: 13.23 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.5552, allocations: 100.2 kB / 0.5898 GB, free: 13.12 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.391e-05/0.5552, allocations: 71 kB / 0.5899 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.5553, allocations: 8 kB / 0.5899 GB, free: 13.05 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.5554, allocations: 314.8 kB / 0.5902 GB, free: 12.73 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.5556, allocations: 91.95 kB / 0.5903 GB, free: 12.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.5558, allocations: 119.4 kB / 0.5904 GB, free: 12.51 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.5561, allocations: 101.5 kB / 0.5905 GB, free: 12.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.5561, allocations: 3.938 kB / 0.5905 GB, free: 12.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005958/0.5567, allocations: 282.4 kB / 0.5908 GB, free: 12.12 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.5567, allocations: 11.94 kB / 0.5908 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/0.5567, allocations: 2.25 kB / 0.5908 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.5569, allocations: 28.94 kB / 0.5908 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.5574, allocations: 51.97 kB / 0.5909 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003722/0.5577, allocations: 0.5328 MB / 0.5914 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000297/0.5581, allocations: 16.02 kB / 0.5914 GB, free: 11.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.04e-05/0.5581, allocations: 8.094 kB / 0.5914 GB, free: 11.45 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001636/0.5583, allocations: 136.4 kB / 0.5915 GB, free: 11.31 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.5583, allocations: 7.906 kB / 0.5916 GB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007554/0.5591, allocations: 315.1 kB / 0.5919 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.5591, allocations: 0 / 0.5919 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.5591, allocations: 0 / 0.5919 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5591, allocations: 0 / 0.5919 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.5602, allocations: 0.6718 MB / 0.5925 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5602, allocations: 0 / 0.5925 GB, free: 10.24 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/0.5607, allocations: 55.89 kB / 0.5926 GB, free: 10.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.754e-05/0.5608, allocations: 16.84 kB / 0.5926 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.5608, allocations: 8 kB / 0.5926 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009122/0.5617, allocations: 1.281 MB / 0.5938 GB, free: 8.746 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5617, allocations: 7.938 kB / 0.5938 GB, free: 8.738 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008179/0.5626, allocations: 494.5 kB / 0.5943 GB, free: 8.211 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.167e-05/0.5626, allocations: 85.05 kB / 0.5944 GB, free: 8.109 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.5627, allocations: 3.984 kB / 0.5944 GB, free: 8.105 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/0.563, allocations: 12 kB / 0.5944 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.421e-05/0.563, allocations: 19.97 kB / 0.5944 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.5631, allocations: 7.953 kB / 0.5944 GB, free: 8.066 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.852e-05/0.5631, allocations: 91.58 kB / 0.5945 GB, free: 7.977 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5631, allocations: 0 / 0.5945 GB, free: 7.977 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005659/0.5637, allocations: 140 kB / 0.5947 GB, free: 7.84 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006182/0.5643, allocations: 234.9 kB / 0.5949 GB, free: 7.602 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005859/0.5649, allocations: 241.1 kB / 0.5951 GB, free: 7.371 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.565, allocations: 0 / 0.5951 GB, free: 7.371 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003784/0.5653, allocations: 234.5 kB / 0.5953 GB, free: 7.129 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.5657, allocations: 44.16 kB / 0.5954 GB, free: 7.086 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008128/0.5665, allocations: 0.563 MB / 0.5959 GB, free: 6.484 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.5668, allocations: 0.7127 MB / 0.5966 GB, free: 5.746 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003883/0.5672, allocations: 53.38 kB / 0.5967 GB, free: 5.695 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.5673, allocations: 23.38 kB / 0.5967 GB, free: 5.672 MB / 430.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5673, allocations: 4 kB / 0.5967 GB, free: 5.668 MB / 430.1 MB Notification: Performance of Templates: time 0.01011/0.5774, allocations: 5.989 MB / 0.6026 GB, free: 15.7 MB / 446.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches