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.001273/0.001273, allocations: 106.9 kB / 17.21 MB, free: 6.273 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.001275/0.001275, allocations: 194 kB / 18.12 MB, free: 5.363 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.366/1.366, allocations: 222.9 MB / 241.8 MB, free: 15.49 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.2168/0.2168, allocations: 44.17 MB / 336.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002346/0.002346, allocations: 65.5 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1515, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4979/0.6494, allocations: 147.3 MB / 0.6014 GB, free: 14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.6517, allocations: 1.651 MB / 0.603 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.707e-05/0.6518, allocations: 0 / 0.603 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003249/0.6521, allocations: 50.53 kB / 0.6031 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008738/0.653, allocations: 366.4 kB / 0.6034 GB, free: 11.95 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.6535, allocations: 147.3 kB / 0.6036 GB, free: 11.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000279/0.6538, allocations: 247.2 kB / 0.6038 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.285e-05/0.6538, allocations: 11.94 kB / 0.6038 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001599/0.654, allocations: 73.67 kB / 0.6039 GB, free: 11.49 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.6542, allocations: 59.75 kB / 0.604 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.6542, allocations: 4 kB / 0.604 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/0.6554, allocations: 0.7062 MB / 0.6046 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.169e-05/0.6555, allocations: 27.89 kB / 0.6047 GB, free: 10.69 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.995e-05/0.6556, allocations: 47.8 kB / 0.6047 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006363/0.6562, allocations: 450.8 kB / 0.6051 GB, free: 10.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.6562, allocations: 4 kB / 0.6051 GB, free: 10.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.6562, allocations: 0 / 0.6051 GB, free: 10.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.6562, allocations: 0 / 0.6051 GB, free: 10.2 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.0005709/0.6568, allocations: 424.1 kB / 0.6056 GB, free: 9.738 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.6569, allocations: 15.97 kB / 0.6056 GB, free: 9.723 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00265/0.6595, allocations: 196.6 kB / 0.6058 GB, free: 9.531 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.6598, allocations: 208.1 kB / 0.606 GB, free: 9.289 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.6599, allocations: 12.81 kB / 0.606 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.614e-05/0.6599, allocations: 8 kB / 0.606 GB, free: 9.27 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005637/0.6605, allocations: 197.5 kB / 0.6062 GB, free: 9.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.6605, allocations: 3.984 kB / 0.6062 GB, free: 9.066 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.65e-05/0.6606, allocations: 0 / 0.6062 GB, free: 9.066 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.6606, allocations: 4 kB / 0.6062 GB, free: 9.062 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006431/0.6612, allocations: 243.7 kB / 0.6064 GB, free: 8.824 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.001778/0.663, allocations: 0.6688 MB / 0.6071 GB, free: 8.098 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004521/0.6635, allocations: 186.5 kB / 0.6072 GB, free: 7.906 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.6637, allocations: 100.3 kB / 0.6073 GB, free: 7.809 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001533/0.6639, allocations: 89.09 kB / 0.6074 GB, free: 7.703 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.6639, allocations: 38.56 kB / 0.6075 GB, free: 7.656 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.593e-06/0.6639, allocations: 0 / 0.6075 GB, free: 7.656 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.0057/0.6696, allocations: 1.539 MB / 0.609 GB, free: 6.008 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/0.6697, allocations: 51.41 kB / 0.609 GB, free: 5.945 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.11e-05/0.6698, allocations: 113.8 kB / 0.6091 GB, free: 5.824 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.6698, allocations: 29.7 kB / 0.6091 GB, free: 5.789 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.375e-05/0.6699, allocations: 100.3 kB / 0.6092 GB, free: 5.688 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.89e-05/0.6699, allocations: 63.05 kB / 0.6093 GB, free: 5.625 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.67, allocations: 45.69 kB / 0.6093 GB, free: 5.574 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.6702, allocations: 322.8 kB / 0.6096 GB, free: 5.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.6704, allocations: 87.95 kB / 0.6097 GB, free: 5.164 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.6707, allocations: 125.2 kB / 0.6099 GB, free: 5.031 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004739/0.6711, allocations: 220.8 kB / 0.6101 GB, free: 4.805 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6711, allocations: 11.94 kB / 0.6101 GB, free: 4.793 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006421/0.6718, allocations: 284.4 kB / 0.6103 GB, free: 4.508 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.6718, allocations: 8 kB / 0.6104 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-06/0.6718, allocations: 0 / 0.6104 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001281/0.672, allocations: 28.78 kB / 0.6104 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/0.6724, allocations: 56.05 kB / 0.6104 GB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003704/0.6728, allocations: 0.5443 MB / 0.611 GB, free: 3.848 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002914/0.6731, allocations: 8.031 kB / 0.611 GB, free: 3.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.6732, allocations: 15.92 kB / 0.611 GB, free: 3.824 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.0001269/0.6733, allocations: 121.9 kB / 0.6111 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.98e-05/0.6734, allocations: 15.84 kB / 0.6111 GB, free: 3.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007976/0.6742, allocations: 303.2 kB / 0.6114 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.6742, allocations: 11.94 kB / 0.6114 GB, free: 3.359 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6742, allocations: 0 / 0.6114 GB, free: 3.359 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.6742, allocations: 0 / 0.6114 GB, free: 3.359 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.6753, allocations: 0.6716 MB / 0.6121 GB, free: 2.621 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.6753, allocations: 8.094 kB / 0.6121 GB, free: 2.613 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004669/0.6758, allocations: 51.89 kB / 0.6121 GB, free: 2.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-05/0.6759, allocations: 20.84 kB / 0.6122 GB, free: 2.539 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/0.676, allocations: 11.98 kB / 0.6122 GB, free: 2.527 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008917/0.6768, allocations: 1.268 MB / 0.6134 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.6769, allocations: 0 / 0.6134 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008568/0.6777, allocations: 454.6 kB / 0.6138 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.916e-05/0.6778, allocations: 85.05 kB / 0.6139 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.6778, allocations: 11.94 kB / 0.6139 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003337/0.6782, allocations: 11.98 kB / 0.6139 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.6782, allocations: 16.05 kB / 0.614 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/0.6783, allocations: 15.98 kB / 0.614 GB, free: 0.4961 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.661e-05/0.6783, allocations: 83.27 kB / 0.614 GB, free: 424 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6783, allocations: 0 / 0.614 GB, free: 424 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005807/0.6789, allocations: 131.9 kB / 0.6142 GB, free: 292 kB / 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 (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.0007547/0.6797, allocations: 260.3 kB / 0.6144 GB, free: 24 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006379/0.6803, allocations: 231.4 kB / 0.6146 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6803, allocations: 4.188 kB / 0.6146 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004066/0.6807, allocations: 234.5 kB / 0.6149 GB, free: 15.56 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.6812, allocations: 47.83 kB / 0.6149 GB, free: 15.51 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009159/0.6821, allocations: 0.515 MB / 0.6154 GB, free: 14.96 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.6824, allocations: 0.7126 MB / 0.6161 GB, free: 14.22 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004289/0.6829, allocations: 57.92 kB / 0.6162 GB, free: 14.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.683, allocations: 19.42 kB / 0.6162 GB, free: 14.14 MB / 462.1 MB Notification: Performance of SimCode: time 1.673e-06/0.683, allocations: 4 kB / 0.6162 GB, free: 14.14 MB / 462.1 MB Notification: Performance of Templates: time 0.009901/0.6929, allocations: 6.053 MB / 0.6221 GB, free: 8.113 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