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.001361/0.001361, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001506/0.001506, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.444/1.444, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.2225/0.2225, allocations: 46.95 MB / 361.6 MB, free: 4.02 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.002077/0.002077, allocations: 67.89 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.287, allocations: 66.03 MB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1644/0.4514, allocations: 131.5 MB / 0.6902 GB, free: 108 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001989/0.4533, allocations: 1.421 MB / 0.6916 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.658e-05/0.4534, allocations: 0 / 0.6916 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.4538, allocations: 47.75 kB / 0.6917 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0009799/0.4547, allocations: 418 kB / 0.6921 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/0.4552, allocations: 174.9 kB / 0.6922 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002519/0.4555, allocations: 187.2 kB / 0.6924 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.977e-05/0.4555, allocations: 7.938 kB / 0.6924 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.4557, allocations: 87.62 kB / 0.6925 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.4558, allocations: 63.8 kB / 0.6926 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.4558, allocations: 8 kB / 0.6926 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009639/0.4568, allocations: 0.5572 MB / 0.6931 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.871e-05/0.4568, allocations: 31.91 kB / 0.6931 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.753e-05/0.4569, allocations: 47.78 kB / 0.6932 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005919/0.4575, allocations: 401.8 kB / 0.6936 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.4575, allocations: 0 / 0.6936 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.022e-06/0.4575, allocations: 0 / 0.6936 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.4575, allocations: 0 / 0.6936 GB, free: 12.68 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.0005633/0.4581, allocations: 361.8 kB / 0.6939 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.4581, allocations: 12.03 kB / 0.6939 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002387/0.4605, allocations: 196.6 kB / 0.6941 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.4608, allocations: 158 kB / 0.6943 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.4608, allocations: 8 kB / 0.6943 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.714e-05/0.4608, allocations: 8 kB / 0.6943 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005665/0.4614, allocations: 284.6 kB / 0.6946 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4614, allocations: 4 kB / 0.6946 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.398e-05/0.4614, allocations: 4 kB / 0.6946 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.4614, allocations: 7.938 kB / 0.6946 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006241/0.4621, allocations: 235.8 kB / 0.6948 GB, free: 11.36 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.001768/0.4638, allocations: 0.5322 MB / 0.6953 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/0.4643, allocations: 186.4 kB / 0.6955 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002246/0.4645, allocations: 88.81 kB / 0.6956 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001603/0.4647, allocations: 15.98 kB / 0.6956 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.4647, allocations: 34.56 kB / 0.6956 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.423e-06/0.4647, allocations: 0 / 0.6956 GB, free: 10.45 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.006115/0.4708, allocations: 1.387 MB / 0.697 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.4709, allocations: 51.41 kB / 0.697 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.863e-05/0.471, allocations: 113.8 kB / 0.6971 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.471, allocations: 25.7 kB / 0.6972 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.49e-05/0.4711, allocations: 112.2 kB / 0.6973 GB, free: 8.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.588e-05/0.4711, allocations: 75.42 kB / 0.6973 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.4712, allocations: 49.64 kB / 0.6974 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.4714, allocations: 322.8 kB / 0.6977 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.4716, allocations: 87.95 kB / 0.6978 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.4719, allocations: 125 kB / 0.6979 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004931/0.4724, allocations: 229 kB / 0.6981 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4724, allocations: 0 / 0.6981 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006627/0.473, allocations: 284.4 kB / 0.6984 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.473, allocations: 4 kB / 0.6984 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4731, allocations: 4 kB / 0.6984 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001356/0.4732, allocations: 24.84 kB / 0.6984 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.4737, allocations: 59.98 kB / 0.6985 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000395/0.4741, allocations: 0.5329 MB / 0.699 GB, free: 6.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.4744, allocations: 8 kB / 0.699 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.4744, allocations: 11.92 kB / 0.699 GB, free: 6.797 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.0001348/0.4746, allocations: 125.8 kB / 0.6991 GB, free: 6.664 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.977e-05/0.4746, allocations: 7.953 kB / 0.6991 GB, free: 6.656 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008017/0.4754, allocations: 321.9 kB / 0.6995 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.4754, allocations: 7.938 kB / 0.6995 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4754, allocations: 0 / 0.6995 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4754, allocations: 0 / 0.6995 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.4766, allocations: 0.5895 MB / 0.7 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4766, allocations: 4 kB / 0.7 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004921/0.4771, allocations: 47.95 kB / 0.7001 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.369e-05/0.4772, allocations: 20.84 kB / 0.7001 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.4772, allocations: 4 kB / 0.7001 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009921/0.4782, allocations: 1.241 MB / 0.7013 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.4782, allocations: 3.938 kB / 0.7013 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009153/0.4791, allocations: 449.5 kB / 0.7018 GB, free: 3.797 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.573e-05/0.4791, allocations: 7.984 kB / 0.7018 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.352e-05/0.4792, allocations: 16.09 kB / 0.7018 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003561/0.4795, allocations: 11.98 kB / 0.7018 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.4796, allocations: 27.89 kB / 0.7018 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.411e-05/0.4796, allocations: 12 kB / 0.7018 GB, free: 3.723 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.91e-05/0.4796, allocations: 91.56 kB / 0.7019 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.4796, allocations: 0 / 0.7019 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005239/0.4802, allocations: 139.6 kB / 0.702 GB, free: 3.496 MB / 0.5294 GB 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.000675/0.4808, allocations: 262.7 kB / 0.7023 GB, free: 3.23 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006477/0.4815, allocations: 231.6 kB / 0.7025 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4815, allocations: 4.188 kB / 0.7025 GB, free: 3 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004154/0.4819, allocations: 222.6 kB / 0.7027 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/0.4824, allocations: 43.89 kB / 0.7028 GB, free: 2.727 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008921/0.4833, allocations: 472.7 kB / 0.7032 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.965e-05/0.4834, allocations: 93.97 kB / 0.7033 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002976/0.4837, allocations: 53.61 kB / 0.7034 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001314/0.4838, allocations: 27.42 kB / 0.7034 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of SimCode: time 3.51e-07/0.4838, allocations: 4 kB / 0.7034 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of Templates: time 0.01139/0.4952, allocations: 6.5 MB / 0.7097 GB, free: 11.56 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 -s gbode -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.216598758997861]