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.001846/0.001846, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002235/0.002235, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.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.2337/0.2337, allocations: 44.94 MB / 358.8 MB, free: 6.156 MB / 286.1 MB " [Timeout remaining time 179] 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.003795/0.003795, allocations: 80.12 kB / 0.4935 GB, free: 10.06 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4529/0.4567, allocations: 65.47 MB / 0.5574 GB, free: 7.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1889/0.6456, allocations: 131.5 MB / 0.6859 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002452/0.6481, allocations: 1.437 MB / 0.6873 GB, free: 2.043 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.709e-05/0.6482, allocations: 3.938 kB / 0.6873 GB, free: 2.039 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004031/0.6486, allocations: 43.75 kB / 0.6873 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.6499, allocations: 414.1 kB / 0.6877 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000599/0.6505, allocations: 181.8 kB / 0.6879 GB, free: 1.418 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003721/0.6508, allocations: 183.2 kB / 0.6881 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.271e-05/0.6509, allocations: 4 kB / 0.6881 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002153/0.6511, allocations: 79.75 kB / 0.6881 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001703/0.6513, allocations: 63.69 kB / 0.6882 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.501e-05/0.6513, allocations: 7.984 kB / 0.6882 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001188/0.6525, allocations: 0.5494 MB / 0.6887 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.929e-05/0.6526, allocations: 27.91 kB / 0.6888 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 7.958e-05/0.6527, allocations: 43.86 kB / 0.6888 GB, free: 476 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009325/0.6536, allocations: 402.6 kB / 0.6892 GB, free: 76 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.6536, allocations: 4 kB / 0.6892 GB, free: 72 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6536, allocations: 0 / 0.6892 GB, free: 72 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.6536, allocations: 0 / 0.6892 GB, free: 72 kB / 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.0006559/0.6543, allocations: 360.4 kB / 0.6895 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.6543, allocations: 8.031 kB / 0.6895 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002434/0.6567, allocations: 200.6 kB / 0.6897 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.6571, allocations: 165.9 kB / 0.6899 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.6571, allocations: 4 kB / 0.6899 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.927e-05/0.6572, allocations: 8 kB / 0.6899 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006006/0.6578, allocations: 278.6 kB / 0.6902 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.6578, allocations: 3.984 kB / 0.6902 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.143e-05/0.6578, allocations: 4 kB / 0.6902 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.6578, allocations: 11.94 kB / 0.6902 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006832/0.6585, allocations: 227.9 kB / 0.6904 GB, free: 14.75 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.002005/0.6605, allocations: 0.536 MB / 0.6909 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/0.661, allocations: 190.5 kB / 0.6911 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.6613, allocations: 92.81 kB / 0.6912 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001378/0.6614, allocations: 11.98 kB / 0.6912 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.6614, allocations: 38.56 kB / 0.6913 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.6614, allocations: 0 / 0.6913 GB, free: 13.83 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.00628/0.6677, allocations: 1.393 MB / 0.6926 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.6678, allocations: 51.41 kB / 0.6927 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.6679, allocations: 109.8 kB / 0.6928 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.6679, allocations: 29.7 kB / 0.6928 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.908e-05/0.668, allocations: 104.3 kB / 0.6929 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.604e-05/0.6681, allocations: 67.42 kB / 0.693 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.6682, allocations: 53.64 kB / 0.693 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.6683, allocations: 318.8 kB / 0.6933 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002386/0.6686, allocations: 87.95 kB / 0.6934 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.6689, allocations: 125 kB / 0.6935 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005246/0.6694, allocations: 224.8 kB / 0.6937 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.6694, allocations: 4 kB / 0.6937 GB, free: 11.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007128/0.6701, allocations: 282.3 kB / 0.694 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.6701, allocations: 4 kB / 0.694 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.6701, allocations: 4 kB / 0.694 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001679/0.6703, allocations: 20.78 kB / 0.694 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/0.6708, allocations: 63.89 kB / 0.6941 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004583/0.6712, allocations: 0.541 MB / 0.6946 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.6716, allocations: 7.984 kB / 0.6946 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.6716, allocations: 11.94 kB / 0.6946 GB, free: 10.18 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.0001492/0.6717, allocations: 125.8 kB / 0.6948 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.898e-05/0.6718, allocations: 7.953 kB / 0.6948 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008116/0.6726, allocations: 323.1 kB / 0.6951 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.6726, allocations: 3.938 kB / 0.6951 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.6726, allocations: 4 kB / 0.6951 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.6726, allocations: 0 / 0.6951 GB, free: 9.703 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.6739, allocations: 0.5815 MB / 0.6957 GB, free: 9.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6739, allocations: 4 kB / 0.6957 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/0.6744, allocations: 55.89 kB / 0.6957 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.726e-05/0.6745, allocations: 16.84 kB / 0.6957 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.6745, allocations: 11.98 kB / 0.6957 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.6757, allocations: 1.245 MB / 0.697 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6757, allocations: 3.938 kB / 0.697 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009779/0.6766, allocations: 447.5 kB / 0.6974 GB, free: 7.172 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 3.85e-05/0.6767, allocations: 15.97 kB / 0.6974 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.078e-05/0.6767, allocations: 7.938 kB / 0.6974 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003519/0.6771, allocations: 8.156 kB / 0.6974 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.6771, allocations: 27.88 kB / 0.6974 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.6772, allocations: 11.98 kB / 0.6975 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 7.093e-05/0.6772, allocations: 87.27 kB / 0.6975 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.6772, allocations: 0 / 0.6975 GB, free: 7.016 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006054/0.6778, allocations: 131.7 kB / 0.6977 GB, free: 6.887 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.0008047/0.6786, allocations: 274.5 kB / 0.6979 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0007019/0.6793, allocations: 223.8 kB / 0.6981 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.6793, allocations: 0 / 0.6981 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004937/0.6798, allocations: 234.7 kB / 0.6984 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/0.6803, allocations: 50.72 kB / 0.6984 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.6814, allocations: 464.8 kB / 0.6988 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001242/0.6815, allocations: 101.9 kB / 0.6989 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003043/0.6818, allocations: 53.38 kB / 0.699 GB, free: 5.438 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.6819, allocations: 23.42 kB / 0.699 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of SimCode: time 8.41e-07/0.6819, allocations: 0 / 0.699 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of Templates: time 0.01384/0.6958, allocations: 6.44 MB / 0.7053 GB, free: 15 MB / 0.545 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/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.931523600593209]