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.00133/0.00133, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001665/0.001665, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.45/1.45, allocations: 222.9 MB / 242.2 MB, free: 15.21 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.2019/0.2019, allocations: 44.19 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 58.19 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1126, allocations: 60.82 MB / 469.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3812/0.4938, allocations: 149.6 MB / 0.6043 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.4958, allocations: 1.592 MB / 0.6059 GB, free: 9.652 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.584e-05/0.4959, allocations: 0 / 0.6059 GB, free: 9.652 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003971/0.4963, allocations: 58.34 kB / 0.6059 GB, free: 9.598 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.4976, allocations: 403.7 kB / 0.6063 GB, free: 9.203 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005994/0.4982, allocations: 171.4 kB / 0.6065 GB, free: 9.035 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.4985, allocations: 183.2 kB / 0.6066 GB, free: 8.855 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.033e-05/0.4985, allocations: 7.938 kB / 0.6066 GB, free: 8.848 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.4987, allocations: 77.67 kB / 0.6067 GB, free: 8.773 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.4988, allocations: 63.75 kB / 0.6068 GB, free: 8.711 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.4989, allocations: 8 kB / 0.6068 GB, free: 8.703 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001106/0.5, allocations: 0.5885 MB / 0.6074 GB, free: 8.113 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.414e-05/0.5001, allocations: 31.89 kB / 0.6074 GB, free: 8.082 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.327e-05/0.5001, allocations: 47.8 kB / 0.6074 GB, free: 8.035 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005806/0.5007, allocations: 399.1 kB / 0.6078 GB, free: 7.645 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.5007, allocations: 0 / 0.6078 GB, free: 7.645 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.5007, allocations: 0 / 0.6078 GB, free: 7.645 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.5007, allocations: 0 / 0.6078 GB, free: 7.645 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005469/0.5013, allocations: 440 kB / 0.6082 GB, free: 7.168 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.5013, allocations: 8.031 kB / 0.6083 GB, free: 7.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002304/0.5037, allocations: 196.5 kB / 0.6084 GB, free: 6.969 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.5039, allocations: 208.2 kB / 0.6086 GB, free: 6.727 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.5039, allocations: 11.94 kB / 0.6086 GB, free: 6.715 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.504, allocations: 12 kB / 0.6087 GB, free: 6.703 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004404/0.5044, allocations: 207.7 kB / 0.6089 GB, free: 6.496 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.5044, allocations: 0 / 0.6089 GB, free: 6.496 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.529e-05/0.5045, allocations: 8 kB / 0.6089 GB, free: 6.488 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.5045, allocations: 0 / 0.6089 GB, free: 6.488 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005549/0.505, allocations: 239.8 kB / 0.6091 GB, free: 6.254 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.001721/0.5068, allocations: 0.6606 MB / 0.6097 GB, free: 5.535 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/0.5072, allocations: 186.4 kB / 0.6099 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002145/0.5074, allocations: 92.81 kB / 0.61 GB, free: 5.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001951/0.5076, allocations: 93.09 kB / 0.6101 GB, free: 5.141 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.5077, allocations: 34.56 kB / 0.6101 GB, free: 5.098 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.824e-06/0.5077, allocations: 0 / 0.6101 GB, free: 5.098 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.005876/0.5136, allocations: 1.54 MB / 0.6116 GB, free: 3.453 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.5136, allocations: 55.41 kB / 0.6117 GB, free: 3.387 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.5138, allocations: 113.8 kB / 0.6118 GB, free: 3.266 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.5138, allocations: 29.7 kB / 0.6118 GB, free: 3.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.515e-05/0.5139, allocations: 96.33 kB / 0.6119 GB, free: 3.133 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.669e-05/0.514, allocations: 71.02 kB / 0.612 GB, free: 3.062 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.814e-05/0.5141, allocations: 45.7 kB / 0.612 GB, free: 3.012 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5142, allocations: 322.8 kB / 0.6123 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.5144, allocations: 91.89 kB / 0.6124 GB, free: 2.598 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.5147, allocations: 127 kB / 0.6125 GB, free: 2.465 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004765/0.5152, allocations: 224.4 kB / 0.6128 GB, free: 2.234 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5152, allocations: 0 / 0.6128 GB, free: 2.234 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006343/0.5158, allocations: 284.1 kB / 0.613 GB, free: 1.949 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.5159, allocations: 11.92 kB / 0.613 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.5159, allocations: 0 / 0.613 GB, free: 1.938 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001297/0.516, allocations: 24.84 kB / 0.6131 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004589/0.5165, allocations: 51.91 kB / 0.6131 GB, free: 1.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003445/0.5168, allocations: 0.5407 MB / 0.6136 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002948/0.5171, allocations: 8.031 kB / 0.6136 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.5172, allocations: 15.92 kB / 0.6137 GB, free: 1.27 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.0001312/0.5173, allocations: 121.8 kB / 0.6138 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.816e-05/0.5174, allocations: 11.91 kB / 0.6138 GB, free: 1.129 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007801/0.5182, allocations: 315.2 kB / 0.6141 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.5182, allocations: 7.938 kB / 0.6141 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.5182, allocations: 0 / 0.6141 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.5182, allocations: 4 kB / 0.6141 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.5193, allocations: 0.682 MB / 0.6148 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5193, allocations: 0.875 kB / 0.6148 GB, free: 52 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000457/0.5198, allocations: 59.98 kB / 0.6148 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.861e-05/0.5199, allocations: 16.84 kB / 0.6148 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.519e-05/0.5199, allocations: 11.94 kB / 0.6149 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009276/0.5208, allocations: 1.356 MB / 0.6162 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.5208, allocations: 3.938 kB / 0.6162 GB, free: 14.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008336/0.5217, allocations: 450.8 kB / 0.6166 GB, free: 13.99 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.556e-05/0.5217, allocations: 92.94 kB / 0.6167 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.5218, allocations: 9.062 kB / 0.6167 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003433/0.5221, allocations: 4.062 kB / 0.6167 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.5222, allocations: 27.91 kB / 0.6167 GB, free: 13.84 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.5222, allocations: 8 kB / 0.6167 GB, free: 13.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.587e-05/0.5223, allocations: 87.58 kB / 0.6168 GB, free: 13.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5223, allocations: 0 / 0.6168 GB, free: 13.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005228/0.5228, allocations: 131.9 kB / 0.617 GB, free: 13.62 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.0006807/0.5235, allocations: 258.9 kB / 0.6172 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006448/0.5241, allocations: 253.5 kB / 0.6174 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5242, allocations: 0 / 0.6174 GB, free: 13.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003851/0.5245, allocations: 234.5 kB / 0.6177 GB, free: 12.88 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004553/0.525, allocations: 52.31 kB / 0.6177 GB, free: 12.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008672/0.5259, allocations: 475.1 kB / 0.6182 GB, free: 12.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002581/0.5262, allocations: 0.7124 MB / 0.6189 GB, free: 11.58 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003822/0.5266, allocations: 49.39 kB / 0.6189 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.5267, allocations: 23.42 kB / 0.6189 GB, free: 11.51 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5267, allocations: 3.938 kB / 0.6189 GB, free: 11.51 MB / 462.1 MB Notification: Performance of Templates: time 0.01047/0.5371, allocations: 6.184 MB / 0.625 GB, free: 5.34 MB / 462.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches