Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.008218/0.008218, allocations: 105.8 kB / 21.98 MB, free: 5.219 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.002029/0.002029, allocations: 212.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.494/1.494, allocations: 230.6 MB / 259 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 71.88 kB / 379.8 MB, free: 2.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2884, allocations: 53.36 MB / 433.2 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.5031/0.7916, allocations: 155.3 MB / 0.5746 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.7928, allocations: 0.6928 MB / 0.5753 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.793, allocations: 6.75 kB / 0.5753 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004245/0.7934, allocations: 90.69 kB / 0.5754 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006753/0.7941, allocations: 295.6 kB / 0.5757 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.7971, allocations: 1.148 MB / 0.5768 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004699/0.8018, allocations: 5.667 MB / 0.5823 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003215/0.8021, allocations: 97.03 kB / 0.5824 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004315/0.8065, allocations: 2.268 MB / 0.5846 GB, free: 11.81 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004674/0.8111, allocations: 2.056 MB / 0.5867 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001551/0.8127, allocations: 238.2 kB / 0.5869 GB, free: 11.28 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005766/0.8185, allocations: 1.83 MB / 0.5887 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002687/0.8211, allocations: 1.245 MB / 0.5899 GB, free: 10.34 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004122/0.8253, allocations: 1.565 MB / 0.5914 GB, free: 9.84 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008514/0.8338, allocations: 4.575 MB / 0.5959 GB, free: 7.551 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.8338, allocations: 0 / 0.5959 GB, free: 7.551 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.8338, allocations: 0 / 0.5959 GB, free: 7.551 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001731/0.834, allocations: 0 / 0.5959 GB, free: 7.551 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.01204/0.846, allocations: 3.48 MB / 0.5993 GB, free: 5.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.846, allocations: 11.75 kB / 0.5993 GB, free: 5.477 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002309/0.8484, allocations: 338 kB / 0.5996 GB, free: 5.332 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003863/0.8522, allocations: 1.333 MB / 0.6009 GB, free: 4.078 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/0.8524, allocations: 180.9 kB / 0.6011 GB, free: 3.898 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008459/0.8533, allocations: 244 kB / 0.6013 GB, free: 3.66 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009797/0.8631, allocations: 3.823 MB / 0.6051 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.237e-05/0.8631, allocations: 0 / 0.6051 GB, free: 15.79 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006321/0.8638, allocations: 112 kB / 0.6052 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.588e-05/0.8638, allocations: 60 kB / 0.6052 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01282/0.8766, allocations: 5.986 MB / 0.6111 GB, free: 9.617 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.02773/0.9044, allocations: 11.26 MB / 0.6221 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009053/0.9134, allocations: 4.791 MB / 0.6267 GB, free: 8.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004661/0.9181, allocations: 2.24 MB / 0.6289 GB, free: 6.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006929/0.9188, allocations: 129.2 kB / 0.629 GB, free: 6.469 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.9189, allocations: 98.62 kB / 0.6291 GB, free: 6.363 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 5.671e-06/0.9189, allocations: 0 / 0.6291 GB, free: 6.363 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.01277/0.9317, allocations: 5.828 MB / 0.6348 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.9318, allocations: 94.41 kB / 0.6349 GB, free: 416 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.9331, allocations: 0.8752 MB / 0.6358 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006731/0.9338, allocations: 101.7 kB / 0.6359 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004708/0.9343, allocations: 0.5268 MB / 0.6364 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001677/0.936, allocations: 1.377 MB / 0.6377 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/0.937, allocations: 0.6216 MB / 0.6383 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002132/0.9373, allocations: 357.9 kB / 0.6387 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003393/0.9407, allocations: 1.748 MB / 0.6404 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004253/0.9449, allocations: 2.254 MB / 0.6426 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008643/0.9535, allocations: 4.333 MB / 0.6468 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.18e-05/0.9536, allocations: 4 kB / 0.6468 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01087/0.9644, allocations: 4.596 MB / 0.6513 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.9645, allocations: 12 kB / 0.6513 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.638e-05/0.9645, allocations: 12 kB / 0.6513 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.646e-05/0.9646, allocations: 28.8 kB / 0.6514 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004252/0.9688, allocations: 0.7966 MB / 0.6521 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.657e-05/0.9689, allocations: 35.92 kB / 0.6522 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002979/0.9719, allocations: 361.6 kB / 0.6525 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006228/0.9725, allocations: 143.9 kB / 0.6527 GB, free: 13.88 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.002006/0.9745, allocations: 0.7582 MB / 0.6534 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008526/0.9753, allocations: 222.8 kB / 0.6536 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01037/0.9857, allocations: 5.168 MB / 0.6587 GB, free: 7.684 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.014e-05/0.9858, allocations: 47.88 kB / 0.6587 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.9858, allocations: 4 kB / 0.6587 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.483e-05/0.9858, allocations: 23.92 kB / 0.6587 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005475/0.9913, allocations: 2.793 MB / 0.6615 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.9913, allocations: 0 / 0.6615 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003778/0.9951, allocations: 0.7371 MB / 0.6622 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.697e-05/0.9951, allocations: 12 kB / 0.6622 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003395/0.9955, allocations: 87.97 kB / 0.6623 GB, free: 4.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.023e-05/0.9955, allocations: 27.92 kB / 0.6623 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.9955, allocations: 0 / 0.6623 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/1.009, allocations: 7.221 MB / 0.6694 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008223/1.009, allocations: 249.8 kB / 0.6696 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007577/1.01, allocations: 87.88 kB / 0.6697 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003221/1.013, allocations: 223.7 kB / 0.6699 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008844/1.014, allocations: 330.7 kB / 0.6702 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005618/1.015, allocations: 179.9 kB / 0.6704 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001074/1.016, allocations: 0.6864 MB / 0.671 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/1.016, allocations: 0 / 0.671 GB, free: 11.01 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003619/1.02, allocations: 1.089 MB / 0.6721 GB, free: 9.918 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.001323/1.021, allocations: 439.7 kB / 0.6725 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008699/1.03, allocations: 4.12 MB / 0.6766 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.635e-05/1.03, allocations: 9 kB / 0.6766 GB, free: 5.352 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004269/1.034, allocations: 2.104 MB / 0.6786 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006553/1.04, allocations: 1.252 MB / 0.6798 GB, free: 2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/1.055, allocations: 6.818 MB / 0.6865 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001682/1.056, allocations: 1.852 MB / 0.6883 GB, free: 9.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001907/1.058, allocations: 339.3 kB / 0.6886 GB, free: 8.918 MB / 0.545 GB Notification: Performance of SimCode: time 1.664e-06/1.058, allocations: 0 / 0.6886 GB, free: 8.918 MB / 0.545 GB Notification: Performance of Templates: time 0.0799/1.138, allocations: 47.26 MB / 0.7348 GB, free: 9.789 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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: 13.148476550821215]