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.001704/0.001704, 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.001974/0.001974, allocations: 193.3 kB / 18.91 MB, free: 4.477 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.524/1.524, allocations: 222.9 MB / 242.6 MB, free: 13.74 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.202/0.202, allocations: 44.18 MB / 336.9 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 68.33 kB / 408.5 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1014, allocations: 60.83 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.384/0.4855, allocations: 147.5 MB / 0.6024 GB, free: 13.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001939/0.4874, allocations: 1.602 MB / 0.604 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.641e-05/0.4875, allocations: 0 / 0.604 GB, free: 12.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.4879, allocations: 46.28 kB / 0.604 GB, free: 12.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008636/0.4888, allocations: 370.5 kB / 0.6043 GB, free: 11.89 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004583/0.4893, allocations: 147.6 kB / 0.6045 GB, free: 11.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.4895, allocations: 183.3 kB / 0.6047 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.018e-05/0.4895, allocations: 11.94 kB / 0.6047 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.4897, allocations: 85.8 kB / 0.6048 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001326/0.4899, allocations: 59.77 kB / 0.6048 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.4899, allocations: 4 kB / 0.6048 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.4909, allocations: 0.6274 MB / 0.6054 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.196e-05/0.491, allocations: 27.91 kB / 0.6055 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.992e-05/0.4911, allocations: 51.8 kB / 0.6055 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004645/0.4915, allocations: 287.4 kB / 0.6058 GB, free: 10.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.4915, allocations: 0 / 0.6058 GB, free: 10.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.4916, allocations: 8 kB / 0.6058 GB, free: 10.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.4916, allocations: 0 / 0.6058 GB, free: 10.41 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.0006707/0.4922, allocations: 428.1 kB / 0.6062 GB, free: 9.945 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.4923, allocations: 8.031 kB / 0.6062 GB, free: 9.938 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002326/0.4946, allocations: 196.6 kB / 0.6064 GB, free: 9.746 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.4949, allocations: 212.1 kB / 0.6066 GB, free: 9.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.495, allocations: 15.94 kB / 0.6066 GB, free: 9.484 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/0.495, allocations: 4 kB / 0.6066 GB, free: 9.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005524/0.4956, allocations: 201.5 kB / 0.6068 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4956, allocations: 0 / 0.6068 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.4957, allocations: 0 / 0.6068 GB, free: 9.277 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.4957, allocations: 4 kB / 0.6068 GB, free: 9.273 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005907/0.4963, allocations: 235.8 kB / 0.607 GB, free: 9.043 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.00179/0.4981, allocations: 0.6688 MB / 0.6077 GB, free: 8.316 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004463/0.4985, allocations: 190.5 kB / 0.6079 GB, free: 8.121 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.4988, allocations: 96.81 kB / 0.608 GB, free: 8.023 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.4989, allocations: 85.09 kB / 0.608 GB, free: 7.922 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.499, allocations: 42.56 kB / 0.6081 GB, free: 7.871 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.603e-06/0.499, allocations: 0 / 0.6081 GB, free: 7.871 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.005834/0.5048, allocations: 1.538 MB / 0.6096 GB, free: 6.227 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.5049, allocations: 55.41 kB / 0.6096 GB, free: 6.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.165e-05/0.505, allocations: 109.8 kB / 0.6097 GB, free: 6.043 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.586e-05/0.505, allocations: 29.7 kB / 0.6098 GB, free: 6.008 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.5051, allocations: 104.2 kB / 0.6099 GB, free: 5.902 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.536e-05/0.5052, allocations: 67.03 kB / 0.6099 GB, free: 5.836 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.5053, allocations: 45.69 kB / 0.61 GB, free: 5.785 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.5054, allocations: 314.8 kB / 0.6103 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.5056, allocations: 91.94 kB / 0.6104 GB, free: 5.379 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.5059, allocations: 127 kB / 0.6105 GB, free: 5.246 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004633/0.5064, allocations: 229.1 kB / 0.6107 GB, free: 5.012 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5064, allocations: 0 / 0.6107 GB, free: 5.012 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006153/0.507, allocations: 279.9 kB / 0.611 GB, free: 4.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.507, allocations: 8 kB / 0.611 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.507, allocations: 0 / 0.611 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001421/0.5072, allocations: 28.78 kB / 0.611 GB, free: 4.691 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/0.5077, allocations: 60.05 kB / 0.6111 GB, free: 4.633 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000378/0.5081, allocations: 0.5444 MB / 0.6116 GB, free: 4.062 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002937/0.5084, allocations: 4 kB / 0.6116 GB, free: 4.059 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.5084, allocations: 15.94 kB / 0.6116 GB, free: 4.043 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.0001392/0.5086, allocations: 125.9 kB / 0.6117 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/0.5086, allocations: 7.906 kB / 0.6117 GB, free: 3.902 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008156/0.5095, allocations: 322 kB / 0.6121 GB, free: 3.578 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.5095, allocations: 7.938 kB / 0.6121 GB, free: 3.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.5095, allocations: 0 / 0.6121 GB, free: 3.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.5095, allocations: 0 / 0.6121 GB, free: 3.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.5107, allocations: 0.6716 MB / 0.6127 GB, free: 2.832 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5107, allocations: 4 kB / 0.6127 GB, free: 2.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004647/0.5111, allocations: 51.89 kB / 0.6128 GB, free: 2.777 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.638e-05/0.5112, allocations: 20.84 kB / 0.6128 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/0.5113, allocations: 14.42 kB / 0.6128 GB, free: 2.742 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.5123, allocations: 1.363 MB / 0.6141 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5123, allocations: 160 / 0.6141 GB, free: 1.238 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008592/0.5132, allocations: 454.5 kB / 0.6146 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.5133, allocations: 93.11 kB / 0.6147 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.5133, allocations: 0 / 0.6147 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.5136, allocations: 15.98 kB / 0.6147 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.748e-05/0.5137, allocations: 11.98 kB / 0.6147 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.191e-05/0.5137, allocations: 11.98 kB / 0.6147 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.068e-05/0.5138, allocations: 91.27 kB / 0.6148 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5138, allocations: 0 / 0.6148 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005531/0.5144, allocations: 135.9 kB / 0.6149 GB, free: 404 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.000787/0.5152, allocations: 269.9 kB / 0.6152 GB, free: 128 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006611/0.5158, allocations: 250.9 kB / 0.6154 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5159, allocations: 0 / 0.6154 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004247/0.5163, allocations: 222.6 kB / 0.6156 GB, free: 15.65 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004726/0.5168, allocations: 48.7 kB / 0.6157 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.5178, allocations: 0.5456 MB / 0.6162 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003476/0.5182, allocations: 0.7085 MB / 0.6169 GB, free: 14.28 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.5183, allocations: 23.42 kB / 0.6169 GB, free: 14.26 MB / 462.1 MB Notification: Performance of SimCode: time 2.71e-07/0.5183, allocations: 0 / 0.6169 GB, free: 14.26 MB / 462.1 MB Notification: Performance of Templates: time 0.008879/0.5272, allocations: 5.08 MB / 0.6219 GB, free: 9.18 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