Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_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.001279/0.00128, allocations: 119.2 kB / 17.09 MB, free: 5.965 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.001512/0.001513, allocations: 197.2 kB / 18.02 MB, free: 5.047 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.557/1.557, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2218/0.2218, allocations: 43.52 MB / 314.8 MB, free: 460 kB / 254.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.001478/0.001478, allocations: 65.47 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1017, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3816/0.4834, allocations: 150.9 MB / 0.6358 GB, free: 3.965 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.4856, allocations: 1.486 MB / 0.6373 GB, free: 2.492 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.461e-05/0.4857, allocations: 0 / 0.6373 GB, free: 2.492 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003574/0.4861, allocations: 51.67 kB / 0.6374 GB, free: 2.441 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.4874, allocations: 394.2 kB / 0.6377 GB, free: 2.062 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005275/0.4879, allocations: 172.3 kB / 0.6379 GB, free: 1.895 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002924/0.4882, allocations: 179.3 kB / 0.6381 GB, free: 1.719 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.976e-05/0.4883, allocations: 11.98 kB / 0.6381 GB, free: 1.707 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001822/0.4885, allocations: 79.75 kB / 0.6381 GB, free: 1.629 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.4886, allocations: 55.77 kB / 0.6382 GB, free: 1.574 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.566e-05/0.4887, allocations: 8 kB / 0.6382 GB, free: 1.566 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001256/0.4899, allocations: 0.5729 MB / 0.6388 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.399e-05/0.49, allocations: 35.95 kB / 0.6388 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.82e-05/0.4901, allocations: 51.8 kB / 0.6389 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007366/0.4908, allocations: 386.1 kB / 0.6392 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.4908, allocations: 0 / 0.6392 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4908, allocations: 0 / 0.6392 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.4909, allocations: 0 / 0.6392 GB, free: 0.5312 MB / 478.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.0005746/0.4914, allocations: 431.3 kB / 0.6396 GB, free: 64 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.4915, allocations: 11.89 kB / 0.6396 GB, free: 52 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002403/0.4939, allocations: 201.1 kB / 0.6398 GB, free: 15.86 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.4941, allocations: 204.2 kB / 0.64 GB, free: 15.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.4942, allocations: 16.25 kB / 0.64 GB, free: 15.6 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.518e-05/0.4942, allocations: 11.91 kB / 0.6401 GB, free: 15.59 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004717/0.4947, allocations: 201.5 kB / 0.6402 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.4947, allocations: 3.984 kB / 0.6403 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.4948, allocations: 0 / 0.6403 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4948, allocations: 8 kB / 0.6403 GB, free: 15.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005879/0.4954, allocations: 243.7 kB / 0.6405 GB, free: 15.14 MB / 494.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.001823/0.4972, allocations: 0.6491 MB / 0.6411 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004302/0.4976, allocations: 196.9 kB / 0.6413 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/0.4979, allocations: 96.75 kB / 0.6414 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001565/0.498, allocations: 93.08 kB / 0.6415 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.702e-05/0.4981, allocations: 34.56 kB / 0.6415 GB, free: 13.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.4981, allocations: 0 / 0.6415 GB, free: 13.98 MB / 494.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.005744/0.5038, allocations: 1.521 MB / 0.643 GB, free: 12.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.167e-05/0.5039, allocations: 55.41 kB / 0.6431 GB, free: 12.29 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.861e-05/0.504, allocations: 109.8 kB / 0.6432 GB, free: 12.17 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/0.504, allocations: 29.7 kB / 0.6432 GB, free: 12.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.317e-05/0.5041, allocations: 100.3 kB / 0.6433 GB, free: 12.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.185e-05/0.5042, allocations: 74.88 kB / 0.6434 GB, free: 11.96 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.5043, allocations: 45.69 kB / 0.6434 GB, free: 11.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.5044, allocations: 322.8 kB / 0.6437 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002176/0.5046, allocations: 95.95 kB / 0.6438 GB, free: 11.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.5049, allocations: 123.1 kB / 0.6439 GB, free: 11.36 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004918/0.5054, allocations: 227.3 kB / 0.6441 GB, free: 11.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.5054, allocations: 4 kB / 0.6441 GB, free: 11.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006179/0.506, allocations: 286.1 kB / 0.6444 GB, free: 10.83 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.506, allocations: 4 kB / 0.6444 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.5061, allocations: 0 / 0.6444 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001229/0.5062, allocations: 28.94 kB / 0.6445 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.5067, allocations: 55.89 kB / 0.6445 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003546/0.507, allocations: 0.5329 MB / 0.645 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003163/0.5074, allocations: 8.781 kB / 0.645 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.55e-05/0.5074, allocations: 11.98 kB / 0.645 GB, free: 10.16 MB / 494.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.0001956/0.5076, allocations: 133.8 kB / 0.6452 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.101e-05/0.5077, allocations: 15.89 kB / 0.6452 GB, free: 10 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007541/0.5084, allocations: 315 kB / 0.6455 GB, free: 9.688 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.5085, allocations: 4 kB / 0.6455 GB, free: 9.684 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-06/0.5085, allocations: 7.875 kB / 0.6455 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5085, allocations: 0 / 0.6455 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.5097, allocations: 0.684 MB / 0.6462 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.5097, allocations: 0 / 0.6462 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004748/0.5102, allocations: 47.91 kB / 0.6462 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.089e-05/0.5103, allocations: 16.84 kB / 0.6462 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.5103, allocations: 11.98 kB / 0.6462 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009576/0.5113, allocations: 1.368 MB / 0.6476 GB, free: 7.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.5113, allocations: 8.031 kB / 0.6476 GB, free: 7.332 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000835/0.5121, allocations: 446.2 kB / 0.648 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.5122, allocations: 92.97 kB / 0.6481 GB, free: 6.762 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.885e-05/0.5122, allocations: 8.062 kB / 0.6481 GB, free: 6.754 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/0.5126, allocations: 19.92 kB / 0.6481 GB, free: 6.734 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.5126, allocations: 15.97 kB / 0.6481 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.15e-05/0.5127, allocations: 12 kB / 0.6482 GB, free: 6.707 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.565e-05/0.5127, allocations: 83.27 kB / 0.6482 GB, free: 6.625 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5127, allocations: 4 kB / 0.6482 GB, free: 6.621 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000505/0.5132, allocations: 127.9 kB / 0.6484 GB, free: 6.496 MB / 494.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.0006365/0.5139, allocations: 251 kB / 0.6486 GB, free: 6.242 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005991/0.5145, allocations: 235.7 kB / 0.6488 GB, free: 6.012 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5145, allocations: 3.938 kB / 0.6488 GB, free: 6.008 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003911/0.5149, allocations: 230.6 kB / 0.649 GB, free: 5.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.5154, allocations: 56.69 kB / 0.6491 GB, free: 5.715 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008647/0.5162, allocations: 0.4929 MB / 0.6496 GB, free: 5.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.5165, allocations: 0.7085 MB / 0.6503 GB, free: 4.445 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.5167, allocations: 23.42 kB / 0.6503 GB, free: 4.422 MB / 494.1 MB Notification: Performance of SimCode: time 3.61e-07/0.5167, allocations: 0 / 0.6503 GB, free: 4.422 MB / 494.1 MB Notification: Performance of Templates: time 0.007732/0.5245, allocations: 5.131 MB / 0.6553 GB, free: 15.29 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches