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.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.001459/0.001459, allocations: 75.73 kB / 21.25 MB, free: 0.543 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.001552/0.001552, allocations: 160.8 kB / 24.51 MB, free: 3.715 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.491/1.491, allocations: 177.2 MB / 204.9 MB, free: 9.027 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2076/0.2076, allocations: 32.8 MB / 294.1 MB, free: 40 kB / 270.1 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 63.89 kB / 440.6 MB, free: 9.453 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.311, allocations: 65.44 MB / 0.4941 GB, free: 31.42 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.162/0.473, allocations: 131.5 MB / 0.6226 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002155/0.4751, allocations: 1.445 MB / 0.624 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.259e-05/0.4752, allocations: 0 / 0.624 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.4755, allocations: 43.75 kB / 0.624 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001075/0.4766, allocations: 421.7 kB / 0.6244 GB, free: 3.203 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.4771, allocations: 167.2 kB / 0.6246 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.4773, allocations: 187.3 kB / 0.6248 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.839e-05/0.4774, allocations: 7.938 kB / 0.6248 GB, free: 2.852 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.4776, allocations: 87.61 kB / 0.6248 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.4777, allocations: 55.81 kB / 0.6249 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.4777, allocations: 8 kB / 0.6249 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001041/0.4787, allocations: 0.5455 MB / 0.6254 GB, free: 2.156 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.294e-05/0.4788, allocations: 31.91 kB / 0.6255 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.069e-05/0.4789, allocations: 47.84 kB / 0.6255 GB, free: 2.078 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006557/0.4795, allocations: 398.6 kB / 0.6259 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4795, allocations: 0 / 0.6259 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.152e-06/0.4795, allocations: 0 / 0.6259 GB, free: 1.691 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.4795, allocations: 0 / 0.6259 GB, free: 1.691 MB / 0.5137 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.0005506/0.4801, allocations: 364.5 kB / 0.6262 GB, free: 1.309 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.4801, allocations: 12.03 kB / 0.6263 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002427/0.4826, allocations: 209.1 kB / 0.6265 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.4828, allocations: 162 kB / 0.6266 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.4828, allocations: 4 kB / 0.6266 GB, free: 0.9062 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.98e-05/0.4829, allocations: 8 kB / 0.6266 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005616/0.4834, allocations: 281.4 kB / 0.6269 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4834, allocations: 0 / 0.6269 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.054e-05/0.4835, allocations: 8 kB / 0.6269 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.4835, allocations: 11.88 kB / 0.6269 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006175/0.4841, allocations: 227.9 kB / 0.6271 GB, free: 368 kB / 0.5137 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.001849/0.486, allocations: 0.5372 MB / 0.6277 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004741/0.4864, allocations: 190.4 kB / 0.6278 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.4867, allocations: 88.81 kB / 0.6279 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001294/0.4868, allocations: 15.92 kB / 0.6279 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.4868, allocations: 34.56 kB / 0.628 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.4868, allocations: 0 / 0.628 GB, free: 15.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.006283/0.4931, allocations: 1.399 MB / 0.6293 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.4931, allocations: 51.41 kB / 0.6294 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.4933, allocations: 109.8 kB / 0.6295 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.4933, allocations: 29.7 kB / 0.6295 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.4934, allocations: 108.3 kB / 0.6296 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.581e-05/0.4935, allocations: 67.44 kB / 0.6297 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.4936, allocations: 49.64 kB / 0.6297 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.4937, allocations: 322.8 kB / 0.63 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.4939, allocations: 87.95 kB / 0.6301 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.4942, allocations: 123.4 kB / 0.6302 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.4947, allocations: 230.3 kB / 0.6305 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4947, allocations: 0 / 0.6305 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007387/0.4955, allocations: 282.2 kB / 0.6307 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.4955, allocations: 4 kB / 0.6307 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4955, allocations: 4 kB / 0.6307 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001623/0.4957, allocations: 24.84 kB / 0.6308 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005217/0.4962, allocations: 63.98 kB / 0.6308 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004752/0.4967, allocations: 0.5329 MB / 0.6313 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003266/0.497, allocations: 4 kB / 0.6313 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.304e-05/0.497, allocations: 19.92 kB / 0.6314 GB, free: 11.78 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.0001495/0.4972, allocations: 122.4 kB / 0.6315 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.178e-05/0.4972, allocations: 7.953 kB / 0.6315 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008155/0.4981, allocations: 319.1 kB / 0.6318 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.4981, allocations: 7.938 kB / 0.6318 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.4981, allocations: 0 / 0.6318 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4981, allocations: 0 / 0.6318 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.4993, allocations: 0.588 MB / 0.6324 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.4993, allocations: 7.938 kB / 0.6324 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004812/0.4998, allocations: 43.97 kB / 0.6324 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.268e-05/0.4999, allocations: 24.83 kB / 0.6324 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.4999, allocations: 11.94 kB / 0.6325 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001069/0.501, allocations: 1.245 MB / 0.6337 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.501, allocations: 4.25 kB / 0.6337 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009249/0.5019, allocations: 445.1 kB / 0.6341 GB, free: 8.781 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.5019, allocations: 7.984 kB / 0.6341 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.502, allocations: 11.94 kB / 0.6341 GB, free: 8.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/0.5024, allocations: 20.17 kB / 0.6341 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.5024, allocations: 11.98 kB / 0.6342 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.735e-05/0.5024, allocations: 15.98 kB / 0.6342 GB, free: 8.715 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.709e-05/0.5025, allocations: 87.25 kB / 0.6342 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.5025, allocations: 0 / 0.6342 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006161/0.5031, allocations: 143.6 kB / 0.6344 GB, free: 8.488 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.0006954/0.5038, allocations: 258.7 kB / 0.6346 GB, free: 8.227 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000674/0.5045, allocations: 235.6 kB / 0.6349 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5045, allocations: 192 / 0.6349 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004397/0.5049, allocations: 226.6 kB / 0.6351 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.5054, allocations: 43.89 kB / 0.6351 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009884/0.5064, allocations: 483.7 kB / 0.6356 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.958e-05/0.5065, allocations: 98.09 kB / 0.6357 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003139/0.5068, allocations: 57.61 kB / 0.6357 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.5069, allocations: 20.5 kB / 0.6357 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of SimCode: time 4.71e-07/0.5069, allocations: 0 / 0.6357 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of Templates: time 0.01268/0.5196, allocations: 6.313 MB / 0.6419 GB, free: 0.7383 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.286071453010663]