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.001911/0.001911, allocations: 74.03 kB / 21.24 MB, free: 0.5547 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.002282/0.002282, allocations: 152.2 kB / 24.49 MB, free: 3.723 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.388/1.388, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 179] 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.002314/0.002314, allocations: 46.48 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09671/0.09902, allocations: 52.16 MB / 371.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3453/0.4443, allocations: 130.6 MB / 0.4904 GB, free: 15.66 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.4454, allocations: 0.6601 MB / 0.4911 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001251/0.4455, allocations: 2.531 kB / 0.4911 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.4458, allocations: 73.56 kB / 0.4911 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006484/0.4465, allocations: 295.9 kB / 0.4914 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002567/0.4491, allocations: 1.143 MB / 0.4925 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004163/0.4532, allocations: 5.649 MB / 0.4981 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002407/0.4535, allocations: 91.66 kB / 0.4981 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003009/0.4565, allocations: 2.299 MB / 0.5004 GB, free: 14.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003513/0.46, allocations: 2.208 MB / 0.5025 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007035/0.4607, allocations: 237.4 kB / 0.5028 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002998/0.4637, allocations: 1.485 MB / 0.5042 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001132/0.4648, allocations: 1.234 MB / 0.5054 GB, free: 14.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002012/0.4668, allocations: 1.408 MB / 0.5068 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004649/0.4715, allocations: 4.534 MB / 0.5112 GB, free: 12.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.4715, allocations: 0 / 0.5112 GB, free: 12.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4715, allocations: 3.031 kB / 0.5112 GB, free: 12.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.296e-05/0.4715, allocations: 4 kB / 0.5112 GB, free: 12.07 MB / 446.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.008733/0.4803, allocations: 3.466 MB / 0.5146 GB, free: 10.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.4803, allocations: 9.047 kB / 0.5146 GB, free: 10.36 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001833/0.4821, allocations: 336.3 kB / 0.5149 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002876/0.485, allocations: 1.337 MB / 0.5163 GB, free: 9.688 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.4851, allocations: 180.3 kB / 0.5164 GB, free: 9.68 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003797/0.4855, allocations: 245.2 kB / 0.5167 GB, free: 9.672 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007434/0.493, allocations: 5.942 MB / 0.5225 GB, free: 5.891 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.411e-05/0.493, allocations: 0 / 0.5225 GB, free: 5.891 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003942/0.4934, allocations: 112.9 kB / 0.5226 GB, free: 5.891 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.259e-05/0.4934, allocations: 58.88 kB / 0.5226 GB, free: 5.891 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008427/0.5019, allocations: 5.871 MB / 0.5284 GB, free: 3.492 MB / 446.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.01933/0.5212, allocations: 7.297 MB / 0.5355 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007713/0.5289, allocations: 4.771 MB / 0.5401 GB, free: 7.75 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003712/0.5326, allocations: 2.244 MB / 0.5423 GB, free: 5.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004324/0.533, allocations: 115 kB / 0.5424 GB, free: 5.387 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.981e-05/0.5331, allocations: 94.62 kB / 0.5425 GB, free: 5.285 MB / 462.1 MB Notification: Performance of pre-optimization done (n=390): time 6.422e-06/0.5332, allocations: 0 / 0.5425 GB, free: 5.285 MB / 462.1 MB Notification: Performance of matching and sorting (n=390): time 0.01085/0.544, allocations: 5.803 MB / 0.5482 GB, free: 15.46 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.802e-05/0.5441, allocations: 98.41 kB / 0.5483 GB, free: 15.35 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009595/0.5451, allocations: 0.6421 MB / 0.5489 GB, free: 14.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004069/0.5455, allocations: 105.7 kB / 0.549 GB, free: 14.59 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004351/0.5459, allocations: 0.5488 MB / 0.5496 GB, free: 14.04 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001287/0.5472, allocations: 1.37 MB / 0.5509 GB, free: 12.68 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001013/0.5482, allocations: 0.6294 MB / 0.5515 GB, free: 12.05 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5484, allocations: 334 kB / 0.5518 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003065/0.5514, allocations: 1.748 MB / 0.5535 GB, free: 9.965 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003533/0.555, allocations: 2.258 MB / 0.5557 GB, free: 7.551 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007129/0.5621, allocations: 4.331 MB / 0.56 GB, free: 3.047 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.457e-05/0.5621, allocations: 4 kB / 0.56 GB, free: 3.043 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008224/0.5703, allocations: 4.564 MB / 0.5644 GB, free: 14.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.5704, allocations: 18.75 kB / 0.5644 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/0.5704, allocations: 17.69 kB / 0.5645 GB, free: 14.42 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.417e-05/0.5704, allocations: 24 kB / 0.5645 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003755/0.5742, allocations: 0.7879 MB / 0.5653 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.85e-05/0.5743, allocations: 43.8 kB / 0.5653 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/0.5766, allocations: 338.9 kB / 0.5656 GB, free: 13.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000367/0.577, allocations: 144 kB / 0.5658 GB, free: 13.09 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.001585/0.5786, allocations: 0.7699 MB / 0.5665 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007561/0.5793, allocations: 194.9 kB / 0.5667 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/0.5894, allocations: 5.149 MB / 0.5717 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-05/0.5895, allocations: 40 kB / 0.5718 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/0.5895, allocations: 3.938 kB / 0.5718 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-05/0.5895, allocations: 23.92 kB / 0.5718 GB, free: 6.871 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004462/0.594, allocations: 2.202 MB / 0.5739 GB, free: 4.738 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.594, allocations: 4 kB / 0.5739 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003693/0.5977, allocations: 0.7294 MB / 0.5747 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.718e-05/0.5977, allocations: 16 kB / 0.5747 GB, free: 3.988 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003272/0.5981, allocations: 91.95 kB / 0.5748 GB, free: 3.898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.633e-05/0.5981, allocations: 16 kB / 0.5748 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5981, allocations: 3.938 kB / 0.5748 GB, free: 3.879 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01219/0.6103, allocations: 7.208 MB / 0.5818 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005372/0.6108, allocations: 237.9 kB / 0.582 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003903/0.6112, allocations: 79.92 kB / 0.5821 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00301/0.6142, allocations: 219.8 kB / 0.5823 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006613/0.6149, allocations: 330.8 kB / 0.5826 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005335/0.6154, allocations: 175.8 kB / 0.5828 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007345/0.6162, allocations: 0.4987 MB / 0.5833 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6162, allocations: 4 kB / 0.5833 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002907/0.6191, allocations: 1.108 MB / 0.5844 GB, free: 9.992 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.001342/0.6204, allocations: 453.7 kB / 0.5848 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007528/0.6279, allocations: 4.125 MB / 0.5889 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.6279, allocations: 5 kB / 0.5889 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003658/0.6316, allocations: 2.103 MB / 0.5909 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005325/0.6369, allocations: 1.036 MB / 0.5919 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01368/0.6506, allocations: 6.648 MB / 0.5984 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/0.6521, allocations: 1.267 MB / 0.5996 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00601/0.6581, allocations: 1.73 MB / 0.6013 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/0.6596, allocations: 284.4 kB / 0.6016 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of SimCode: time 1.062e-06/0.6596, allocations: 0 / 0.6016 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of Templates: time 0.09362/0.7532, allocations: 58.97 MB / 0.6592 GB, free: 14.08 MB / 0.5762 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 7.580172122921795]