Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.001589/0.001589, allocations: 123.9 kB / 18.46 MB, free: 4.461 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.001716/0.001716, allocations: 205.8 kB / 21.41 MB, free: 1.516 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.571/1.571, allocations: 227.4 MB / 251.6 MB, free: 76 kB / 190.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.2556/0.2556, allocations: 46.16 MB / 351.1 MB, free: 14.37 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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 77.34 kB / 490.2 MB, free: 28.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1337, allocations: 62.44 MB / 0.5397 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.5006/0.6343, allocations: 152.5 MB / 0.6885 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.6365, allocations: 1.595 MB / 0.6901 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.543e-05/0.6366, allocations: 0 / 0.6901 GB, free: 3.047 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003984/0.637, allocations: 54.41 kB / 0.6902 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.6383, allocations: 401 kB / 0.6905 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006465/0.639, allocations: 179 kB / 0.6907 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003811/0.6394, allocations: 182 kB / 0.6909 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.672e-05/0.6394, allocations: 5.812 kB / 0.6909 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000274/0.6397, allocations: 84.66 kB / 0.691 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.6399, allocations: 53.11 kB / 0.691 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.6399, allocations: 11.41 kB / 0.691 GB, free: 2.406 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001399/0.6413, allocations: 0.5962 MB / 0.6916 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.254e-05/0.6414, allocations: 34.7 kB / 0.6916 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.715e-05/0.6415, allocations: 51.39 kB / 0.6917 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009027/0.6425, allocations: 401.7 kB / 0.6921 GB, free: 1.824 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.6425, allocations: 0 / 0.6921 GB, free: 1.824 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6425, allocations: 0 / 0.6921 GB, free: 1.824 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.6425, allocations: 0 / 0.6921 GB, free: 1.824 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.0006666/0.6432, allocations: 446.2 kB / 0.6925 GB, free: 1.387 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.6432, allocations: 7.969 kB / 0.6925 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002219/0.6454, allocations: 202.9 kB / 0.6927 GB, free: 1.285 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.6458, allocations: 202.5 kB / 0.6929 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.6458, allocations: 10.78 kB / 0.6929 GB, free: 1.051 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.909e-05/0.6459, allocations: 11.59 kB / 0.6929 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000513/0.6464, allocations: 203.7 kB / 0.6931 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.6464, allocations: 3.984 kB / 0.6931 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.372e-05/0.6464, allocations: 6.875 kB / 0.6931 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.6464, allocations: 6.5 kB / 0.6931 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006146/0.6471, allocations: 240.8 kB / 0.6934 GB, free: 0.7773 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.001835/0.6489, allocations: 0.6618 MB / 0.694 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004774/0.6494, allocations: 185.5 kB / 0.6942 GB, free: 76 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000206/0.6496, allocations: 93.78 kB / 0.6943 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.6498, allocations: 92.84 kB / 0.6944 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.6499, allocations: 30.56 kB / 0.6944 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.402e-06/0.6499, allocations: 0 / 0.6944 GB, free: 15.88 MB / 0.4981 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.005716/0.6556, allocations: 1.551 MB / 0.6959 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.6557, allocations: 51.41 kB / 0.6959 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.6558, allocations: 114 kB / 0.6961 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.6558, allocations: 25.7 kB / 0.6961 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.779e-05/0.6559, allocations: 95.42 kB / 0.6962 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.63e-05/0.656, allocations: 77.34 kB / 0.6962 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.816e-05/0.6561, allocations: 42.55 kB / 0.6963 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.6562, allocations: 323.6 kB / 0.6966 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.6564, allocations: 90.61 kB / 0.6967 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.6567, allocations: 125.7 kB / 0.6968 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004837/0.6572, allocations: 232.2 kB / 0.697 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6572, allocations: 0 / 0.697 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006516/0.6579, allocations: 282.3 kB / 0.6973 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.6579, allocations: 5.094 kB / 0.6973 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.6579, allocations: 3.938 kB / 0.6973 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001472/0.6581, allocations: 29.66 kB / 0.6973 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00044/0.6585, allocations: 55.61 kB / 0.6974 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004605/0.659, allocations: 0.5276 MB / 0.6979 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002854/0.6593, allocations: 14.08 kB / 0.6979 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.6593, allocations: 11.09 kB / 0.6979 GB, free: 13.05 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.0001405/0.6595, allocations: 131.4 kB / 0.698 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.386e-05/0.6595, allocations: 11.42 kB / 0.6981 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007636/0.6603, allocations: 314.1 kB / 0.6984 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.6603, allocations: 6.719 kB / 0.6984 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6603, allocations: 0 / 0.6984 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.6604, allocations: 6.734 kB / 0.6984 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.6616, allocations: 0.6781 MB / 0.699 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6616, allocations: 1.781 kB / 0.699 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004307/0.662, allocations: 47.23 kB / 0.6991 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.378e-05/0.6621, allocations: 17.09 kB / 0.6991 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.6621, allocations: 8.406 kB / 0.6991 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.6632, allocations: 1.369 MB / 0.7004 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.6633, allocations: 8.016 kB / 0.7004 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009271/0.6642, allocations: 457.5 kB / 0.7009 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-05/0.6643, allocations: 85.09 kB / 0.701 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.659e-05/0.6643, allocations: 12.06 kB / 0.701 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.6646, allocations: 11.98 kB / 0.701 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.6647, allocations: 11.98 kB / 0.701 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.6647, allocations: 15.92 kB / 0.701 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.888e-05/0.6648, allocations: 83.59 kB / 0.7011 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6648, allocations: 0 / 0.7011 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005657/0.6654, allocations: 135.7 kB / 0.7012 GB, free: 9.75 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.000695/0.6661, allocations: 262.7 kB / 0.7015 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006719/0.6668, allocations: 250.2 kB / 0.7017 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.6668, allocations: 4 kB / 0.7017 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004219/0.6672, allocations: 230.6 kB / 0.7019 GB, free: 9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004406/0.6677, allocations: 49.38 kB / 0.702 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000919/0.6686, allocations: 481.8 kB / 0.7024 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.669, allocations: 0.7162 MB / 0.7031 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003581/0.6693, allocations: 49.39 kB / 0.7032 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.6695, allocations: 23.42 kB / 0.7032 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.6695, allocations: 0 / 0.7032 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of Templates: time 0.01152/0.681, allocations: 6.203 MB / 0.7093 GB, free: 1.453 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.723374121822417]