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.001311/0.001311, allocations: 119.9 kB / 18.45 MB, free: 4.473 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.001357/0.001357, allocations: 189.2 kB / 21.4 MB, free: 1.535 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.452/1.452, allocations: 225.6 MB / 249.8 MB, free: 3.621 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.001519/0.001519, allocations: 51.91 kB / 366.8 MB, free: 360 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1071, allocations: 52.13 MB / 418.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3799/0.487, allocations: 152.3 MB / 0.5579 GB, free: 13.64 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00127/0.4883, allocations: 0.6942 MB / 0.5585 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.247e-05/0.4884, allocations: 7.938 kB / 0.5585 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003854/0.4888, allocations: 78.36 kB / 0.5586 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006264/0.4894, allocations: 297.5 kB / 0.5589 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.4923, allocations: 1.125 MB / 0.56 GB, free: 11.47 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005452/0.4978, allocations: 5.597 MB / 0.5655 GB, free: 5.855 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003045/0.4981, allocations: 188 kB / 0.5656 GB, free: 5.648 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003575/0.5017, allocations: 2.242 MB / 0.5678 GB, free: 3.402 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003488/0.5051, allocations: 2.045 MB / 0.5698 GB, free: 1.352 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007313/0.5059, allocations: 236 kB / 0.5701 GB, free: 1.121 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004117/0.51, allocations: 1.778 MB / 0.5718 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001637/0.5116, allocations: 1.224 MB / 0.573 GB, free: 14.11 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002775/0.5144, allocations: 1.566 MB / 0.5745 GB, free: 12.54 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006326/0.5207, allocations: 4.545 MB / 0.579 GB, free: 7.984 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.5207, allocations: 0 / 0.579 GB, free: 7.984 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5207, allocations: 0 / 0.579 GB, free: 7.984 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001028/0.5208, allocations: 4 kB / 0.579 GB, free: 7.98 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.01023/0.5311, allocations: 3.549 MB / 0.5824 GB, free: 4.363 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.5311, allocations: 8.031 kB / 0.5824 GB, free: 4.355 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001981/0.5331, allocations: 335.8 kB / 0.5828 GB, free: 4.027 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002934/0.536, allocations: 1.347 MB / 0.5841 GB, free: 2.637 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.5362, allocations: 176.9 kB / 0.5842 GB, free: 2.461 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004775/0.5367, allocations: 247.9 kB / 0.5845 GB, free: 2.219 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007573/0.5442, allocations: 3.815 MB / 0.5882 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.268e-05/0.5443, allocations: 0 / 0.5882 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004194/0.5447, allocations: 116 kB / 0.5883 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.702e-05/0.5448, allocations: 60 kB / 0.5884 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/0.5549, allocations: 5.99 MB / 0.5942 GB, free: 8.168 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.02388/0.5788, allocations: 11.23 MB / 0.6052 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008053/0.5869, allocations: 4.775 MB / 0.6098 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004006/0.5909, allocations: 2.248 MB / 0.612 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007245/0.5916, allocations: 439.3 kB / 0.6125 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/0.5917, allocations: 98.56 kB / 0.6126 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=390): time 5.3e-06/0.5917, allocations: 1.781 kB / 0.6126 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of matching and sorting (n=390): time 0.01119/0.6029, allocations: 5.821 MB / 0.6182 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.641e-05/0.603, allocations: 94.41 kB / 0.6183 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.6042, allocations: 0.8791 MB / 0.6192 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005424/0.6048, allocations: 101.7 kB / 0.6193 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005153/0.6053, allocations: 0.5242 MB / 0.6198 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001507/0.6068, allocations: 1.375 MB / 0.6211 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001134/0.6079, allocations: 0.6255 MB / 0.6217 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002062/0.6081, allocations: 361.9 kB / 0.6221 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003406/0.6116, allocations: 1.748 MB / 0.6238 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003843/0.6154, allocations: 2.262 MB / 0.626 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008004/0.6234, allocations: 4.325 MB / 0.6302 GB, free: 1.918 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-05/0.6234, allocations: 4 kB / 0.6302 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.2218/0.8452, allocations: 4.587 MB / 0.6347 GB, free: 182.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.8452, allocations: 14.72 kB / 0.6347 GB, free: 182.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.307e-05/0.8452, allocations: 11.38 kB / 0.6347 GB, free: 182.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.609e-05/0.8453, allocations: 24.97 kB / 0.6348 GB, free: 182.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003602/0.8489, allocations: 0.7955 MB / 0.6355 GB, free: 182.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.99e-05/0.8489, allocations: 33.78 kB / 0.6356 GB, free: 182.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002353/0.8513, allocations: 372 kB / 0.6359 GB, free: 182.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003119/0.8516, allocations: 145.7 kB / 0.6361 GB, free: 182.3 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.001513/0.8531, allocations: 0.7583 MB / 0.6368 GB, free: 182.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005839/0.8537, allocations: 222.6 kB / 0.637 GB, free: 182.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009774/0.8635, allocations: 5.155 MB / 0.6421 GB, free: 181.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.335e-05/0.8635, allocations: 47.34 kB / 0.6421 GB, free: 181.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.407e-05/0.8635, allocations: 1.156 kB / 0.6421 GB, free: 181.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.945e-05/0.8636, allocations: 24.91 kB / 0.6421 GB, free: 181.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004658/0.8683, allocations: 2.833 MB / 0.6449 GB, free: 180.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/0.8683, allocations: 0.5 kB / 0.6449 GB, free: 180.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003372/0.8716, allocations: 0.7278 MB / 0.6456 GB, free: 180.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.031e-05/0.8717, allocations: 13.03 kB / 0.6456 GB, free: 180.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002414/0.8719, allocations: 91.62 kB / 0.6457 GB, free: 180.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.035e-05/0.8719, allocations: 14.22 kB / 0.6457 GB, free: 180.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.8719, allocations: 2.156 kB / 0.6457 GB, free: 180.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01071/0.8826, allocations: 7.227 MB / 0.6528 GB, free: 178.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006504/0.8833, allocations: 329.4 kB / 0.6531 GB, free: 178.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004651/0.8838, allocations: 87.5 kB / 0.6532 GB, free: 178 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002927/0.8867, allocations: 226.4 kB / 0.6534 GB, free: 177.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007059/0.8874, allocations: 310.4 kB / 0.6537 GB, free: 177.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004552/0.8878, allocations: 178.6 kB / 0.6539 GB, free: 177.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008582/0.8887, allocations: 0.6859 MB / 0.6545 GB, free: 177.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.8887, allocations: 1.25 kB / 0.6545 GB, free: 177.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002828/0.8915, allocations: 1.086 MB / 0.6556 GB, free: 177.5 MB / 0.5137 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.001137/0.8927, allocations: 460.6 kB / 0.656 GB, free: 177.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006273/0.8989, allocations: 4.123 MB / 0.6601 GB, free: 175.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.755e-05/0.899, allocations: 8.312 kB / 0.6601 GB, free: 175.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002746/0.9017, allocations: 2.104 MB / 0.6621 GB, free: 174.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005476/0.9072, allocations: 1.252 MB / 0.6633 GB, free: 174.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009757/0.9169, allocations: 6.81 MB / 0.67 GB, free: 167.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008769/0.9178, allocations: 1.857 MB / 0.6718 GB, free: 165.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001586/0.9194, allocations: 331.3 kB / 0.6721 GB, free: 165 MB / 0.5137 GB Notification: Performance of SimCode: time 1.513e-06/0.9194, allocations: 0 / 0.6721 GB, free: 165 MB / 0.5137 GB Notification: Performance of Templates: time 0.05647/0.9759, allocations: 47.09 MB / 0.7181 GB, free: 118 MB / 0.5137 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.534962405916303]