Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.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.00131/0.00131, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001423/0.001423, allocations: 209.4 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 7.801 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+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(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_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_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 51.91 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2933, allocations: 53.36 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3896/0.6829, allocations: 133.5 MB / 0.5518 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.6841, allocations: 0.6558 MB / 0.5525 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.5e-05/0.6841, allocations: 4.688 kB / 0.5525 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003752/0.6845, allocations: 78.09 kB / 0.5525 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006149/0.6851, allocations: 295.4 kB / 0.5528 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.6878, allocations: 1.133 MB / 0.5539 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003972/0.6918, allocations: 5.673 MB / 0.5595 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.692, allocations: 95.34 kB / 0.5596 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00318/0.6952, allocations: 2.303 MB / 0.5618 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003116/0.6983, allocations: 2.052 MB / 0.5638 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005305/0.6988, allocations: 239.3 kB / 0.564 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003019/0.7018, allocations: 1.558 MB / 0.5656 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001097/0.7029, allocations: 1.253 MB / 0.5668 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.7049, allocations: 1.405 MB / 0.5682 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004102/0.709, allocations: 4.548 MB / 0.5726 GB, free: 15.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.709, allocations: 2.375 kB / 0.5726 GB, free: 15.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.709, allocations: 0 / 0.5726 GB, free: 15.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.199e-05/0.7091, allocations: 0 / 0.5726 GB, free: 15.09 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.008865/0.7179, allocations: 3.48 MB / 0.576 GB, free: 13.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.718, allocations: 8.5 kB / 0.576 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001826/0.7198, allocations: 336.8 kB / 0.5763 GB, free: 13.83 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003242/0.723, allocations: 1.33 MB / 0.5776 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.7232, allocations: 186.6 kB / 0.5778 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003893/0.7236, allocations: 252.3 kB / 0.5781 GB, free: 13.34 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007084/0.7306, allocations: 5.944 MB / 0.5839 GB, free: 9.551 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.967e-05/0.7307, allocations: 0 / 0.5839 GB, free: 9.551 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003899/0.7311, allocations: 113.7 kB / 0.584 GB, free: 9.551 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.645e-05/0.7311, allocations: 57.44 kB / 0.584 GB, free: 9.551 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008643/0.7398, allocations: 5.871 MB / 0.5898 GB, free: 8.023 MB / 462.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.02245/0.7622, allocations: 7.312 MB / 0.5969 GB, free: 3.125 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008225/0.7704, allocations: 4.769 MB / 0.6016 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004006/0.7744, allocations: 2.24 MB / 0.6037 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004729/0.7749, allocations: 115 kB / 0.6038 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000108/0.775, allocations: 98.62 kB / 0.6039 GB, free: 11.89 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 6.171e-06/0.775, allocations: 0 / 0.6039 GB, free: 11.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.01033/0.7854, allocations: 5.8 MB / 0.6096 GB, free: 6.066 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/0.7855, allocations: 90.47 kB / 0.6097 GB, free: 5.965 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008582/0.7863, allocations: 0.6422 MB / 0.6103 GB, free: 5.309 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004027/0.7867, allocations: 107 kB / 0.6104 GB, free: 5.199 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.7871, allocations: 0.5481 MB / 0.611 GB, free: 4.648 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001226/0.7883, allocations: 1.371 MB / 0.6123 GB, free: 3.297 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/0.7893, allocations: 0.6294 MB / 0.6129 GB, free: 2.66 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.7895, allocations: 334 kB / 0.6132 GB, free: 2.328 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00286/0.7923, allocations: 1.75 MB / 0.6149 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003349/0.7957, allocations: 2.254 MB / 0.6171 GB, free: 14.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006866/0.8026, allocations: 4.336 MB / 0.6214 GB, free: 9.707 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-05/0.8026, allocations: 8 kB / 0.6214 GB, free: 9.699 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008058/0.8106, allocations: 4.57 MB / 0.6258 GB, free: 5.168 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.8107, allocations: 12 kB / 0.6259 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.725e-05/0.8107, allocations: 12 kB / 0.6259 GB, free: 5.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.108e-05/0.8107, allocations: 24 kB / 0.6259 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003992/0.8147, allocations: 0.7917 MB / 0.6267 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.134e-05/0.8148, allocations: 48.45 kB / 0.6267 GB, free: 4.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002453/0.8172, allocations: 337.8 kB / 0.627 GB, free: 4 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003177/0.8175, allocations: 147.9 kB / 0.6272 GB, free: 3.855 MB / 494.1 MB 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.001676/0.8192, allocations: 0.7583 MB / 0.6279 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005951/0.8198, allocations: 194.9 kB / 0.6281 GB, free: 2.941 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009263/0.8291, allocations: 5.148 MB / 0.6331 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.698e-05/0.8291, allocations: 40 kB / 0.6332 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.8291, allocations: 3.938 kB / 0.6332 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.853e-05/0.8292, allocations: 19.92 kB / 0.6332 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00437/0.8335, allocations: 2.204 MB / 0.6353 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.8336, allocations: 4 kB / 0.6353 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003718/0.8373, allocations: 0.7305 MB / 0.6361 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-05/0.8373, allocations: 12 kB / 0.6361 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002606/0.8376, allocations: 95.95 kB / 0.6362 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.817e-05/0.8376, allocations: 15.94 kB / 0.6362 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.8376, allocations: 1.641 kB / 0.6362 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01163/0.8492, allocations: 7.21 MB / 0.6432 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006122/0.8498, allocations: 229.9 kB / 0.6434 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003822/0.8502, allocations: 83.88 kB / 0.6435 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002871/0.8531, allocations: 223.8 kB / 0.6437 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006156/0.8537, allocations: 326.8 kB / 0.644 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004013/0.8541, allocations: 183.8 kB / 0.6442 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006673/0.8548, allocations: 0.4987 MB / 0.6447 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8548, allocations: 0 / 0.6447 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002583/0.8573, allocations: 1.112 MB / 0.6458 GB, free: 0.8555 MB / 0.4981 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.001058/0.8584, allocations: 441.5 kB / 0.6462 GB, free: 480 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006956/0.8654, allocations: 4.113 MB / 0.6502 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/0.8654, allocations: 9.312 kB / 0.6502 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003381/0.8687, allocations: 2.11 MB / 0.6523 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004748/0.8735, allocations: 1.04 MB / 0.6533 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/0.8866, allocations: 6.668 MB / 0.6598 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001375/0.888, allocations: 1.271 MB / 0.6611 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005156/0.8932, allocations: 1.746 MB / 0.6628 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001151/0.8943, allocations: 287.2 kB / 0.663 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of SimCode: time 1.212e-06/0.8943, allocations: 0 / 0.663 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.1005/0.9949, allocations: 64.06 MB / 0.7256 GB, free: 212 kB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.004640641156584]