Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.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.001777/0.001777, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002222/0.002222, allocations: 213.9 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hx_h.1.|hx_h.2.|hx_h.3.|hx_h.4.|hx_h.5.|hx_h.6.|hx_h.7.|hx_h.8.|hx_h.9.|hx_h.10.|hx_h.11.|hx_h.12.|hx_h.13.|hx_h.14.|hx_h.15.|hx_h.16.|x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hx_h.1.|hx_h.2.|hx_h.3.|hx_h.4.|hx_h.5.|hx_h.6.|hx_h.7.|hx_h.8.|hx_h.9.|hx_h.10.|hx_h.11.|hx_h.12.|hx_h.13.|hx_h.14.|hx_h.15.|hx_h.16.|x",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 68.77 kB / 379 MB, free: 2.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2345, allocations: 53.37 MB / 432.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4112/0.6457, allocations: 155.3 MB / 0.5739 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.6467, allocations: 0.6991 MB / 0.5746 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.565e-05/0.6468, allocations: 0 / 0.5746 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003418/0.6471, allocations: 85.08 kB / 0.5746 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005916/0.6477, allocations: 301.8 kB / 0.5749 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002466/0.6502, allocations: 1.139 MB / 0.576 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003932/0.6541, allocations: 5.674 MB / 0.5816 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002154/0.6543, allocations: 96.45 kB / 0.5817 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/0.6572, allocations: 2.278 MB / 0.5839 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002993/0.6602, allocations: 2.051 MB / 0.5859 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005172/0.6607, allocations: 236.1 kB / 0.5861 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003415/0.6641, allocations: 1.832 MB / 0.5879 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001297/0.6654, allocations: 1.243 MB / 0.5891 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001985/0.6674, allocations: 1.567 MB / 0.5907 GB, free: 9.82 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005398/0.6728, allocations: 4.57 MB / 0.5951 GB, free: 7.551 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.6728, allocations: 4 kB / 0.5951 GB, free: 7.547 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.6728, allocations: 0 / 0.5951 GB, free: 7.547 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.468e-05/0.6729, allocations: 2.5 kB / 0.5951 GB, free: 7.547 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 621 * Number of variables: 621 Notification: Performance of Generate backend data structure: time 0.009116/0.682, allocations: 3.48 MB / 0.5985 GB, free: 5.473 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.6821, allocations: 10.06 kB / 0.5985 GB, free: 5.473 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/0.6839, allocations: 336 kB / 0.5989 GB, free: 5.328 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003284/0.6872, allocations: 1.333 MB / 0.6002 GB, free: 4.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.6873, allocations: 184.9 kB / 0.6003 GB, free: 3.906 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004701/0.6878, allocations: 240 kB / 0.6006 GB, free: 3.672 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007623/0.6954, allocations: 3.823 MB / 0.6043 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.517e-05/0.6955, allocations: 0 / 0.6043 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004499/0.6959, allocations: 115.9 kB / 0.6044 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.555e-05/0.696, allocations: 60 kB / 0.6045 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01065/0.7066, allocations: 5.982 MB / 0.6103 GB, free: 9.633 MB / 478.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.02243/0.7291, allocations: 11.27 MB / 0.6213 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007953/0.737, allocations: 4.787 MB / 0.626 GB, free: 8.836 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004116/0.7411, allocations: 2.24 MB / 0.6282 GB, free: 6.586 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005221/0.7417, allocations: 130.7 kB / 0.6283 GB, free: 6.48 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001066/0.7418, allocations: 98.62 kB / 0.6284 GB, free: 6.375 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 5.249e-06/0.7418, allocations: 0 / 0.6284 GB, free: 6.375 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.01086/0.7526, allocations: 5.821 MB / 0.6341 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.042e-05/0.7527, allocations: 94.41 kB / 0.6342 GB, free: 436 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.754, allocations: 0.8791 MB / 0.635 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004444/0.7544, allocations: 101.7 kB / 0.6351 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000409/0.7548, allocations: 0.5262 MB / 0.6356 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001406/0.7562, allocations: 1.375 MB / 0.637 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009627/0.7572, allocations: 0.6216 MB / 0.6376 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.7574, allocations: 357.9 kB / 0.6379 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002953/0.7603, allocations: 1.751 MB / 0.6396 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003405/0.7637, allocations: 2.254 MB / 0.6418 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007004/0.7707, allocations: 4.333 MB / 0.6461 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.805e-05/0.7708, allocations: 4 kB / 0.6461 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008327/0.7791, allocations: 4.591 MB / 0.6506 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.513e-05/0.7791, allocations: 12 kB / 0.6506 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/0.7791, allocations: 13.94 kB / 0.6506 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.968e-05/0.7792, allocations: 24 kB / 0.6506 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004003/0.7832, allocations: 0.7995 MB / 0.6514 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.962e-05/0.7833, allocations: 39.86 kB / 0.6514 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/0.786, allocations: 361.6 kB / 0.6518 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004232/0.7864, allocations: 140 kB / 0.6519 GB, free: 13.89 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 11 (fog[11],fog[10],fog[9],fog[8],fog[7],fog[6],fog[5],fog[4],fog[3],fog[2],fog[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 450 * Array equations: 0 * 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.001624/0.788, allocations: 0.7621 MB / 0.6527 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006666/0.7887, allocations: 222.8 kB / 0.6529 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00985/0.7985, allocations: 5.163 MB / 0.6579 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.211e-05/0.7986, allocations: 47.92 kB / 0.658 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/0.7986, allocations: 8.812 kB / 0.658 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-05/0.7986, allocations: 23.92 kB / 0.658 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005024/0.8037, allocations: 2.795 MB / 0.6607 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/0.8037, allocations: 0 / 0.6607 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003915/0.8076, allocations: 0.7294 MB / 0.6614 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.509e-05/0.8076, allocations: 19.88 kB / 0.6614 GB, free: 4.137 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000367/0.808, allocations: 91.97 kB / 0.6615 GB, free: 4.047 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.237e-05/0.808, allocations: 23.88 kB / 0.6616 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.808, allocations: 0 / 0.6616 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01234/0.8204, allocations: 7.23 MB / 0.6686 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007836/0.8211, allocations: 249.8 kB / 0.6689 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007054/0.8219, allocations: 83.88 kB / 0.6689 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002963/0.8248, allocations: 227.7 kB / 0.6691 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000655/0.8255, allocations: 322.8 kB / 0.6695 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004167/0.8259, allocations: 183.9 kB / 0.6696 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001003/0.8269, allocations: 0.6824 MB / 0.6703 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.8269, allocations: 0 / 0.6703 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002999/0.8299, allocations: 1.093 MB / 0.6714 GB, free: 9.93 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (x,hx_h[1],hx_h[2],hx_h[3],hx_h[4],hx_h[5],hx_h[6],hx_h[7],hx_h[8],hx_h[9],hx_h[10],hx_h[11],hx_h[12],hx_h[13],hx_h[14],hx_h[15],hx_h[16]) * Number of discrete variables: 11 (fog[1],fog[2],fog[3],fog[4],fog[5],fog[6],fog[7],fog[8],fog[9],fog[10],fog[11]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (431): * Single equations (assignments): 431 * Array equations: 0 * 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.001134/0.831, allocations: 443.7 kB / 0.6718 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007417/0.8384, allocations: 4.109 MB / 0.6758 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/0.8385, allocations: 14.5 kB / 0.6758 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003527/0.842, allocations: 2.107 MB / 0.6779 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005544/0.8475, allocations: 1.248 MB / 0.6791 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/0.8604, allocations: 6.707 MB / 0.6856 GB, free: 11.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001624/0.862, allocations: 1.853 MB / 0.6875 GB, free: 9.383 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005409/0.8675, allocations: 1.775 MB / 0.6892 GB, free: 7.602 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/0.8686, allocations: 295.3 kB / 0.6895 GB, free: 7.312 MB / 0.545 GB Notification: Performance of SimCode: time 1.462e-06/0.8686, allocations: 0 / 0.6895 GB, free: 7.312 MB / 0.545 GB Notification: Performance of Templates: time 0.1083/0.9769, allocations: 67.3 MB / 0.7552 GB, free: 4.488 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.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: 8.0037428913638]