Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 106.3 kB / 17.98 MB, free: 5.402 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.001523/0.001523, allocations: 193.3 kB / 18.9 MB, free: 4.48 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.381/1.381, allocations: 222.9 MB / 242.6 MB, free: 15.44 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.2284/0.2284, allocations: 44.18 MB / 336.9 MB, free: 2.941 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 60 kB / 408.5 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1213, allocations: 60.83 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3596/0.4809, allocations: 147.3 MB / 0.6022 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001383/0.4823, allocations: 0.97 MB / 0.6031 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.066e-05/0.4824, allocations: 0 / 0.6031 GB, free: 12.83 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002566/0.4827, allocations: 34.31 kB / 0.6032 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007229/0.4834, allocations: 211.5 kB / 0.6034 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.4838, allocations: 112.7 kB / 0.6035 GB, free: 12.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002443/0.4841, allocations: 163.3 kB / 0.6036 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.26e-05/0.4841, allocations: 8 kB / 0.6036 GB, free: 12.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.4844, allocations: 89.66 kB / 0.6037 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.4845, allocations: 55.7 kB / 0.6038 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.4845, allocations: 8 kB / 0.6038 GB, free: 12.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005626/0.4851, allocations: 275.7 kB / 0.6041 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.153e-05/0.4852, allocations: 19.95 kB / 0.6041 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.356e-05/0.4853, allocations: 43.81 kB / 0.6041 GB, free: 11.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003522/0.4856, allocations: 207.6 kB / 0.6043 GB, free: 11.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.4856, allocations: 4 kB / 0.6043 GB, free: 11.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4856, allocations: 0 / 0.6043 GB, free: 11.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.4857, allocations: 0 / 0.6043 GB, free: 11.63 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005362/0.4862, allocations: 411.8 kB / 0.6047 GB, free: 11.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.4862, allocations: 8.031 kB / 0.6047 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/0.4883, allocations: 188.6 kB / 0.6049 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.4886, allocations: 211.9 kB / 0.6051 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.4886, allocations: 8 kB / 0.6051 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.867e-05/0.4887, allocations: 4 kB / 0.6051 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/0.4892, allocations: 216.1 kB / 0.6053 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4892, allocations: 0 / 0.6053 GB, free: 10.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.4892, allocations: 8 kB / 0.6053 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.4892, allocations: 0 / 0.6053 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004384/0.4897, allocations: 175.8 kB / 0.6055 GB, free: 10.33 MB / 446.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.00109/0.4908, allocations: 0.5796 MB / 0.6061 GB, free: 9.691 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003485/0.4912, allocations: 146.4 kB / 0.6062 GB, free: 9.539 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.4913, allocations: 64.83 kB / 0.6063 GB, free: 9.473 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.867e-05/0.4913, allocations: 4 kB / 0.6063 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.4914, allocations: 34.56 kB / 0.6063 GB, free: 9.426 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.4914, allocations: 0 / 0.6063 GB, free: 9.426 MB / 446.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.005429/0.4968, allocations: 1.304 MB / 0.6076 GB, free: 8.039 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.4969, allocations: 55.41 kB / 0.6076 GB, free: 7.973 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.497, allocations: 109.8 kB / 0.6077 GB, free: 7.855 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.4971, allocations: 33.7 kB / 0.6078 GB, free: 7.816 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.807e-05/0.4972, allocations: 99.88 kB / 0.6079 GB, free: 7.715 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.644e-05/0.4972, allocations: 63.05 kB / 0.6079 GB, free: 7.652 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.576e-05/0.4973, allocations: 53.69 kB / 0.608 GB, free: 7.594 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.4975, allocations: 322.8 kB / 0.6083 GB, free: 7.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.4976, allocations: 71.91 kB / 0.6083 GB, free: 7.199 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001747/0.4978, allocations: 112.9 kB / 0.6085 GB, free: 7.078 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.4982, allocations: 185.5 kB / 0.6086 GB, free: 6.887 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.4982, allocations: 0 / 0.6086 GB, free: 6.887 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000503/0.4987, allocations: 259 kB / 0.6089 GB, free: 6.625 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.4987, allocations: 8 kB / 0.6089 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.4987, allocations: 0 / 0.6089 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001808/0.4989, allocations: 48.83 kB / 0.6089 GB, free: 6.566 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.4993, allocations: 59.89 kB / 0.609 GB, free: 6.508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004262/0.4997, allocations: 0.5644 MB / 0.6095 GB, free: 5.918 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001917/0.4999, allocations: 8.031 kB / 0.6095 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/0.5, allocations: 24 kB / 0.6096 GB, free: 5.887 MB / 446.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.0001364/0.5001, allocations: 125.8 kB / 0.6097 GB, free: 5.754 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.5002, allocations: 7.906 kB / 0.6097 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008375/0.501, allocations: 357.2 kB / 0.61 GB, free: 5.387 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.501, allocations: 0.5 kB / 0.61 GB, free: 5.387 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.501, allocations: 0 / 0.61 GB, free: 5.387 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.501, allocations: 7.984 kB / 0.61 GB, free: 5.379 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.5021, allocations: 0.616 MB / 0.6106 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.5021, allocations: 4.969 kB / 0.6107 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003642/0.5025, allocations: 59.95 kB / 0.6107 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.051e-05/0.5026, allocations: 24.78 kB / 0.6107 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/0.5026, allocations: 15.98 kB / 0.6107 GB, free: 4.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.5036, allocations: 1.368 MB / 0.6121 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5037, allocations: 3.938 kB / 0.6121 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006889/0.5043, allocations: 441.5 kB / 0.6125 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.5045, allocations: 85.02 kB / 0.6126 GB, free: 2.52 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.5045, allocations: 4 kB / 0.6126 GB, free: 2.516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.5048, allocations: 19.98 kB / 0.6126 GB, free: 2.496 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.5048, allocations: 27.91 kB / 0.6126 GB, free: 2.469 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-05/0.5049, allocations: 28 kB / 0.6127 GB, free: 2.441 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.808e-05/0.5049, allocations: 87.27 kB / 0.6127 GB, free: 2.355 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5049, allocations: 0 / 0.6127 GB, free: 2.355 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004178/0.5053, allocations: 79.94 kB / 0.6128 GB, free: 2.277 MB / 446.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 (21): * Single equations (assignments): 20 * 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.0003463/0.5057, allocations: 143.7 kB / 0.613 GB, free: 2.129 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005366/0.5062, allocations: 219.9 kB / 0.6132 GB, free: 1.914 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5063, allocations: 4 kB / 0.6132 GB, free: 1.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003343/0.5066, allocations: 221.1 kB / 0.6134 GB, free: 1.684 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004441/0.5071, allocations: 44.38 kB / 0.6134 GB, free: 1.641 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008899/0.508, allocations: 0.5383 MB / 0.614 GB, free: 1.062 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.5082, allocations: 0.7085 MB / 0.6146 GB, free: 336 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.5085, allocations: 59.39 kB / 0.6147 GB, free: 276 kB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.5085, allocations: 4 kB / 0.6147 GB, free: 272 kB / 446.1 MB Notification: Performance of Templates: time 0.006323/0.5148, allocations: 3.794 MB / 0.6184 GB, free: 12.48 MB / 462.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches