Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0008709/0.0008709, allocations: 91.61 kB / 22.19 MB, free: 2.379 MB / 18.57 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.0008662/0.0008662, allocations: 159.4 kB / 25.45 MB, free: 9.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.835/0.835, allocations: 158.6 MB / 187.2 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 299.7 MB, free: 6.934 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.743e-05/1.884e-05, allocations: 2.281 kB / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2722/0.2722, allocations: 131.7 MB / 431.4 MB, free: 7.848 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.2734, allocations: 0.8969 MB / 432.3 MB, free: 6.973 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.2735, allocations: 7.938 kB / 432.3 MB, free: 6.965 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003696/0.2739, allocations: 73.61 kB / 432.4 MB, free: 6.895 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004722/0.2744, allocations: 304.9 kB / 432.7 MB, free: 6.598 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002544/0.2769, allocations: 1.34 MB / 434 MB, free: 5.258 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003164/0.2801, allocations: 5.69 MB / 439.7 MB, free: 15.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.2803, allocations: 92.75 kB / 439.8 MB, free: 15.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002918/0.2832, allocations: 2.948 MB / 442.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002209/0.2854, allocations: 2.113 MB / 444.9 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004648/0.2859, allocations: 240 kB / 445.1 MB, free: 10.13 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002545/0.2884, allocations: 1.673 MB / 446.8 MB, free: 8.453 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000896/0.2893, allocations: 1.278 MB / 448.1 MB, free: 7.172 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001321/0.2906, allocations: 1.26 MB / 449.3 MB, free: 5.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004325/0.295, allocations: 5.077 MB / 454.4 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.295, allocations: 0 / 454.4 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.295, allocations: 0 / 454.4 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.829e-05/0.295, allocations: 4 kB / 454.4 MB, free: 0.8164 MB / 378.7 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.004617/0.2996, allocations: 3.474 MB / 457.9 MB, free: 13.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2997, allocations: 12.03 kB / 457.9 MB, free: 13.28 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009707/0.3006, allocations: 337.2 kB / 458.2 MB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.3023, allocations: 1.337 MB / 459.6 MB, free: 11.58 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.336e-05/0.3024, allocations: 188.8 kB / 459.7 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002592/0.3026, allocations: 236 kB / 460 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004554/0.3072, allocations: 5.947 MB / 465.9 MB, free: 4.652 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/0.3072, allocations: 0 / 465.9 MB, free: 4.652 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/0.3075, allocations: 112 kB / 466 MB, free: 4.543 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/0.3075, allocations: 56 kB / 466.1 MB, free: 4.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005413/0.3129, allocations: 5.877 MB / 472 MB, free: 14.59 MB / 410.7 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.009668/0.3226, allocations: 7.306 MB / 479.3 MB, free: 7.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004335/0.3269, allocations: 4.778 MB / 484 MB, free: 2.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002064/0.329, allocations: 2.236 MB / 486.3 MB, free: 188 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002932/0.3293, allocations: 115 kB / 486.4 MB, free: 72 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.431e-05/0.3293, allocations: 95.61 kB / 486.5 MB, free: 15.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 4.398e-06/0.3293, allocations: 0 / 486.5 MB, free: 15.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.005963/0.3353, allocations: 5.797 MB / 492.3 MB, free: 10.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.3354, allocations: 94.47 kB / 492.4 MB, free: 10.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005219/0.3359, allocations: 0.6383 MB / 493 MB, free: 9.395 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000202/0.3361, allocations: 105.7 kB / 493.1 MB, free: 9.285 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/0.3363, allocations: 0.5448 MB / 493.7 MB, free: 8.734 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007194/0.337, allocations: 1.359 MB / 495 MB, free: 7.363 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006237/0.3377, allocations: 0.6255 MB / 495.7 MB, free: 6.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3378, allocations: 337.9 kB / 496 MB, free: 6.395 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001772/0.3396, allocations: 1.748 MB / 497.7 MB, free: 4.645 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002047/0.3416, allocations: 2.258 MB / 500 MB, free: 2.234 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004185/0.3458, allocations: 4.333 MB / 0.4925 GB, free: 13.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.3458, allocations: 4 kB / 0.4925 GB, free: 13.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.004746/0.3505, allocations: 4.571 MB / 0.497 GB, free: 9.121 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.3506, allocations: 16.88 kB / 0.497 GB, free: 9.105 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.3506, allocations: 12 kB / 0.497 GB, free: 9.094 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.978e-05/0.3506, allocations: 24 kB / 0.497 GB, free: 9.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/0.3524, allocations: 0.7992 MB / 0.4978 GB, free: 8.273 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.859e-05/0.3524, allocations: 35.92 kB / 0.4978 GB, free: 8.238 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.3534, allocations: 341.8 kB / 0.4982 GB, free: 7.902 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001854/0.3536, allocations: 144 kB / 0.4983 GB, free: 7.762 MB / 442.7 MB 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.001009/0.3546, allocations: 0.766 MB / 0.499 GB, free: 6.984 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000311/0.3549, allocations: 198.9 kB / 0.4992 GB, free: 6.789 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005217/0.3602, allocations: 5.15 MB / 0.5043 GB, free: 1.605 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.929e-05/0.3602, allocations: 43.98 kB / 0.5043 GB, free: 1.562 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.3602, allocations: 0 / 0.5043 GB, free: 1.562 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.034e-05/0.3602, allocations: 23.92 kB / 0.5043 GB, free: 1.539 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003317/0.3635, allocations: 2.204 MB / 0.5065 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.3636, allocations: 0 / 0.5065 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002451/0.366, allocations: 0.7333 MB / 0.5072 GB, free: 14.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.75e-05/0.366, allocations: 12 kB / 0.5072 GB, free: 14.56 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002215/0.3663, allocations: 95.95 kB / 0.5073 GB, free: 14.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.67e-05/0.3663, allocations: 16 kB / 0.5073 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.3663, allocations: 0 / 0.5073 GB, free: 14.45 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009492/0.3758, allocations: 7.207 MB / 0.5144 GB, free: 7.195 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/0.3761, allocations: 229.9 kB / 0.5146 GB, free: 6.969 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002674/0.3764, allocations: 83.89 kB / 0.5147 GB, free: 6.887 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001738/0.3782, allocations: 223.8 kB / 0.5149 GB, free: 6.668 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005314/0.3787, allocations: 326.8 kB / 0.5152 GB, free: 6.348 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000336/0.379, allocations: 175.9 kB / 0.5153 GB, free: 6.176 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005543/0.3796, allocations: 0.4987 MB / 0.5158 GB, free: 5.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3796, allocations: 0 / 0.5158 GB, free: 5.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002258/0.3818, allocations: 1.108 MB / 0.5169 GB, free: 4.57 MB / 458.7 MB 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.001045/0.3829, allocations: 0.491 MB / 0.5174 GB, free: 4.082 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.1227/0.5056, allocations: 4.117 MB / 0.5214 GB, free: 184.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/0.5056, allocations: 5.844 kB / 0.5214 GB, free: 184.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004584/0.5102, allocations: 2.109 MB / 0.5235 GB, free: 184.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004359/0.5146, allocations: 1.045 MB / 0.5245 GB, free: 184.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007626/0.5222, allocations: 6.411 MB / 0.5308 GB, free: 182.4 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007797/0.523, allocations: 1.265 MB / 0.532 GB, free: 182.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000966/0.5239, allocations: 320.4 kB / 0.5323 GB, free: 182.1 MB / 458.7 MB Notification: Performance of SimCode: time 3.737e-06/0.5239, allocations: 4 kB / 0.5323 GB, free: 182.1 MB / 458.7 MB Notification: Performance of Templates: time 0.03056/0.5545, allocations: 45.73 MB / 0.577 GB, free: 140.6 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 7.2356453677639365]