Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001366/0.001366, allocations: 94 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002041/0.002042, allocations: 200.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.7 MB / 246.8 MB, free: 9.754 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2638/0.2638, allocations: 46.19 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002638/0.0002639, allocations: 8 kB / 419.5 MB, free: 19.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1117, allocations: 63.56 MB / 483.1 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3807/0.4924, allocations: 148.3 MB / 0.6166 GB, free: 300 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.4946, allocations: 1.612 MB / 0.6182 GB, free: 14.69 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.4946, allocations: 0 / 0.6182 GB, free: 14.69 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.495, allocations: 49.91 kB / 0.6182 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008517/0.4958, allocations: 372.5 kB / 0.6186 GB, free: 14.28 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.4963, allocations: 159.2 kB / 0.6188 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00027/0.4966, allocations: 243.2 kB / 0.619 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.4966, allocations: 7.984 kB / 0.619 GB, free: 13.88 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.4967, allocations: 77.61 kB / 0.6191 GB, free: 13.81 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.4969, allocations: 59.81 kB / 0.6191 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.4969, allocations: 11.94 kB / 0.6191 GB, free: 13.74 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001092/0.498, allocations: 0.7055 MB / 0.6198 GB, free: 13.03 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 6.027e-05/0.4981, allocations: 35.89 kB / 0.6199 GB, free: 13 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 8.297e-05/0.4982, allocations: 73.48 kB / 0.6199 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006494/0.4988, allocations: 438.9 kB / 0.6203 GB, free: 12.49 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4988, allocations: 0 / 0.6203 GB, free: 12.49 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.4989, allocations: 0 / 0.6203 GB, free: 12.49 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.4989, allocations: 3.938 kB / 0.6204 GB, free: 12.48 MB / 462.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.0005806/0.4994, allocations: 414.1 kB / 0.6207 GB, free: 12.04 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.4995, allocations: 8.875 kB / 0.6208 GB, free: 12.03 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/0.5017, allocations: 192.6 kB / 0.6209 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.502, allocations: 212.2 kB / 0.6211 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.502, allocations: 7.875 kB / 0.6211 GB, free: 11.59 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.769e-05/0.502, allocations: 12 kB / 0.6212 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004697/0.5025, allocations: 201.5 kB / 0.6214 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.5025, allocations: 0 / 0.6214 GB, free: 11.37 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.384e-05/0.5026, allocations: 8 kB / 0.6214 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.5026, allocations: 0 / 0.6214 GB, free: 11.36 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005877/0.5032, allocations: 239.8 kB / 0.6216 GB, free: 11.13 MB / 462.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.00172/0.5049, allocations: 0.6777 MB / 0.6222 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000431/0.5054, allocations: 182.5 kB / 0.6224 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.5056, allocations: 92.81 kB / 0.6225 GB, free: 10.12 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000146/0.5057, allocations: 93.09 kB / 0.6226 GB, free: 10.01 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.5058, allocations: 34.56 kB / 0.6226 GB, free: 9.965 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.5058, allocations: 0 / 0.6226 GB, free: 9.965 MB / 462.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.005796/0.5116, allocations: 1.538 MB / 0.6241 GB, free: 8.312 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.5116, allocations: 51.41 kB / 0.6242 GB, free: 8.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.724e-05/0.5117, allocations: 118 kB / 0.6243 GB, free: 8.125 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.5118, allocations: 25.7 kB / 0.6243 GB, free: 8.094 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.575e-05/0.5118, allocations: 100.4 kB / 0.6244 GB, free: 7.992 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.873e-05/0.5119, allocations: 74.89 kB / 0.6245 GB, free: 7.918 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/0.512, allocations: 21.7 kB / 0.6245 GB, free: 7.891 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.5121, allocations: 326.8 kB / 0.6248 GB, free: 7.562 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.5123, allocations: 87.95 kB / 0.6249 GB, free: 7.477 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.5125, allocations: 119.4 kB / 0.625 GB, free: 7.348 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/0.513, allocations: 234.8 kB / 0.6252 GB, free: 7.109 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.513, allocations: 0 / 0.6252 GB, free: 7.109 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006269/0.5137, allocations: 282.2 kB / 0.6255 GB, free: 6.824 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.5137, allocations: 4.094 kB / 0.6255 GB, free: 6.82 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5137, allocations: 4 kB / 0.6255 GB, free: 6.816 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001403/0.5138, allocations: 20.84 kB / 0.6255 GB, free: 6.793 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004856/0.5143, allocations: 59.89 kB / 0.6256 GB, free: 6.734 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003773/0.5147, allocations: 0.5406 MB / 0.6261 GB, free: 6.168 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.515, allocations: 12.06 kB / 0.6261 GB, free: 6.156 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.725e-05/0.5151, allocations: 23.86 kB / 0.6262 GB, free: 6.133 MB / 462.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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.5152, allocations: 121.8 kB / 0.6263 GB, free: 6.004 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-05/0.5153, allocations: 8.781 kB / 0.6263 GB, free: 5.996 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007785/0.5161, allocations: 311.1 kB / 0.6266 GB, free: 5.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.5161, allocations: 3.938 kB / 0.6266 GB, free: 5.676 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.5161, allocations: 0 / 0.6266 GB, free: 5.676 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.5161, allocations: 0 / 0.6266 GB, free: 5.676 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.5172, allocations: 0.6738 MB / 0.6272 GB, free: 4.938 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.5172, allocations: 3.938 kB / 0.6272 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004459/0.5177, allocations: 51.95 kB / 0.6273 GB, free: 4.883 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.365e-05/0.5178, allocations: 24.78 kB / 0.6273 GB, free: 4.855 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.5178, allocations: 11.98 kB / 0.6273 GB, free: 4.844 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008564/0.5187, allocations: 1.262 MB / 0.6286 GB, free: 3.449 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.5187, allocations: 8.125 kB / 0.6286 GB, free: 3.441 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000836/0.5196, allocations: 445.1 kB / 0.629 GB, free: 2.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.5196, allocations: 89.11 kB / 0.6291 GB, free: 2.875 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.5197, allocations: 11.94 kB / 0.6291 GB, free: 2.863 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.52, allocations: 15.89 kB / 0.6291 GB, free: 2.848 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.5201, allocations: 15.92 kB / 0.6291 GB, free: 2.832 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.783e-05/0.5201, allocations: 11.98 kB / 0.6291 GB, free: 2.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.971e-05/0.5202, allocations: 87.28 kB / 0.6292 GB, free: 2.734 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5202, allocations: 0 / 0.6292 GB, free: 2.734 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000559/0.5207, allocations: 139.9 kB / 0.6293 GB, free: 2.598 MB / 462.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 (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.0006315/0.5214, allocations: 263 kB / 0.6296 GB, free: 2.332 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005841/0.522, allocations: 235.7 kB / 0.6298 GB, free: 2.102 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.522, allocations: 0 / 0.6298 GB, free: 2.102 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000393/0.5224, allocations: 226.6 kB / 0.63 GB, free: 1.867 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.5229, allocations: 52.27 kB / 0.6301 GB, free: 1.816 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008658/0.5237, allocations: 0.5741 MB / 0.6307 GB, free: 1.211 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.524, allocations: 0.7049 MB / 0.6313 GB, free: 492 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003981/0.5244, allocations: 57.38 kB / 0.6314 GB, free: 436 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.5246, allocations: 27.36 kB / 0.6314 GB, free: 408 kB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5246, allocations: 0 / 0.6314 GB, free: 408 kB / 462.1 MB Notification: Performance of Templates: time 0.009551/0.5341, allocations: 6.037 MB / 0.6373 GB, free: 10.38 MB / 478.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches