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.00152/0.00152, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001795/0.001795, allocations: 209.9 kB / 24.49 MB, free: 4.148 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.412/1.412, allocations: 230.6 MB / 258.3 MB, free: 8 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.001516/0.001516, allocations: 47.92 kB / 379 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2481, allocations: 53.37 MB / 432.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.392/0.6401, allocations: 155.2 MB / 0.5739 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.6413, allocations: 0.7042 MB / 0.5746 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.6414, allocations: 0 / 0.5746 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003899/0.6418, allocations: 88.61 kB / 0.5746 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006123/0.6424, allocations: 294.9 kB / 0.5749 GB, free: 12.85 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002905/0.6453, allocations: 1.139 MB / 0.576 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004502/0.6498, allocations: 5.672 MB / 0.5816 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003127/0.6501, allocations: 98.64 kB / 0.5817 GB, free: 11.86 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003926/0.654, allocations: 2.273 MB / 0.5839 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003963/0.658, allocations: 2.053 MB / 0.5859 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001241/0.6592, allocations: 237.9 kB / 0.5861 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004805/0.6641, allocations: 1.833 MB / 0.5879 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00221/0.6663, allocations: 1.241 MB / 0.5891 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003165/0.6694, allocations: 1.565 MB / 0.5906 GB, free: 9.809 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006775/0.6762, allocations: 4.568 MB / 0.5951 GB, free: 7.551 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.6762, allocations: 0 / 0.5951 GB, free: 7.551 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.6762, allocations: 6.812 kB / 0.5951 GB, free: 7.547 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001467/0.6764, allocations: 1.406 kB / 0.5951 GB, free: 7.547 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.01092/0.6873, allocations: 3.481 MB / 0.5985 GB, free: 5.473 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.6873, allocations: 9.594 kB / 0.5985 GB, free: 5.473 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002126/0.6894, allocations: 339.9 kB / 0.5988 GB, free: 5.324 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003858/0.6933, allocations: 1.33 MB / 0.6001 GB, free: 4.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.6935, allocations: 184.9 kB / 0.6003 GB, free: 3.887 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008741/0.6944, allocations: 240 kB / 0.6006 GB, free: 3.652 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008689/0.7031, allocations: 3.823 MB / 0.6043 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.796e-05/0.7031, allocations: 0 / 0.6043 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004499/0.7036, allocations: 119.9 kB / 0.6044 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.809e-05/0.7036, allocations: 60 kB / 0.6045 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01037/0.714, allocations: 5.983 MB / 0.6103 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.02443/0.7384, allocations: 11.26 MB / 0.6213 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008231/0.7467, allocations: 4.783 MB / 0.626 GB, free: 8.816 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004078/0.7507, allocations: 2.24 MB / 0.6282 GB, free: 6.566 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000555/0.7513, allocations: 137.7 kB / 0.6283 GB, free: 6.457 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.7514, allocations: 94.62 kB / 0.6284 GB, free: 6.355 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 5.31e-06/0.7514, allocations: 3.938 kB / 0.6284 GB, free: 6.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.01163/0.763, allocations: 5.821 MB / 0.6341 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.95e-05/0.7631, allocations: 94.41 kB / 0.6342 GB, free: 412 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.7645, allocations: 0.877 MB / 0.635 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006906/0.7652, allocations: 101.7 kB / 0.6351 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004414/0.7656, allocations: 0.5314 MB / 0.6356 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001597/0.7672, allocations: 1.366 MB / 0.637 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.7683, allocations: 0.6294 MB / 0.6376 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002034/0.7685, allocations: 357.9 kB / 0.6379 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00317/0.7716, allocations: 1.744 MB / 0.6396 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003861/0.7755, allocations: 2.262 MB / 0.6418 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007733/0.7832, allocations: 4.329 MB / 0.6461 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-05/0.7833, allocations: 4 kB / 0.6461 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008549/0.7918, allocations: 4.596 MB / 0.6505 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.452e-05/0.7918, allocations: 12 kB / 0.6506 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.7919, allocations: 8.875 kB / 0.6506 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.209e-05/0.7919, allocations: 28 kB / 0.6506 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003908/0.7958, allocations: 0.7997 MB / 0.6514 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.671e-05/0.7959, allocations: 35.92 kB / 0.6514 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002779/0.7987, allocations: 365.6 kB / 0.6518 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005127/0.7992, allocations: 140 kB / 0.6519 GB, free: 13.87 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.001775/0.801, allocations: 0.7621 MB / 0.6526 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000753/0.8017, allocations: 222.7 kB / 0.6528 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/0.8119, allocations: 5.171 MB / 0.6579 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.747e-05/0.812, allocations: 47.92 kB / 0.6579 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.812, allocations: 7.938 kB / 0.658 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-05/0.8121, allocations: 19.92 kB / 0.658 GB, free: 7.594 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00534/0.8174, allocations: 2.794 MB / 0.6607 GB, free: 4.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/0.8174, allocations: 3.938 kB / 0.6607 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003892/0.8213, allocations: 0.7334 MB / 0.6614 GB, free: 4.117 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.585e-05/0.8214, allocations: 12 kB / 0.6614 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005274/0.8219, allocations: 91.97 kB / 0.6615 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.308e-05/0.8219, allocations: 15.94 kB / 0.6615 GB, free: 4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.8219, allocations: 4 kB / 0.6615 GB, free: 3.996 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01279/0.8347, allocations: 7.227 MB / 0.6686 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006637/0.8354, allocations: 249.8 kB / 0.6688 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006486/0.836, allocations: 87.88 kB / 0.6689 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003003/0.839, allocations: 227.7 kB / 0.6691 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008285/0.8398, allocations: 326.8 kB / 0.6694 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005421/0.8404, allocations: 179.9 kB / 0.6696 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009786/0.8414, allocations: 0.6785 MB / 0.6703 GB, free: 11 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8414, allocations: 0 / 0.6703 GB, free: 11 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003311/0.8447, allocations: 1.093 MB / 0.6713 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.001323/0.846, allocations: 436.3 kB / 0.6718 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008057/0.8541, allocations: 4.122 MB / 0.6758 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/0.8541, allocations: 9 kB / 0.6758 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004079/0.8581, allocations: 2.107 MB / 0.6779 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.006225/0.8644, allocations: 1.262 MB / 0.6791 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.8771, allocations: 6.811 MB / 0.6857 GB, free: 11.12 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/0.8786, allocations: 1.849 MB / 0.6875 GB, free: 9.234 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001692/0.8803, allocations: 335.3 kB / 0.6879 GB, free: 8.906 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/0.8803, allocations: 0 / 0.6879 GB, free: 8.906 MB / 0.545 GB Notification: Performance of Templates: time 0.06995/0.9503, allocations: 47.23 MB / 0.734 GB, free: 9.801 MB / 0.5919 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/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_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: 11.533926472067833]