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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 118.9 kB / 18.5 MB, free: 4.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001662/0.001662, allocations: 194.7 kB / 21.44 MB, free: 1.645 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 225.6 MB / 249.8 MB, free: 3.73 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.2546/0.2546, allocations: 44.92 MB / 349.6 MB, free: 1.758 MB / 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 71.22 kB / 492.3 MB, free: 29.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.132, allocations: 64.26 MB / 0.5435 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.5196/0.6516, allocations: 150 MB / 0.69 GB, free: 5.512 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.6539, allocations: 1.608 MB / 0.6915 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.864e-05/0.6539, allocations: 0 / 0.6915 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.6543, allocations: 48.64 kB / 0.6916 GB, free: 4.195 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001326/0.6557, allocations: 411.8 kB / 0.692 GB, free: 3.891 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006019/0.6563, allocations: 167.7 kB / 0.6921 GB, free: 3.773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002986/0.6566, allocations: 184.8 kB / 0.6923 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.788e-05/0.6566, allocations: 13.05 kB / 0.6923 GB, free: 3.664 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001682/0.6568, allocations: 79 kB / 0.6924 GB, free: 3.621 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.6569, allocations: 63.28 kB / 0.6925 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.6569, allocations: 5.656 kB / 0.6925 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.6581, allocations: 0.61 MB / 0.6931 GB, free: 3.262 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.278e-05/0.6582, allocations: 35.88 kB / 0.6931 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.852e-05/0.6582, allocations: 50.92 kB / 0.6931 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006201/0.6589, allocations: 397.3 kB / 0.6935 GB, free: 2.996 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.6589, allocations: 0 / 0.6935 GB, free: 2.996 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6589, allocations: 0 / 0.6935 GB, free: 2.996 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.6589, allocations: 7.938 kB / 0.6935 GB, free: 2.988 MB / 494.1 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.0006607/0.6595, allocations: 429.1 kB / 0.6939 GB, free: 2.566 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.6596, allocations: 14.05 kB / 0.694 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.6618, allocations: 188.9 kB / 0.6941 GB, free: 2.473 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.662, allocations: 214.7 kB / 0.6943 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.662, allocations: 14.44 kB / 0.6944 GB, free: 2.223 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.753e-05/0.6621, allocations: 9.188 kB / 0.6944 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004835/0.6626, allocations: 196.2 kB / 0.6945 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.6626, allocations: 0 / 0.6945 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.307e-05/0.6626, allocations: 4 kB / 0.6946 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.6626, allocations: 2.812 kB / 0.6946 GB, free: 2.086 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005974/0.6632, allocations: 242.1 kB / 0.6948 GB, free: 1.961 MB / 494.1 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.001771/0.665, allocations: 0.6597 MB / 0.6954 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004453/0.6654, allocations: 186.3 kB / 0.6956 GB, free: 1.254 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/0.6657, allocations: 91.03 kB / 0.6957 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001712/0.6658, allocations: 97.28 kB / 0.6958 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.6659, allocations: 42.48 kB / 0.6958 GB, free: 1.051 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.353e-06/0.6659, allocations: 0 / 0.6958 GB, free: 1.051 MB / 494.1 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.005947/0.6718, allocations: 1.523 MB / 0.6973 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.6719, allocations: 51.41 kB / 0.6974 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.672, allocations: 114.4 kB / 0.6975 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.672, allocations: 29.7 kB / 0.6975 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.078e-05/0.6721, allocations: 103.2 kB / 0.6976 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.319e-05/0.6722, allocations: 70.7 kB / 0.6977 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.6723, allocations: 41.45 kB / 0.6977 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.6725, allocations: 320.9 kB / 0.698 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002324/0.6727, allocations: 98.88 kB / 0.6981 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.6729, allocations: 123.4 kB / 0.6982 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004735/0.6734, allocations: 227.5 kB / 0.6984 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.6734, allocations: 0 / 0.6984 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006235/0.674, allocations: 291.8 kB / 0.6987 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.6741, allocations: 5.344 kB / 0.6987 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.6741, allocations: 2.469 kB / 0.6987 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001365/0.6742, allocations: 22.97 kB / 0.6988 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/0.6746, allocations: 53.73 kB / 0.6988 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000502/0.6751, allocations: 0.5357 MB / 0.6993 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.6754, allocations: 12.98 kB / 0.6993 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.6755, allocations: 11.44 kB / 0.6993 GB, free: 14.23 MB / 0.4981 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.0001507/0.6756, allocations: 130.5 kB / 0.6995 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.475e-05/0.6757, allocations: 9.328 kB / 0.6995 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008019/0.6765, allocations: 319.8 kB / 0.6998 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.6765, allocations: 6.75 kB / 0.6998 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.6765, allocations: 0 / 0.6998 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.6765, allocations: 7.609 kB / 0.6998 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001191/0.6777, allocations: 0.6806 MB / 0.7005 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6777, allocations: 0 / 0.7005 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004454/0.6782, allocations: 51.89 kB / 0.7005 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.502e-05/0.6782, allocations: 24.94 kB / 0.7005 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.6783, allocations: 8 kB / 0.7005 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/0.6794, allocations: 1.363 MB / 0.7019 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.6794, allocations: 4.031 kB / 0.7019 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009176/0.6803, allocations: 454.7 kB / 0.7023 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.6804, allocations: 85.09 kB / 0.7024 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.6804, allocations: 4 kB / 0.7024 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.6807, allocations: 11.98 kB / 0.7024 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.6808, allocations: 15.98 kB / 0.7024 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.6808, allocations: 16.05 kB / 0.7024 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.784e-05/0.6809, allocations: 83.59 kB / 0.7025 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.6809, allocations: 0 / 0.7025 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005606/0.6814, allocations: 135.7 kB / 0.7027 GB, free: 10.82 MB / 0.4981 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.0006833/0.6821, allocations: 254.7 kB / 0.7029 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006719/0.6828, allocations: 233.4 kB / 0.7031 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6828, allocations: 0 / 0.7031 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004487/0.6832, allocations: 234.6 kB / 0.7033 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004631/0.6837, allocations: 45.25 kB / 0.7034 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009313/0.6846, allocations: 493.8 kB / 0.7039 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.685, allocations: 0.7046 MB / 0.7045 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002786/0.6853, allocations: 49.39 kB / 0.7046 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/0.6854, allocations: 27.42 kB / 0.7046 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.6854, allocations: 0 / 0.7046 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of Templates: time 0.01131/0.6967, allocations: 6.232 MB / 0.7107 GB, free: 2.52 MB / 0.4981 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.9072630405426025]