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.0009722/0.0009722, allocations: 75.59 kB / 21.18 MB, free: 3.391 MB / 18.57 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.0009724/0.0009724, allocations: 161 kB / 24.56 MB, free: 20 kB / 18.57 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 0.955/0.955, allocations: 177.2 MB / 205 MB, free: 5.289 MB / 186.7 MB " [Timeout remaining time 179] 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.2543/0.2543, allocations: 34.26 MB / 295.7 MB, free: 0.7109 MB / 266.7 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 1.843e-06/1.843e-06, allocations: 0 / 378 MB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.29e-05/2.475e-05, allocations: 2.312 kB / 378 MB, free: 2.688 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2957/0.2958, allocations: 145.5 MB / 0.5112 GB, free: 18.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.2971, allocations: 1.627 MB / 0.5128 GB, free: 17.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.703e-05/0.2972, allocations: 0 / 0.5128 GB, free: 17.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003365/0.2975, allocations: 42.11 kB / 0.5128 GB, free: 17.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008827/0.2984, allocations: 429.7 kB / 0.5133 GB, free: 17.03 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.2988, allocations: 181.1 kB / 0.5134 GB, free: 16.94 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.299, allocations: 181.9 kB / 0.5136 GB, free: 16.86 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.703e-05/0.299, allocations: 12.06 kB / 0.5136 GB, free: 16.85 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001534/0.2992, allocations: 102.6 kB / 0.5137 GB, free: 16.82 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.2993, allocations: 50.53 kB / 0.5138 GB, free: 16.8 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.2993, allocations: 4.469 kB / 0.5138 GB, free: 16.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007195/0.3, allocations: 0.56 MB / 0.5143 GB, free: 16.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.351e-05/0.3001, allocations: 28.25 kB / 0.5143 GB, free: 16.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.878e-05/0.3001, allocations: 39.41 kB / 0.5144 GB, free: 16.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004923/0.3006, allocations: 424.7 kB / 0.5148 GB, free: 16.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3006, allocations: 0 / 0.5148 GB, free: 16.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3006, allocations: 3.469 kB / 0.5148 GB, free: 16.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3006, allocations: 0 / 0.5148 GB, free: 16.45 MB / 410.7 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.0004172/0.3011, allocations: 464.2 kB / 0.5152 GB, free: 16.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.3011, allocations: 10.58 kB / 0.5152 GB, free: 16.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.3022, allocations: 221.5 kB / 0.5154 GB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.3024, allocations: 160.1 kB / 0.5156 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.3024, allocations: 8.125 kB / 0.5156 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.3024, allocations: 11.97 kB / 0.5156 GB, free: 15.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002826/0.3027, allocations: 251.4 kB / 0.5159 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.3027, allocations: 0.7969 kB / 0.5159 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.3027, allocations: 7.281 kB / 0.5159 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3028, allocations: 0 / 0.5159 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002194/0.303, allocations: 166.2 kB / 0.516 GB, free: 15.62 MB / 410.7 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.0008665/0.3038, allocations: 0.538 MB / 0.5166 GB, free: 15.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000215/0.3041, allocations: 175.6 kB / 0.5167 GB, free: 15.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.64e-05/0.3041, allocations: 81.09 kB / 0.5168 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-05/0.3042, allocations: 10.61 kB / 0.5168 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.709e-05/0.3042, allocations: 43.19 kB / 0.5168 GB, free: 15.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.3042, allocations: 0 / 0.5168 GB, free: 15.11 MB / 410.7 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.002556/0.3068, allocations: 1.209 MB / 0.518 GB, free: 14.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.67e-05/0.3068, allocations: 52.81 kB / 0.5181 GB, free: 14.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.882e-05/0.3069, allocations: 172.4 kB / 0.5182 GB, free: 14.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.3069, allocations: 33.64 kB / 0.5183 GB, free: 14.24 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.3069, allocations: 144.7 kB / 0.5184 GB, free: 14.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.307, allocations: 77.38 kB / 0.5185 GB, free: 14.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/0.307, allocations: 52.41 kB / 0.5185 GB, free: 14 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.955e-05/0.3071, allocations: 0.4891 MB / 0.519 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.088e-05/0.3071, allocations: 69.38 kB / 0.5191 GB, free: 13.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.773e-05/0.3072, allocations: 112.2 kB / 0.5192 GB, free: 13.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001773/0.3074, allocations: 183.6 kB / 0.5194 GB, free: 13.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3074, allocations: 3.031 kB / 0.5194 GB, free: 13.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002803/0.3077, allocations: 248.9 kB / 0.5196 GB, free: 13.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.3077, allocations: 5.938 kB / 0.5196 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3077, allocations: 0 / 0.5196 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.673e-05/0.3078, allocations: 31.25 kB / 0.5196 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.308, allocations: 54.12 kB / 0.5197 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001745/0.3082, allocations: 0.799 MB / 0.5205 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001195/0.3083, allocations: 5.688 kB / 0.5205 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.246e-05/0.3083, allocations: 13.12 kB / 0.5205 GB, free: 12.41 MB / 410.7 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 6.588e-05/0.3084, allocations: 170.6 kB / 0.5207 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.948e-05/0.3085, allocations: 26.72 kB / 0.5207 GB, free: 12.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003469/0.3088, allocations: 276 kB / 0.5209 GB, free: 12.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.3088, allocations: 9.422 kB / 0.5209 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3088, allocations: 0 / 0.5209 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3088, allocations: 0 / 0.5209 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005201/0.3093, allocations: 0.5865 MB / 0.5215 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3093, allocations: 2.969 kB / 0.5215 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.3095, allocations: 55.45 kB / 0.5216 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.217e-05/0.3096, allocations: 22.75 kB / 0.5216 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.73e-05/0.3096, allocations: 12.69 kB / 0.5216 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000411/0.31, allocations: 1.733 MB / 0.5233 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.31, allocations: 0 / 0.5233 GB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.3104, allocations: 488 kB / 0.5238 GB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-06/0.3104, allocations: 10.84 kB / 0.5238 GB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.3104, allocations: 10 kB / 0.5238 GB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.3106, allocations: 9.875 kB / 0.5238 GB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.3106, allocations: 16.89 kB / 0.5238 GB, free: 9.562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.3106, allocations: 20.14 kB / 0.5238 GB, free: 9.559 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.111e-05/0.3106, allocations: 127.5 kB / 0.524 GB, free: 9.441 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3106, allocations: 0 / 0.524 GB, free: 9.441 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003259/0.311, allocations: 133.5 kB / 0.5241 GB, free: 9.414 MB / 410.7 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.0004363/0.3114, allocations: 261.5 kB / 0.5243 GB, free: 9.273 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003448/0.3117, allocations: 202.5 kB / 0.5245 GB, free: 9.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3117, allocations: 0 / 0.5245 GB, free: 9.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.312, allocations: 292.5 kB / 0.5248 GB, free: 9.023 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.3123, allocations: 49.34 kB / 0.5249 GB, free: 9.012 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008365/0.3131, allocations: 405.5 kB / 0.5252 GB, free: 8.707 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.937e-05/0.3131, allocations: 73.38 kB / 0.5253 GB, free: 8.637 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001721/0.3133, allocations: 49.19 kB / 0.5254 GB, free: 8.605 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.859e-05/0.3134, allocations: 21.72 kB / 0.5254 GB, free: 8.598 MB / 410.7 MB Notification: Performance of SimCode: time 7.12e-07/0.3134, allocations: 2.781 kB / 0.5254 GB, free: 8.598 MB / 410.7 MB Notification: Performance of Templates: time 0.007658/0.3211, allocations: 6.412 MB / 0.5316 GB, free: 7.902 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5787261300720274]