Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.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.001316/0.001316, allocations: 116.8 kB / 18.41 MB, free: 4.668 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.001266/0.001266, allocations: 190.9 kB / 21.35 MB, free: 1.734 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.419/1.419, allocations: 222.9 MB / 247 MB, free: 4.344 MB / 190.1 MB " [Timeout remaining time 178] 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(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.0.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.0.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 51.92 kB / 358.7 MB, free: 8.492 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1041, allocations: 49.43 MB / 408.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3941/0.4983, allocations: 151.8 MB / 0.5468 GB, free: 2.582 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.4996, allocations: 0.7004 MB / 0.5475 GB, free: 1.898 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.519e-05/0.4997, allocations: 0 / 0.5475 GB, free: 1.898 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.5001, allocations: 71.5 kB / 0.5476 GB, free: 1.828 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006182/0.5008, allocations: 300.3 kB / 0.5479 GB, free: 1.539 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003059/0.5038, allocations: 1.117 MB / 0.5489 GB, free: 440 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005337/0.5092, allocations: 5.601 MB / 0.5544 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003666/0.5096, allocations: 256 kB / 0.5547 GB, free: 10.54 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004139/0.5137, allocations: 2.171 MB / 0.5568 GB, free: 8.359 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003961/0.5177, allocations: 1.959 MB / 0.5587 GB, free: 6.395 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001055/0.5188, allocations: 240 kB / 0.5589 GB, free: 6.16 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004833/0.5236, allocations: 1.739 MB / 0.5606 GB, free: 4.422 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001696/0.5254, allocations: 1.224 MB / 0.5618 GB, free: 3.195 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002885/0.5283, allocations: 1.565 MB / 0.5633 GB, free: 1.625 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006449/0.5347, allocations: 4.552 MB / 0.5678 GB, free: 13.06 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5348, allocations: 0 / 0.5678 GB, free: 13.06 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5348, allocations: 0 / 0.5678 GB, free: 13.06 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.000125/0.5349, allocations: 0 / 0.5678 GB, free: 13.06 MB / 478.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.01081/0.5457, allocations: 3.543 MB / 0.5712 GB, free: 9.449 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.5458, allocations: 12.03 kB / 0.5713 GB, free: 9.438 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001955/0.5477, allocations: 335.8 kB / 0.5716 GB, free: 9.109 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002659/0.5504, allocations: 1.347 MB / 0.5729 GB, free: 7.719 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/0.5506, allocations: 179.8 kB / 0.5731 GB, free: 7.543 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003923/0.551, allocations: 248 kB / 0.5733 GB, free: 7.301 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006679/0.5577, allocations: 3.823 MB / 0.577 GB, free: 3.422 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.725e-05/0.5578, allocations: 2.125 kB / 0.577 GB, free: 3.422 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003762/0.5581, allocations: 112 kB / 0.5771 GB, free: 3.312 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.467e-05/0.5582, allocations: 60 kB / 0.5772 GB, free: 3.254 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009922/0.5681, allocations: 5.986 MB / 0.583 GB, free: 13.25 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.02117/0.5893, allocations: 11.22 MB / 0.594 GB, free: 1.184 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007977/0.5974, allocations: 5.034 MB / 0.5989 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003909/0.6013, allocations: 2.408 MB / 0.6013 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007399/0.6021, allocations: 443.3 kB / 0.6017 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/0.6022, allocations: 98.62 kB / 0.6018 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=390): time 7.213e-06/0.6023, allocations: 0 / 0.6018 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of matching and sorting (n=390): time 0.01123/0.6135, allocations: 5.817 MB / 0.6075 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.3e-05/0.6136, allocations: 94.41 kB / 0.6076 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.615, allocations: 0.8752 MB / 0.6084 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004893/0.6155, allocations: 101.7 kB / 0.6085 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000496/0.616, allocations: 0.5359 MB / 0.609 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001518/0.6175, allocations: 1.363 MB / 0.6104 GB, free: 252 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2453/0.8628, allocations: 0.6263 MB / 0.611 GB, free: 175.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.863, allocations: 358.4 kB / 0.6113 GB, free: 175.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003515/0.8665, allocations: 1.741 MB / 0.613 GB, free: 175.6 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004436/0.871, allocations: 2.263 MB / 0.6152 GB, free: 175.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008361/0.8794, allocations: 4.326 MB / 0.6195 GB, free: 174.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.684e-05/0.8794, allocations: 3.875 kB / 0.6195 GB, free: 174.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01105/0.8905, allocations: 4.596 MB / 0.624 GB, free: 174.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.8906, allocations: 12.44 kB / 0.624 GB, free: 174.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.463e-05/0.8906, allocations: 11.19 kB / 0.624 GB, free: 174.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.65e-05/0.8907, allocations: 28.31 kB / 0.624 GB, free: 174.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00399/0.8947, allocations: 0.7947 MB / 0.6248 GB, free: 174.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001173/0.8949, allocations: 32.97 kB / 0.6248 GB, free: 174.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002883/0.8977, allocations: 370.4 kB / 0.6252 GB, free: 174.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008683/0.8986, allocations: 145.3 kB / 0.6253 GB, free: 174.4 MB / 0.4981 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.002353/0.901, allocations: 0.7578 MB / 0.626 GB, free: 174.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/0.9021, allocations: 218.3 kB / 0.6262 GB, free: 174.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/0.9125, allocations: 5.163 MB / 0.6313 GB, free: 172.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-05/0.9125, allocations: 45.38 kB / 0.6313 GB, free: 172.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.993e-05/0.9126, allocations: 0 / 0.6313 GB, free: 172.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-05/0.9126, allocations: 26.06 kB / 0.6314 GB, free: 172.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004901/0.9175, allocations: 2.822 MB / 0.6341 GB, free: 171.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.387e-05/0.9176, allocations: 3.969 kB / 0.6341 GB, free: 171.6 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003299/0.9209, allocations: 0.7313 MB / 0.6348 GB, free: 171.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.147e-05/0.921, allocations: 15.31 kB / 0.6348 GB, free: 171.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005088/0.9215, allocations: 98.34 kB / 0.6349 GB, free: 171.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.512e-05/0.9215, allocations: 19.28 kB / 0.635 GB, free: 171.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.9215, allocations: 0 / 0.635 GB, free: 171.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009717/0.9313, allocations: 7.226 MB / 0.642 GB, free: 166 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005255/0.9318, allocations: 327.1 kB / 0.6423 GB, free: 165.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005122/0.9324, allocations: 80.2 kB / 0.6424 GB, free: 165.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00309/0.9355, allocations: 223.7 kB / 0.6426 GB, free: 165.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006345/0.9361, allocations: 322.2 kB / 0.6429 GB, free: 165.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005416/0.9367, allocations: 171.9 kB / 0.6431 GB, free: 165 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008299/0.9375, allocations: 0.6902 MB / 0.6438 GB, free: 164.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3e-07/0.9375, allocations: 0 / 0.6438 GB, free: 164.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002876/0.9404, allocations: 1.085 MB / 0.6448 GB, free: 163.2 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.001346/0.9418, allocations: 450.3 kB / 0.6453 GB, free: 162.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006691/0.9485, allocations: 4.302 MB / 0.6495 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.448e-05/0.9486, allocations: 12.91 kB / 0.6495 GB, free: 158.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003193/0.9518, allocations: 2.259 MB / 0.6517 GB, free: 156.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006392/0.9582, allocations: 1.243 MB / 0.6529 GB, free: 155.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/0.9702, allocations: 6.823 MB / 0.6595 GB, free: 148.2 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/0.9714, allocations: 1.853 MB / 0.6614 GB, free: 146.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002112/0.9736, allocations: 331.3 kB / 0.6617 GB, free: 146 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/0.9736, allocations: 0 / 0.6617 GB, free: 146 MB / 0.4981 GB Notification: Performance of Templates: time 0.05942/1.033, allocations: 46.89 MB / 0.7075 GB, free: 99.22 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 12.63871339801699]