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.001346/0.001346, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.001414/0.001414, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.45/1.45, allocations: 225.6 MB / 253.3 MB, free: 13 MB / 206.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.001705/0.001705, allocations: 51.92 kB / 371.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2619, allocations: 52.18 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4357/0.6976, allocations: 152.4 MB / 0.5627 GB, free: 13.65 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.6988, allocations: 0.7014 MB / 0.5634 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.6989, allocations: 6.188 kB / 0.5634 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000401/0.6993, allocations: 84.27 kB / 0.5635 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006301/0.6999, allocations: 292 kB / 0.5638 GB, free: 13.49 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002817/0.7028, allocations: 1.137 MB / 0.5649 GB, free: 13.29 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004756/0.7075, allocations: 5.675 MB / 0.5704 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003443/0.7079, allocations: 92.06 kB / 0.5705 GB, free: 12.5 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004962/0.7128, allocations: 2.269 MB / 0.5727 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004781/0.7176, allocations: 2.052 MB / 0.5747 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001249/0.7189, allocations: 240.8 kB / 0.575 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006039/0.7249, allocations: 1.783 MB / 0.5767 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002854/0.7278, allocations: 1.25 MB / 0.5779 GB, free: 11.87 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003149/0.7309, allocations: 1.564 MB / 0.5795 GB, free: 11.49 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007025/0.7379, allocations: 4.55 MB / 0.5839 GB, free: 9.586 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.7379, allocations: 0 / 0.5839 GB, free: 9.586 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.7379, allocations: 0 / 0.5839 GB, free: 9.586 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001321/0.7381, allocations: 0 / 0.5839 GB, free: 9.586 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.01175/0.7498, allocations: 3.481 MB / 0.5873 GB, free: 7.867 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.7499, allocations: 10.12 kB / 0.5873 GB, free: 7.867 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/0.752, allocations: 334.8 kB / 0.5876 GB, free: 7.727 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003553/0.7555, allocations: 1.329 MB / 0.5889 GB, free: 7.195 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.7556, allocations: 186.6 kB / 0.5891 GB, free: 7.184 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00055/0.7562, allocations: 243.7 kB / 0.5893 GB, free: 7.176 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007538/0.7637, allocations: 3.826 MB / 0.5931 GB, free: 5.797 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.775e-05/0.7638, allocations: 0 / 0.5931 GB, free: 5.797 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000507/0.7643, allocations: 110.2 kB / 0.5932 GB, free: 5.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-05/0.7643, allocations: 60 kB / 0.5932 GB, free: 5.711 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01008/0.7744, allocations: 5.985 MB / 0.5991 GB, free: 0.8828 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.02463/0.7991, allocations: 11.25 MB / 0.6101 GB, free: 5.156 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008623/0.8077, allocations: 4.784 MB / 0.6147 GB, free: 352 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004483/0.8122, allocations: 2.24 MB / 0.6169 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006776/0.8128, allocations: 139.5 kB / 0.6171 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.813, allocations: 95.5 kB / 0.6171 GB, free: 13.89 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 6.512e-06/0.813, allocations: 0 / 0.6171 GB, free: 13.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.01271/0.8257, allocations: 5.825 MB / 0.6228 GB, free: 8.039 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.384e-05/0.8258, allocations: 102.3 kB / 0.6229 GB, free: 7.926 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001471/0.8273, allocations: 0.8713 MB / 0.6238 GB, free: 7.047 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008001/0.8281, allocations: 101.7 kB / 0.6239 GB, free: 6.941 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005514/0.8286, allocations: 0.5271 MB / 0.6244 GB, free: 6.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001854/0.8305, allocations: 1.374 MB / 0.6257 GB, free: 5.059 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001733/0.8322, allocations: 0.6254 MB / 0.6264 GB, free: 4.426 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002279/0.8324, allocations: 357.9 kB / 0.6267 GB, free: 4.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003576/0.836, allocations: 1.755 MB / 0.6284 GB, free: 2.312 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004304/0.8403, allocations: 2.254 MB / 0.6306 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008405/0.8487, allocations: 4.329 MB / 0.6348 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.558e-05/0.8488, allocations: 4 kB / 0.6348 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01027/0.859, allocations: 4.591 MB / 0.6393 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.951e-05/0.8591, allocations: 12.97 kB / 0.6393 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.444e-05/0.8591, allocations: 13.19 kB / 0.6393 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.543e-05/0.8592, allocations: 28 kB / 0.6394 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004066/0.8632, allocations: 0.7956 MB / 0.6401 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.914e-05/0.8633, allocations: 35.92 kB / 0.6402 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002958/0.8663, allocations: 365.5 kB / 0.6405 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006895/0.867, allocations: 147.9 kB / 0.6407 GB, free: 5.395 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.002404/0.8694, allocations: 0.7621 MB / 0.6414 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/0.8706, allocations: 218.8 kB / 0.6416 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/0.8817, allocations: 5.159 MB / 0.6467 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.317e-05/0.8817, allocations: 43.94 kB / 0.6467 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.042e-05/0.8818, allocations: 7.984 kB / 0.6467 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.278e-05/0.8818, allocations: 19.92 kB / 0.6467 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005495/0.8873, allocations: 2.801 MB / 0.6495 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.848e-05/0.8873, allocations: 4 kB / 0.6495 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003696/0.891, allocations: 0.7333 MB / 0.6502 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.773e-05/0.8911, allocations: 12 kB / 0.6502 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004416/0.8915, allocations: 87.97 kB / 0.6503 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.735e-05/0.8916, allocations: 23.92 kB / 0.6503 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.8916, allocations: 0 / 0.6503 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01296/0.9045, allocations: 7.223 MB / 0.6574 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007549/0.9053, allocations: 249.8 kB / 0.6576 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000651/0.906, allocations: 87.88 kB / 0.6577 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003181/0.9091, allocations: 223.7 kB / 0.6579 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008112/0.9099, allocations: 326.8 kB / 0.6582 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007158/0.9107, allocations: 179.9 kB / 0.6584 GB, free: 3.219 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001224/0.9119, allocations: 0.6863 MB / 0.659 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9119, allocations: 3.938 kB / 0.6591 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003683/0.9156, allocations: 1.081 MB / 0.6601 GB, free: 1.449 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.001798/0.9174, allocations: 448.8 kB / 0.6605 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008408/0.9258, allocations: 4.117 MB / 0.6646 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.457e-05/0.9258, allocations: 9 kB / 0.6646 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004313/0.9301, allocations: 2.104 MB / 0.6666 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007246/0.9373, allocations: 1.24 MB / 0.6678 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01501/0.9524, allocations: 6.824 MB / 0.6745 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001943/0.9543, allocations: 1.86 MB / 0.6763 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002268/0.9566, allocations: 331.3 kB / 0.6766 GB, free: 464 kB / 0.5294 GB Notification: Performance of SimCode: time 1.924e-06/0.9566, allocations: 0 / 0.6766 GB, free: 464 kB / 0.5294 GB Notification: Performance of Templates: time 0.07841/1.035, allocations: 47.1 MB / 0.7226 GB, free: 1.457 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 -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: 12.509825419867411]