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.001924/0.001924, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002563/0.002563, allocations: 212.6 kB / 24.48 MB, free: 3.84 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.477/1.477, allocations: 230.6 MB / 258.2 MB, free: 7.828 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.001737/0.001737, allocations: 43.92 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2507, allocations: 53.37 MB / 432.3 MB, free: 6.754 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4144/0.6651, allocations: 133.5 MB / 0.5526 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.6662, allocations: 0.6541 MB / 0.5532 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.049e-05/0.6663, allocations: 7.938 kB / 0.5532 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003717/0.6666, allocations: 76.7 kB / 0.5533 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005883/0.6672, allocations: 294.4 kB / 0.5536 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002707/0.6699, allocations: 1.142 MB / 0.5547 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003903/0.6738, allocations: 5.646 MB / 0.5602 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000283/0.6741, allocations: 95.81 kB / 0.5603 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003741/0.6779, allocations: 2.307 MB / 0.5625 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004124/0.682, allocations: 2.212 MB / 0.5647 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009866/0.683, allocations: 237.7 kB / 0.5649 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004031/0.687, allocations: 1.52 MB / 0.5664 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001469/0.6885, allocations: 1.24 MB / 0.5676 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002968/0.6914, allocations: 1.404 MB / 0.569 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006007/0.6974, allocations: 4.547 MB / 0.5734 GB, free: 15.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.6975, allocations: 4 kB / 0.5734 GB, free: 15.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6975, allocations: 0 / 0.5734 GB, free: 15.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001418/0.6976, allocations: 0 / 0.5734 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.01038/0.708, allocations: 3.483 MB / 0.5768 GB, free: 13.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.708, allocations: 10 kB / 0.5769 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002143/0.7102, allocations: 338.6 kB / 0.5772 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003727/0.7139, allocations: 1.331 MB / 0.5785 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001371/0.714, allocations: 180.2 kB / 0.5786 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006428/0.7147, allocations: 251.7 kB / 0.5789 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008359/0.723, allocations: 5.94 MB / 0.5847 GB, free: 9.574 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.964e-05/0.7231, allocations: 0 / 0.5847 GB, free: 9.574 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005145/0.7236, allocations: 114.5 kB / 0.5848 GB, free: 9.574 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.065e-05/0.7236, allocations: 62.75 kB / 0.5849 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009538/0.7332, allocations: 5.87 MB / 0.5906 GB, free: 8.047 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.01939/0.7526, allocations: 7.313 MB / 0.5977 GB, free: 3.078 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007916/0.7605, allocations: 4.779 MB / 0.6024 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004091/0.7646, allocations: 2.237 MB / 0.6046 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005458/0.7651, allocations: 116.1 kB / 0.6047 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.7652, allocations: 94.62 kB / 0.6048 GB, free: 11.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 6.592e-06/0.7652, allocations: 0 / 0.6048 GB, free: 11.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.01218/0.7774, allocations: 5.8 MB / 0.6104 GB, free: 6.039 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.891e-05/0.7775, allocations: 94.47 kB / 0.6105 GB, free: 5.934 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009525/0.7785, allocations: 0.6422 MB / 0.6112 GB, free: 5.277 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006851/0.7791, allocations: 105.7 kB / 0.6113 GB, free: 5.168 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004294/0.7796, allocations: 0.5474 MB / 0.6118 GB, free: 4.617 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00178/0.7814, allocations: 1.367 MB / 0.6131 GB, free: 3.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/0.7825, allocations: 0.6294 MB / 0.6138 GB, free: 2.633 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.7827, allocations: 334 kB / 0.6141 GB, free: 2.301 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003294/0.786, allocations: 1.748 MB / 0.6158 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0042/0.7902, allocations: 2.261 MB / 0.618 GB, free: 14.14 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008302/0.7985, allocations: 4.334 MB / 0.6222 GB, free: 9.676 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.301e-05/0.7985, allocations: 4 kB / 0.6222 GB, free: 9.672 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01035/0.8088, allocations: 4.581 MB / 0.6267 GB, free: 5.133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/0.8089, allocations: 8 kB / 0.6267 GB, free: 5.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.93e-05/0.8089, allocations: 12.88 kB / 0.6267 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.794e-05/0.809, allocations: 28 kB / 0.6267 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00399/0.813, allocations: 0.7899 MB / 0.6275 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.781e-05/0.813, allocations: 42.67 kB / 0.6276 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002695/0.8157, allocations: 341.8 kB / 0.6279 GB, free: 3.969 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000595/0.8163, allocations: 147.9 kB / 0.628 GB, free: 3.824 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.002109/0.8184, allocations: 0.7579 MB / 0.6288 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007697/0.8192, allocations: 194.9 kB / 0.6289 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01032/0.8295, allocations: 5.152 MB / 0.634 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.174e-05/0.8295, allocations: 40 kB / 0.634 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.858e-05/0.8296, allocations: 7.938 kB / 0.634 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-05/0.8296, allocations: 27.91 kB / 0.634 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004859/0.8345, allocations: 2.207 MB / 0.6362 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.248e-05/0.8345, allocations: 0 / 0.6362 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0038/0.8383, allocations: 0.7268 MB / 0.6369 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.517e-05/0.8383, allocations: 16 kB / 0.6369 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003748/0.8387, allocations: 99.95 kB / 0.637 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.899e-05/0.8387, allocations: 12 kB / 0.637 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8387, allocations: 0 / 0.637 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/0.8516, allocations: 7.202 MB / 0.6441 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006631/0.8523, allocations: 229.9 kB / 0.6443 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007261/0.853, allocations: 87.88 kB / 0.6444 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003129/0.8561, allocations: 219.8 kB / 0.6446 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008018/0.8569, allocations: 330.8 kB / 0.6449 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004887/0.8574, allocations: 175.8 kB / 0.6451 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007848/0.8582, allocations: 0.5065 MB / 0.6456 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.8582, allocations: 0 / 0.6456 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003249/0.8614, allocations: 1.116 MB / 0.6466 GB, free: 0.8125 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.001266/0.8627, allocations: 432 kB / 0.6471 GB, free: 444 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00812/0.8708, allocations: 4.12 MB / 0.6511 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.354e-05/0.8708, allocations: 5 kB / 0.6511 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004053/0.8749, allocations: 2.107 MB / 0.6531 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00568/0.8806, allocations: 1.041 MB / 0.6542 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/0.8946, allocations: 6.772 MB / 0.6608 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001457/0.8961, allocations: 1.267 MB / 0.662 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/0.8979, allocations: 323.3 kB / 0.6623 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of SimCode: time 1.563e-06/0.8979, allocations: 2.531 kB / 0.6623 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of Templates: time 0.07351/0.9714, allocations: 45.56 MB / 0.7068 GB, free: 3.445 MB / 0.5606 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/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: 11.373691545799375]