Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 214.4 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 8.031 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001694/0.001694, allocations: 51.91 kB / 378.3 MB, free: 2.641 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2369, allocations: 53.36 MB / 431.6 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3996/0.6365, allocations: 155.3 MB / 0.5731 GB, free: 13.02 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.6376, allocations: 0.6987 MB / 0.5738 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.062e-05/0.6377, allocations: 3.938 kB / 0.5738 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004036/0.6381, allocations: 91.12 kB / 0.5739 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005571/0.6386, allocations: 291.1 kB / 0.5742 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002745/0.6414, allocations: 1.148 MB / 0.5753 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004235/0.6456, allocations: 5.669 MB / 0.5808 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002194/0.6458, allocations: 100.3 kB / 0.5809 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002977/0.6488, allocations: 2.271 MB / 0.5831 GB, free: 11.78 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003203/0.652, allocations: 2.045 MB / 0.5851 GB, free: 11.26 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007654/0.6528, allocations: 240.3 kB / 0.5854 GB, free: 11.25 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004125/0.6569, allocations: 1.838 MB / 0.5872 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001213/0.6581, allocations: 1.238 MB / 0.5884 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001996/0.6601, allocations: 1.566 MB / 0.5899 GB, free: 9.82 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00506/0.6652, allocations: 4.574 MB / 0.5944 GB, free: 7.543 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6652, allocations: 0 / 0.5944 GB, free: 7.543 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6652, allocations: 6.719 kB / 0.5944 GB, free: 7.539 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.525e-05/0.6652, allocations: 0 / 0.5944 GB, free: 7.539 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.009331/0.6746, allocations: 3.484 MB / 0.5978 GB, free: 5.461 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.6746, allocations: 9.75 kB / 0.5978 GB, free: 5.461 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/0.6764, allocations: 331.6 kB / 0.5981 GB, free: 5.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003139/0.6796, allocations: 1.331 MB / 0.5994 GB, free: 4.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001796/0.6798, allocations: 188.9 kB / 0.5996 GB, free: 3.883 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004345/0.6802, allocations: 239.9 kB / 0.5998 GB, free: 3.648 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006848/0.687, allocations: 3.823 MB / 0.6035 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.74e-05/0.6871, allocations: 0 / 0.6035 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003629/0.6875, allocations: 112 kB / 0.6036 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.113e-05/0.6875, allocations: 60 kB / 0.6037 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009503/0.697, allocations: 5.986 MB / 0.6096 GB, free: 9.605 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.02314/0.7201, allocations: 11.26 MB / 0.6205 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007936/0.7281, allocations: 4.787 MB / 0.6252 GB, free: 8.816 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003995/0.7321, allocations: 2.248 MB / 0.6274 GB, free: 6.559 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004711/0.7325, allocations: 135.7 kB / 0.6275 GB, free: 6.449 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001162/0.7327, allocations: 94.62 kB / 0.6276 GB, free: 6.348 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 5.39e-06/0.7327, allocations: 0 / 0.6276 GB, free: 6.348 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.01037/0.743, allocations: 5.821 MB / 0.6333 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.689e-05/0.7431, allocations: 98.34 kB / 0.6334 GB, free: 404 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.7443, allocations: 0.8752 MB / 0.6343 GB, free: 15.51 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000369/0.7447, allocations: 97.7 kB / 0.6344 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.7451, allocations: 0.5361 MB / 0.6349 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001238/0.7463, allocations: 1.367 MB / 0.6362 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009489/0.7473, allocations: 0.6294 MB / 0.6368 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.7475, allocations: 357.9 kB / 0.6372 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003053/0.7505, allocations: 1.74 MB / 0.6389 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003552/0.7541, allocations: 2.262 MB / 0.6411 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006975/0.761, allocations: 4.329 MB / 0.6453 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.7611, allocations: 4 kB / 0.6453 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008083/0.7691, allocations: 4.599 MB / 0.6498 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.09e-05/0.7692, allocations: 12 kB / 0.6498 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.7692, allocations: 12 kB / 0.6498 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.2e-05/0.7692, allocations: 24 kB / 0.6499 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003945/0.7732, allocations: 0.7996 MB / 0.6506 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.804e-05/0.7732, allocations: 31.94 kB / 0.6507 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002419/0.7756, allocations: 365.5 kB / 0.651 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003142/0.776, allocations: 147.9 kB / 0.6512 GB, free: 13.86 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.001557/0.7775, allocations: 0.7582 MB / 0.6519 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006034/0.7781, allocations: 218.8 kB / 0.6521 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009799/0.7879, allocations: 5.167 MB / 0.6571 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.044e-05/0.788, allocations: 44.5 kB / 0.6572 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.788, allocations: 0 / 0.6572 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.781e-05/0.788, allocations: 23.92 kB / 0.6572 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004929/0.7929, allocations: 2.798 MB / 0.6599 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.793, allocations: 0.625 kB / 0.6599 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003665/0.7966, allocations: 0.7333 MB / 0.6607 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.934e-05/0.7966, allocations: 16 kB / 0.6607 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002423/0.7969, allocations: 95.95 kB / 0.6608 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.552e-05/0.7969, allocations: 20.44 kB / 0.6608 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7969, allocations: 0 / 0.6608 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01197/0.8089, allocations: 7.219 MB / 0.6678 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005902/0.8095, allocations: 253.8 kB / 0.6681 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000392/0.8099, allocations: 87.89 kB / 0.6682 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002805/0.8127, allocations: 227.7 kB / 0.6684 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006296/0.8133, allocations: 326.8 kB / 0.6687 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003779/0.8137, allocations: 175.9 kB / 0.6689 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009779/0.8147, allocations: 0.6902 MB / 0.6695 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8147, allocations: 0 / 0.6695 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002429/0.8171, allocations: 1.089 MB / 0.6706 GB, free: 9.902 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.001044/0.8181, allocations: 445.8 kB / 0.671 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007154/0.8253, allocations: 4.118 MB / 0.675 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.8253, allocations: 13.06 kB / 0.6751 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003468/0.8288, allocations: 2.099 MB / 0.6771 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00551/0.8343, allocations: 1.248 MB / 0.6783 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/0.8469, allocations: 6.713 MB / 0.6849 GB, free: 11.24 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/0.8484, allocations: 1.853 MB / 0.6867 GB, free: 9.352 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004894/0.8533, allocations: 1.768 MB / 0.6884 GB, free: 7.578 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001071/0.8544, allocations: 307.3 kB / 0.6887 GB, free: 7.277 MB / 0.545 GB Notification: Performance of SimCode: time 7.41e-07/0.8544, allocations: 0 / 0.6887 GB, free: 7.277 MB / 0.545 GB Notification: Performance of Templates: time 0.1079/0.9624, allocations: 67.3 MB / 0.7544 GB, free: 4.445 MB / 0.6075 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 8.371997577836737]