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.001543/0.001543, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001665/0.001665, allocations: 206.6 kB / 24.47 MB, free: 3.977 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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2392/0.2392, allocations: 46.97 MB / 361.6 MB, free: 4.031 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.002001/0.002001, allocations: 59.91 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3105, allocations: 66.04 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1643/0.4749, allocations: 131.5 MB / 0.6902 GB, free: 168 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001944/0.4768, allocations: 1.433 MB / 0.6916 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.957e-05/0.4769, allocations: 3.938 kB / 0.6916 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.4772, allocations: 43.75 kB / 0.6917 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0009314/0.4781, allocations: 414.1 kB / 0.6921 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.4786, allocations: 182 kB / 0.6922 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.4789, allocations: 179.2 kB / 0.6924 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.707e-05/0.4789, allocations: 15.91 kB / 0.6924 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001713/0.4791, allocations: 83.69 kB / 0.6925 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.4792, allocations: 59.75 kB / 0.6926 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.4792, allocations: 8 kB / 0.6926 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009626/0.4802, allocations: 0.5534 MB / 0.6931 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.612e-05/0.4802, allocations: 31.91 kB / 0.6931 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 7.089e-05/0.4803, allocations: 47.84 kB / 0.6932 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006183/0.4809, allocations: 402.6 kB / 0.6936 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.4809, allocations: 0 / 0.6936 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4809, allocations: 0 / 0.6936 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.4809, allocations: 0 / 0.6936 GB, free: 12.74 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.0005674/0.4815, allocations: 365.7 kB / 0.6939 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.4815, allocations: 12.03 kB / 0.6939 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/0.4837, allocations: 200.6 kB / 0.6941 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.484, allocations: 161.9 kB / 0.6943 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.484, allocations: 0 / 0.6943 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.4841, allocations: 12 kB / 0.6943 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005305/0.4846, allocations: 276.3 kB / 0.6946 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.4846, allocations: 0 / 0.6946 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.4846, allocations: 4 kB / 0.6946 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.4846, allocations: 3.938 kB / 0.6946 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000603/0.4852, allocations: 235.8 kB / 0.6948 GB, free: 11.42 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.00165/0.4869, allocations: 0.5399 MB / 0.6953 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004384/0.4873, allocations: 182.5 kB / 0.6955 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.4875, allocations: 92.81 kB / 0.6956 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.4877, allocations: 12 kB / 0.6956 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.4877, allocations: 42.55 kB / 0.6956 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.213e-06/0.4877, allocations: 0 / 0.6956 GB, free: 10.51 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.005714/0.4934, allocations: 1.394 MB / 0.697 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/0.4935, allocations: 59.34 kB / 0.697 GB, free: 8.965 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.573e-05/0.4936, allocations: 117.8 kB / 0.6972 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.551e-05/0.4936, allocations: 29.7 kB / 0.6972 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.847e-05/0.4937, allocations: 100.4 kB / 0.6973 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.899e-05/0.4937, allocations: 67.42 kB / 0.6973 GB, free: 8.637 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.717e-05/0.4938, allocations: 45.66 kB / 0.6974 GB, free: 8.586 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.494, allocations: 318.8 kB / 0.6977 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.4942, allocations: 95.95 kB / 0.6978 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.4944, allocations: 125 kB / 0.6979 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004681/0.4949, allocations: 229.7 kB / 0.6981 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4949, allocations: 0 / 0.6981 GB, free: 7.805 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000629/0.4955, allocations: 285.1 kB / 0.6984 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.4955, allocations: 4 kB / 0.6984 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.4956, allocations: 0 / 0.6984 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001336/0.4957, allocations: 28.78 kB / 0.6984 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004534/0.4961, allocations: 51.95 kB / 0.6985 GB, free: 7.434 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004261/0.4966, allocations: 0.5328 MB / 0.699 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.4968, allocations: 16.2 kB / 0.699 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.4969, allocations: 11.94 kB / 0.699 GB, free: 6.848 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.0001307/0.497, allocations: 121.8 kB / 0.6991 GB, free: 6.719 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.82e-05/0.4971, allocations: 11.94 kB / 0.6991 GB, free: 6.707 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007768/0.4979, allocations: 311 kB / 0.6994 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.4979, allocations: 3.938 kB / 0.6994 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4979, allocations: 0 / 0.6994 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.4979, allocations: 3.984 kB / 0.6995 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.499, allocations: 0.5855 MB / 0.7 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.499, allocations: 8.094 kB / 0.7 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/0.4994, allocations: 55.89 kB / 0.7001 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.894e-05/0.4995, allocations: 20.84 kB / 0.7001 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/0.4995, allocations: 11.92 kB / 0.7001 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009636/0.5005, allocations: 1.237 MB / 0.7013 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.678e-06/0.5005, allocations: 12.12 kB / 0.7013 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008667/0.5014, allocations: 448.4 kB / 0.7018 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.5014, allocations: 7.984 kB / 0.7018 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.5014, allocations: 11.92 kB / 0.7018 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.5018, allocations: 8 kB / 0.7018 GB, free: 3.809 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.5018, allocations: 19.97 kB / 0.7018 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.5018, allocations: 7.984 kB / 0.7018 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.296e-05/0.5019, allocations: 91.34 kB / 0.7019 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.5019, allocations: 0 / 0.7019 GB, free: 3.691 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005163/0.5024, allocations: 135.7 kB / 0.702 GB, free: 3.559 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.0006409/0.503, allocations: 262.6 kB / 0.7023 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006192/0.5037, allocations: 231.7 kB / 0.7025 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5037, allocations: 0 / 0.7025 GB, free: 3.066 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004066/0.5041, allocations: 237.4 kB / 0.7027 GB, free: 2.824 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.5045, allocations: 56.42 kB / 0.7028 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000847/0.5054, allocations: 460.6 kB / 0.7032 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.065e-05/0.5054, allocations: 93.97 kB / 0.7033 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002719/0.5057, allocations: 61.27 kB / 0.7034 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.5058, allocations: 19.42 kB / 0.7034 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of SimCode: time 3.1e-07/0.5058, allocations: 4 kB / 0.7034 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of Templates: time 0.01093/0.5168, allocations: 6.505 MB / 0.7097 GB, free: 11.61 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 cvode -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.343064353000955]