Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001636/0.001636, allocations: 109.1 kB / 21.18 MB, free: 0.7656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00186/0.00186, allocations: 213.7 kB / 24.5 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 59.91 kB / 379 MB, free: 2.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2662, allocations: 53.41 MB / 432.4 MB, free: 6.777 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4343/0.7006, allocations: 155.3 MB / 0.5739 GB, free: 13 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.7017, allocations: 0.6938 MB / 0.5746 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001094/0.7018, allocations: 4 kB / 0.5746 GB, free: 12.94 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00039/0.7022, allocations: 90.38 kB / 0.5747 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006508/0.7029, allocations: 295.7 kB / 0.575 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002977/0.7058, allocations: 1.146 MB / 0.5761 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004439/0.7103, allocations: 5.669 MB / 0.5816 GB, free: 11.92 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002817/0.7106, allocations: 96.19 kB / 0.5817 GB, free: 11.85 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00385/0.7144, allocations: 2.274 MB / 0.5839 GB, free: 11.76 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004138/0.7185, allocations: 2.052 MB / 0.5859 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009154/0.7195, allocations: 238.6 kB / 0.5862 GB, free: 11.23 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005089/0.7245, allocations: 1.83 MB / 0.588 GB, free: 10.76 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001927/0.7265, allocations: 1.24 MB / 0.5892 GB, free: 10.29 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003342/0.7298, allocations: 1.565 MB / 0.5907 GB, free: 9.793 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007263/0.7371, allocations: 4.569 MB / 0.5952 GB, free: 7.496 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.7371, allocations: 4 kB / 0.5952 GB, free: 7.492 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.7371, allocations: 0 / 0.5952 GB, free: 7.492 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000132/0.7372, allocations: 3.938 kB / 0.5952 GB, free: 7.488 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.01136/0.7486, allocations: 3.485 MB / 0.5986 GB, free: 5.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.7486, allocations: 10.19 kB / 0.5986 GB, free: 5.41 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/0.7506, allocations: 340.1 kB / 0.5989 GB, free: 5.262 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00403/0.7547, allocations: 1.328 MB / 0.6002 GB, free: 3.977 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002639/0.7549, allocations: 180.9 kB / 0.6004 GB, free: 3.797 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006907/0.7556, allocations: 244 kB / 0.6006 GB, free: 3.559 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008238/0.7638, allocations: 3.823 MB / 0.6043 GB, free: 15.69 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.66e-05/0.7639, allocations: 4 kB / 0.6043 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004923/0.7644, allocations: 112 kB / 0.6044 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.101e-05/0.7644, allocations: 60 kB / 0.6045 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/0.775, allocations: 5.982 MB / 0.6103 GB, free: 9.516 MB / 478.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.02497/0.7999, allocations: 11.26 MB / 0.6213 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008443/0.8084, allocations: 4.795 MB / 0.626 GB, free: 8.715 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004345/0.8127, allocations: 2.24 MB / 0.6282 GB, free: 6.469 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005991/0.8133, allocations: 132.8 kB / 0.6283 GB, free: 6.359 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/0.8135, allocations: 94.62 kB / 0.6284 GB, free: 6.258 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 5.7e-06/0.8135, allocations: 0 / 0.6284 GB, free: 6.258 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.01175/0.8252, allocations: 5.825 MB / 0.6341 GB, free: 420 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.425e-05/0.8253, allocations: 98.41 kB / 0.6342 GB, free: 308 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.8266, allocations: 0.8674 MB / 0.6351 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005356/0.8271, allocations: 105.7 kB / 0.6352 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004551/0.8276, allocations: 0.5267 MB / 0.6357 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001466/0.829, allocations: 1.373 MB / 0.637 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001009/0.8301, allocations: 0.6293 MB / 0.6376 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001931/0.8302, allocations: 353.9 kB / 0.638 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00315/0.8334, allocations: 1.751 MB / 0.6397 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003708/0.8371, allocations: 2.258 MB / 0.6419 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007857/0.845, allocations: 4.329 MB / 0.6461 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.838e-05/0.845, allocations: 4 kB / 0.6461 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.009314/0.8543, allocations: 4.596 MB / 0.6506 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.8543, allocations: 8 kB / 0.6506 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/0.8543, allocations: 15.94 kB / 0.6506 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.818e-05/0.8544, allocations: 28 kB / 0.6506 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004065/0.8585, allocations: 0.7959 MB / 0.6514 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-05/0.8585, allocations: 31.92 kB / 0.6515 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002909/0.8614, allocations: 369.6 kB / 0.6518 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005058/0.862, allocations: 147.9 kB / 0.6519 GB, free: 13.76 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.001817/0.8638, allocations: 0.7544 MB / 0.6527 GB, free: 13 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000783/0.8646, allocations: 218.8 kB / 0.6529 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01051/0.8751, allocations: 5.174 MB / 0.6579 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.163e-05/0.8751, allocations: 43.94 kB / 0.658 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.8751, allocations: 0 / 0.658 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.94e-05/0.8751, allocations: 19.92 kB / 0.658 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005117/0.8803, allocations: 2.796 MB / 0.6607 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.8803, allocations: 0 / 0.6607 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003853/0.8841, allocations: 0.7345 MB / 0.6615 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.297e-05/0.8842, allocations: 12 kB / 0.6615 GB, free: 4.023 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003954/0.8846, allocations: 91.97 kB / 0.6616 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.297e-05/0.8846, allocations: 15.94 kB / 0.6616 GB, free: 3.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.8846, allocations: 7.875 kB / 0.6616 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01266/0.8973, allocations: 7.233 MB / 0.6686 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006959/0.898, allocations: 249.8 kB / 0.6689 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006301/0.8986, allocations: 83.88 kB / 0.669 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003066/0.9017, allocations: 224.6 kB / 0.6692 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007519/0.9024, allocations: 326.8 kB / 0.6695 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004794/0.9029, allocations: 179.9 kB / 0.6697 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001042/0.9039, allocations: 0.6785 MB / 0.6703 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.9039, allocations: 0 / 0.6703 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002976/0.9069, allocations: 1.097 MB / 0.6714 GB, free: 9.816 MB / 0.5294 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.001117/0.908, allocations: 443.5 kB / 0.6718 GB, free: 9.383 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007657/0.9157, allocations: 4.125 MB / 0.6758 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.9157, allocations: 5 kB / 0.6758 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003769/0.9195, allocations: 2.111 MB / 0.6779 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005866/0.9253, allocations: 1.245 MB / 0.6791 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/0.9388, allocations: 6.815 MB / 0.6858 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/0.9404, allocations: 1.849 MB / 0.6876 GB, free: 9.148 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/0.9422, allocations: 331.3 kB / 0.6879 GB, free: 8.824 MB / 0.545 GB Notification: Performance of SimCode: time 1.323e-06/0.9422, allocations: 0 / 0.6879 GB, free: 8.824 MB / 0.545 GB Notification: Performance of Templates: time 0.0748/1.017, allocations: 47.24 MB / 0.734 GB, free: 9.688 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_trunk_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.560104693984613]