Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001705/0.001705, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002083/0.002083, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.669/1.669, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2385/0.2385, allocations: 46.96 MB / 361.6 MB, free: 3.953 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002448/0.002448, allocations: 79.88 kB / 0.4974 GB, free: 7.094 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3072, allocations: 66.09 MB / 0.5619 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1741/0.4813, allocations: 131.8 MB / 0.6906 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00454/0.4858, allocations: 2.921 MB / 0.6935 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.486, allocations: 4 kB / 0.6935 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004183/0.4864, allocations: 51.67 kB / 0.6935 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003278/0.4897, allocations: 1.089 MB / 0.6946 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006056/0.4903, allocations: 203 kB / 0.6948 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005846/0.4909, allocations: 370.6 kB / 0.6951 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.034e-05/0.491, allocations: 9.297 kB / 0.6951 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000406/0.4914, allocations: 167.4 kB / 0.6953 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003012/0.4917, allocations: 119.5 kB / 0.6954 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.296e-05/0.4917, allocations: 12 kB / 0.6954 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003276/0.495, allocations: 1.336 MB / 0.6967 GB, free: 9.391 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001365/0.4951, allocations: 83.77 kB / 0.6968 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001722/0.4953, allocations: 99.64 kB / 0.6969 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.4973, allocations: 0.9765 MB / 0.6979 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4973, allocations: 4 kB / 0.6979 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4973, allocations: 0 / 0.6979 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.212e-05/0.4973, allocations: 0 / 0.6979 GB, free: 8.234 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001181/0.4985, allocations: 497.1 kB / 0.6983 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.4985, allocations: 12.03 kB / 0.6984 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001676/0.5002, allocations: 204.6 kB / 0.6985 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004434/0.5006, allocations: 202 kB / 0.6987 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.5007, allocations: 12.38 kB / 0.6988 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.107e-05/0.5007, allocations: 20 kB / 0.6988 GB, free: 7.254 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008254/0.5016, allocations: 0.5876 MB / 0.6993 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.5016, allocations: 0 / 0.6993 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/0.5016, allocations: 8 kB / 0.6994 GB, free: 6.602 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.5017, allocations: 12 kB / 0.6994 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006556/0.5023, allocations: 416.4 kB / 0.6998 GB, free: 6.184 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.00192/0.5042, allocations: 0.7236 MB / 0.7005 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004502/0.5047, allocations: 221 kB / 0.7007 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002116/0.5049, allocations: 121.7 kB / 0.7008 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001616/0.5065, allocations: 309.7 kB / 0.7011 GB, free: 4.762 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.5065, allocations: 38.5 kB / 0.7011 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/0.5065, allocations: 0 / 0.7011 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001391/0.5079, allocations: 383.2 kB / 0.7015 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.508, allocations: 93.05 kB / 0.7016 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.5082, allocations: 117.8 kB / 0.7017 GB, free: 4.105 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.5082, allocations: 29.7 kB / 0.7017 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.5083, allocations: 108.6 kB / 0.7018 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/0.5085, allocations: 127 kB / 0.7019 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.5086, allocations: 58.03 kB / 0.702 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002894/0.5089, allocations: 330.8 kB / 0.7023 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.5091, allocations: 104.1 kB / 0.7024 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.5094, allocations: 182.9 kB / 0.7026 GB, free: 3.125 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000532/0.5099, allocations: 318.1 kB / 0.7029 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.5099, allocations: 3.938 kB / 0.7029 GB, free: 2.773 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007103/0.5107, allocations: 355 kB / 0.7032 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.5107, allocations: 8 kB / 0.7032 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.5107, allocations: 0 / 0.7032 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.5107, allocations: 8 kB / 0.7033 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003521/0.5111, allocations: 67.91 kB / 0.7033 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.5111, allocations: 8.25 kB / 0.7033 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002342/0.5113, allocations: 43.7 kB / 0.7034 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/0.5114, allocations: 16 kB / 0.7034 GB, free: 2.273 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (40): * Single equations (assignments): 39 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00017/0.5115, allocations: 145.7 kB / 0.7035 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.5116, allocations: 15.91 kB / 0.7035 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007569/0.5124, allocations: 335.2 kB / 0.7039 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.492e-05/0.5124, allocations: 7.984 kB / 0.7039 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.5124, allocations: 4 kB / 0.7039 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.5124, allocations: 7.984 kB / 0.7039 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005624/0.513, allocations: 242.8 kB / 0.7041 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.513, allocations: 4 kB / 0.7041 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003463/0.5133, allocations: 55.91 kB / 0.7042 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/0.5133, allocations: 4 kB / 0.7042 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.5134, allocations: 15.98 kB / 0.7042 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.5134, allocations: 0 / 0.7042 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5134, allocations: 0 / 0.7042 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009111/0.5143, allocations: 0.5265 MB / 0.7047 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.608e-05/0.5143, allocations: 15.88 kB / 0.7047 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.5144, allocations: 8.062 kB / 0.7047 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/0.5147, allocations: 11.98 kB / 0.7047 GB, free: 0.832 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.5147, allocations: 23.97 kB / 0.7048 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-05/0.5148, allocations: 15.98 kB / 0.7048 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.165e-05/0.5148, allocations: 95.2 kB / 0.7049 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5148, allocations: 0 / 0.7049 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008607/0.5157, allocations: 243.4 kB / 0.7051 GB, free: 472 kB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (30): * Single equations (assignments): 29 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00129/0.517, allocations: 454.2 kB / 0.7055 GB, free: 8 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006019/0.5176, allocations: 252 kB / 0.7058 GB, free: 15.76 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5176, allocations: 0 / 0.7058 GB, free: 15.76 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.5179, allocations: 131.8 kB / 0.7059 GB, free: 15.63 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007088/0.5186, allocations: 99.56 kB / 0.706 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/0.52, allocations: 0.78 MB / 0.7067 GB, free: 14.72 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001452/0.5202, allocations: 127.8 kB / 0.7069 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.5203, allocations: 39.42 kB / 0.7069 GB, free: 14.54 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.5203, allocations: 0 / 0.7069 GB, free: 14.54 MB / 0.545 GB Notification: Performance of Templates: time 0.0124/0.5327, allocations: 6.605 MB / 0.7134 GB, free: 7.934 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.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: 9.634206532035023]