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.001102/0.001103, allocations: 90.98 kB / 18 MB, free: 5.734 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.001463/0.001463, allocations: 177.6 kB / 18.91 MB, free: 4.871 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.363/1.363, allocations: 223.3 MB / 243 MB, free: 8 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2038/0.2038, allocations: 44.25 MB / 338.3 MB, free: 2.629 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003278, allocations: 8 kB / 411 MB, free: 27.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1065, allocations: 61.94 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3904/0.4969, allocations: 145.5 MB / 0.6039 GB, free: 1.273 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002492/0.4995, allocations: 1.615 MB / 0.6055 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.4996, allocations: 4 kB / 0.6055 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003983/0.5, allocations: 51.78 kB / 0.6055 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.5015, allocations: 366.4 kB / 0.6059 GB, free: 15.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006313/0.5022, allocations: 147.6 kB / 0.606 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004076/0.5026, allocations: 247.2 kB / 0.6062 GB, free: 14.87 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.985e-05/0.5027, allocations: 4 kB / 0.6062 GB, free: 14.87 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002481/0.5029, allocations: 73.66 kB / 0.6063 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.5031, allocations: 63.77 kB / 0.6064 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.5032, allocations: 4 kB / 0.6064 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001489/0.5047, allocations: 0.7055 MB / 0.6071 GB, free: 14.02 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.787e-05/0.5048, allocations: 30.44 kB / 0.6071 GB, free: 14 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.5049, allocations: 77.48 kB / 0.6072 GB, free: 13.91 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006025/0.5055, allocations: 287.4 kB / 0.6074 GB, free: 13.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5055, allocations: 0 / 0.6074 GB, free: 13.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.696e-06/0.5055, allocations: 0 / 0.6074 GB, free: 13.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.5055, allocations: 8 kB / 0.6074 GB, free: 13.62 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.000678/0.5062, allocations: 408 kB / 0.6078 GB, free: 13.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.5063, allocations: 8.031 kB / 0.6078 GB, free: 13.17 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002399/0.5087, allocations: 192.6 kB / 0.608 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002847/0.509, allocations: 212.1 kB / 0.6082 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.509, allocations: 7.938 kB / 0.6082 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.099e-05/0.5091, allocations: 12 kB / 0.6082 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.5096, allocations: 201.5 kB / 0.6084 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.5096, allocations: 0 / 0.6084 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.5096, allocations: 4 kB / 0.6084 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.5096, allocations: 0 / 0.6084 GB, free: 12.51 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006098/0.5103, allocations: 239.8 kB / 0.6087 GB, free: 12.28 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.00203/0.5123, allocations: 0.6804 MB / 0.6093 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004829/0.5128, allocations: 182.5 kB / 0.6095 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.513, allocations: 95.62 kB / 0.6096 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/0.5132, allocations: 97.08 kB / 0.6097 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.939e-05/0.5133, allocations: 34.56 kB / 0.6097 GB, free: 11.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 4.138e-06/0.5133, allocations: 0 / 0.6097 GB, free: 11.1 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.006072/0.5194, allocations: 1.542 MB / 0.6112 GB, free: 9.449 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.5195, allocations: 55.41 kB / 0.6113 GB, free: 9.383 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.5196, allocations: 109.8 kB / 0.6114 GB, free: 9.266 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/0.5196, allocations: 29.7 kB / 0.6114 GB, free: 9.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.584e-05/0.5197, allocations: 96.41 kB / 0.6115 GB, free: 9.133 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.275e-05/0.5198, allocations: 78.92 kB / 0.6116 GB, free: 9.055 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-05/0.5199, allocations: 21.72 kB / 0.6116 GB, free: 9.027 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.52, allocations: 318.8 kB / 0.6119 GB, free: 8.707 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.5202, allocations: 91.95 kB / 0.612 GB, free: 8.617 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00026/0.5205, allocations: 123.4 kB / 0.6121 GB, free: 8.484 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004832/0.521, allocations: 229.1 kB / 0.6123 GB, free: 8.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.521, allocations: 0 / 0.6123 GB, free: 8.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006609/0.5217, allocations: 284.3 kB / 0.6126 GB, free: 7.965 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.5217, allocations: 4 kB / 0.6126 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.5217, allocations: 7.938 kB / 0.6126 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/0.5219, allocations: 24.84 kB / 0.6126 GB, free: 7.926 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.5224, allocations: 47.97 kB / 0.6127 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004055/0.5228, allocations: 0.5407 MB / 0.6132 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.5231, allocations: 15.89 kB / 0.6132 GB, free: 7.297 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.5232, allocations: 11.94 kB / 0.6132 GB, free: 7.285 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.0001526/0.5233, allocations: 121.8 kB / 0.6134 GB, free: 7.156 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.462e-05/0.5234, allocations: 11.91 kB / 0.6134 GB, free: 7.145 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008959/0.5243, allocations: 322.4 kB / 0.6137 GB, free: 6.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.5243, allocations: 7.938 kB / 0.6137 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.5244, allocations: 0 / 0.6137 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.5244, allocations: 3.984 kB / 0.6137 GB, free: 6.809 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.5256, allocations: 0.6665 MB / 0.6143 GB, free: 6.078 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.5257, allocations: 7.938 kB / 0.6143 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004682/0.5261, allocations: 55.89 kB / 0.6144 GB, free: 6.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.226e-05/0.5262, allocations: 20.94 kB / 0.6144 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/0.5263, allocations: 8.875 kB / 0.6144 GB, free: 5.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/0.5273, allocations: 1.269 MB / 0.6157 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.5274, allocations: 0 / 0.6157 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000925/0.5283, allocations: 450.7 kB / 0.6161 GB, free: 4.113 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.795e-05/0.5284, allocations: 89.05 kB / 0.6162 GB, free: 4.008 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.5284, allocations: 11.92 kB / 0.6162 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.5287, allocations: 12 kB / 0.6162 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.5288, allocations: 15.97 kB / 0.6162 GB, free: 3.969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.5288, allocations: 8 kB / 0.6162 GB, free: 3.961 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.17e-05/0.5289, allocations: 91.27 kB / 0.6163 GB, free: 3.871 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5289, allocations: 4.062 kB / 0.6163 GB, free: 3.867 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005886/0.5295, allocations: 139.9 kB / 0.6165 GB, free: 3.73 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 (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.0007718/0.5303, allocations: 255.5 kB / 0.6167 GB, free: 3.473 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006393/0.5309, allocations: 238.8 kB / 0.6169 GB, free: 3.242 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.5309, allocations: 0 / 0.6169 GB, free: 3.242 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004114/0.5314, allocations: 230.9 kB / 0.6171 GB, free: 3.004 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004981/0.5319, allocations: 51.89 kB / 0.6172 GB, free: 2.953 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009806/0.5329, allocations: 0.6035 MB / 0.6178 GB, free: 2.305 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.5331, allocations: 0.7049 MB / 0.6185 GB, free: 1.574 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.5333, allocations: 27.42 kB / 0.6185 GB, free: 1.551 MB / 446.1 MB Notification: Performance of SimCode: time 1.893e-06/0.5333, allocations: 0 / 0.6185 GB, free: 1.551 MB / 446.1 MB Notification: Performance of Templates: time 0.009413/0.5427, allocations: 5.07 MB / 0.6235 GB, free: 12.48 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/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