Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 230.6 MB / 258.3 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2333/0.2333, allocations: 46.96 MB / 361.6 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 63.89 kB / 0.4973 GB, free: 7.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3231, allocations: 66.04 MB / 0.5618 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1704/0.4934, allocations: 131.5 MB / 0.6902 GB, free: 188 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002182/0.4956, allocations: 1.429 MB / 0.6916 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.619e-05/0.4957, allocations: 3.938 kB / 0.6916 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.496, allocations: 47.73 kB / 0.6917 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.497, allocations: 406.1 kB / 0.6921 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005464/0.4976, allocations: 182.6 kB / 0.6922 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.4979, allocations: 187.2 kB / 0.6924 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.83e-05/0.4979, allocations: 7.938 kB / 0.6924 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.4981, allocations: 87.67 kB / 0.6925 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.4982, allocations: 59.75 kB / 0.6926 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.4982, allocations: 8 kB / 0.6926 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.4992, allocations: 0.5534 MB / 0.6931 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.753e-05/0.4993, allocations: 35.89 kB / 0.6932 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.05e-05/0.4994, allocations: 39.86 kB / 0.6932 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006581/0.5, allocations: 402.6 kB / 0.6936 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5, allocations: 0 / 0.6936 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5, allocations: 4 kB / 0.6936 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.5, allocations: 0 / 0.6936 GB, free: 12.76 MB / 0.5294 GB 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.0006084/0.5007, allocations: 353.8 kB / 0.6939 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/0.5007, allocations: 16.02 kB / 0.6939 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002427/0.5031, allocations: 196.6 kB / 0.6941 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.5034, allocations: 161.9 kB / 0.6943 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.5034, allocations: 15.88 kB / 0.6943 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-05/0.5035, allocations: 12 kB / 0.6943 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006125/0.5041, allocations: 274.6 kB / 0.6946 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.5041, allocations: 0 / 0.6946 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.046e-05/0.5041, allocations: 8 kB / 0.6946 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.5042, allocations: 7.938 kB / 0.6946 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006438/0.5048, allocations: 231.8 kB / 0.6948 GB, free: 11.43 MB / 0.5294 GB 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.001736/0.5065, allocations: 0.536 MB / 0.6953 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004551/0.507, allocations: 178.5 kB / 0.6955 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.5072, allocations: 96.08 kB / 0.6956 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001184/0.5073, allocations: 15.98 kB / 0.6956 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.5074, allocations: 34.56 kB / 0.6956 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.5074, allocations: 0 / 0.6956 GB, free: 10.53 MB / 0.5294 GB 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.005991/0.5133, allocations: 1.398 MB / 0.697 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.5134, allocations: 55.41 kB / 0.6971 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.5135, allocations: 117.8 kB / 0.6972 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.475e-05/0.5135, allocations: 25.7 kB / 0.6972 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.5136, allocations: 100.4 kB / 0.6973 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 8.106e-05/0.5137, allocations: 75.36 kB / 0.6974 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.5138, allocations: 45.66 kB / 0.6974 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000165/0.514, allocations: 322.8 kB / 0.6977 GB, free: 8.277 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002393/0.5142, allocations: 87.95 kB / 0.6978 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.5145, allocations: 125 kB / 0.6979 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005207/0.515, allocations: 220.7 kB / 0.6981 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.515, allocations: 3.938 kB / 0.6981 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006755/0.5157, allocations: 288.7 kB / 0.6984 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.5157, allocations: 4 kB / 0.6984 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5157, allocations: 0 / 0.6984 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001276/0.5158, allocations: 32.72 kB / 0.6984 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004793/0.5163, allocations: 47.97 kB / 0.6985 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000498/0.5168, allocations: 0.5407 MB / 0.699 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.5171, allocations: 12.02 kB / 0.699 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.5171, allocations: 8 kB / 0.699 GB, free: 6.867 MB / 0.5294 GB 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.0001688/0.5173, allocations: 125.8 kB / 0.6991 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.5174, allocations: 11.95 kB / 0.6992 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008254/0.5182, allocations: 317.9 kB / 0.6995 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5182, allocations: 0 / 0.6995 GB, free: 6.406 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.5182, allocations: 7.922 kB / 0.6995 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.5182, allocations: 11.91 kB / 0.6995 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.5183, allocations: 4 kB / 0.6995 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003402/0.5186, allocations: 8 kB / 0.6995 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/0.5187, allocations: 15.97 kB / 0.6995 GB, free: 6.359 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001108/0.5198, allocations: 325.6 kB / 0.6998 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008836/0.5206, allocations: 456.6 kB / 0.7003 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000223/0.5209, allocations: 83.95 kB / 0.7003 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.841e-05/0.5209, allocations: 87.27 kB / 0.7004 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of Backend: time 4.51e-07/0.5209, allocations: 0 / 0.7004 GB, free: 5.402 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001408/0.5223, allocations: 429.5 kB / 0.7008 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of SimCode: time 0.001044/0.5234, allocations: 0.8699 MB / 0.7017 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of Templates: time 0.01383/0.5372, allocations: 8.331 MB / 0.7098 GB, free: 11.72 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.27386830499745]