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.001448/0.001448, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001704/0.001704, allocations: 206 kB / 24.47 MB, free: 3.977 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 2.128/2.128, allocations: 230.6 MB / 258.2 MB, free: 7.801 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.001944/0.001944, allocations: 43.94 kB / 379 MB, free: 2.484 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3494/0.3513, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.6064/0.9578, allocations: 133.5 MB / 0.5526 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.9591, allocations: 0.6501 MB / 0.5532 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.9593, allocations: 4.781 kB / 0.5532 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000422/0.9597, allocations: 78.55 kB / 0.5533 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008395/0.9606, allocations: 294.5 kB / 0.5536 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.964, allocations: 1.138 MB / 0.5547 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005187/0.9692, allocations: 5.673 MB / 0.5602 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003966/0.9696, allocations: 92.55 kB / 0.5603 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007864/0.9774, allocations: 2.306 MB / 0.5626 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005167/0.9826, allocations: 2.05 MB / 0.5646 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001312/0.9839, allocations: 237.5 kB / 0.5648 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006387/0.9903, allocations: 1.564 MB / 0.5663 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002774/0.9931, allocations: 1.252 MB / 0.5675 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004344/0.9974, allocations: 1.404 MB / 0.5689 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007111/1.005, allocations: 4.548 MB / 0.5734 GB, free: 15.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.005, allocations: 2.812 kB / 0.5734 GB, free: 15.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.934e-06/1.005, allocations: 0 / 0.5734 GB, free: 15.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.391e-05/1.005, allocations: 0 / 0.5734 GB, free: 15.09 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.02666/1.031, allocations: 3.48 MB / 0.5768 GB, free: 13.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/1.031, allocations: 12.19 kB / 0.5768 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01534/1.047, allocations: 333.1 kB / 0.5771 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01376/1.06, allocations: 1.337 MB / 0.5784 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002804/1.061, allocations: 180.1 kB / 0.5786 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/1.062, allocations: 249.1 kB / 0.5788 GB, free: 13.35 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02547/1.087, allocations: 5.942 MB / 0.5846 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001533/1.088, allocations: 0 / 0.5846 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001641/1.089, allocations: 113.9 kB / 0.5847 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.758e-05/1.089, allocations: 58.44 kB / 0.5848 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0253/1.115, allocations: 5.87 MB / 0.5905 GB, free: 8.043 MB / 462.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.03926/1.154, allocations: 7.319 MB / 0.5976 GB, free: 3.16 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/1.164, allocations: 4.767 MB / 0.6023 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004894/1.169, allocations: 2.24 MB / 0.6045 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005388/1.169, allocations: 116.9 kB / 0.6046 GB, free: 12.02 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001219/1.17, allocations: 96.97 kB / 0.6047 GB, free: 11.92 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 9.718e-06/1.17, allocations: 0 / 0.6047 GB, free: 11.92 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.01451/1.184, allocations: 5.794 MB / 0.6103 GB, free: 6.102 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/1.184, allocations: 92.62 kB / 0.6104 GB, free: 6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/1.185, allocations: 0.6422 MB / 0.6111 GB, free: 5.344 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009382/1.186, allocations: 105.7 kB / 0.6112 GB, free: 5.234 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004898/1.187, allocations: 0.5491 MB / 0.6117 GB, free: 4.684 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001818/1.189, allocations: 1.374 MB / 0.613 GB, free: 3.328 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001309/1.19, allocations: 0.6216 MB / 0.6137 GB, free: 2.699 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/1.19, allocations: 342 kB / 0.614 GB, free: 2.359 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003981/1.194, allocations: 1.744 MB / 0.6157 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004671/1.199, allocations: 2.255 MB / 0.6179 GB, free: 14.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009999/1.209, allocations: 4.336 MB / 0.6221 GB, free: 9.742 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.057e-05/1.209, allocations: 4 kB / 0.6221 GB, free: 9.738 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01165/1.22, allocations: 4.57 MB / 0.6266 GB, free: 5.207 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.952e-05/1.221, allocations: 8 kB / 0.6266 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/1.221, allocations: 12 kB / 0.6266 GB, free: 5.188 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.774e-05/1.221, allocations: 28.81 kB / 0.6266 GB, free: 5.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005497/1.226, allocations: 0.796 MB / 0.6274 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.856e-05/1.226, allocations: 40.17 kB / 0.6274 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003399/1.23, allocations: 341.8 kB / 0.6278 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005223/1.23, allocations: 147.9 kB / 0.6279 GB, free: 3.895 MB / 494.1 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.002107/1.232, allocations: 0.7549 MB / 0.6286 GB, free: 3.176 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008494/1.233, allocations: 199.7 kB / 0.6288 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02367/1.257, allocations: 5.156 MB / 0.6339 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.737e-05/1.257, allocations: 40 kB / 0.6339 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.781e-05/1.257, allocations: 3.938 kB / 0.6339 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.015e-05/1.257, allocations: 23.92 kB / 0.6339 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005953/1.263, allocations: 2.203 MB / 0.6361 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/1.263, allocations: 4.562 kB / 0.6361 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004963/1.268, allocations: 0.7269 MB / 0.6368 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.623e-05/1.268, allocations: 16 kB / 0.6368 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003837/1.268, allocations: 87.95 kB / 0.6369 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.676e-05/1.268, allocations: 20 kB / 0.6369 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.268, allocations: 0 / 0.6369 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01612/1.284, allocations: 7.21 MB / 0.644 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007155/1.285, allocations: 229.9 kB / 0.6442 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005116/1.286, allocations: 87.88 kB / 0.6443 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00385/1.289, allocations: 223.8 kB / 0.6445 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009192/1.29, allocations: 326.8 kB / 0.6448 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006606/1.291, allocations: 179.8 kB / 0.645 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009196/1.292, allocations: 0.5026 MB / 0.6455 GB, free: 2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/1.292, allocations: 0 / 0.6455 GB, free: 2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003692/1.296, allocations: 1.116 MB / 0.6465 GB, free: 0.8828 MB / 0.4981 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.001383/1.297, allocations: 428.1 kB / 0.647 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.009314/1.306, allocations: 4.121 MB / 0.651 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.296e-05/1.306, allocations: 9.062 kB / 0.651 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004596/1.311, allocations: 2.106 MB / 0.653 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00627/1.317, allocations: 1.041 MB / 0.6541 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01666/1.334, allocations: 6.671 MB / 0.6606 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001731/1.336, allocations: 1.263 MB / 0.6618 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007044/1.343, allocations: 1.746 MB / 0.6635 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001413/1.344, allocations: 283.3 kB / 0.6638 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of SimCode: time 1.353e-06/1.344, allocations: 0 / 0.6638 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of Templates: time 0.1365/1.481, allocations: 64.05 MB / 0.7263 GB, free: 276 kB / 0.5762 GB " [Timeout remaining time 658] 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 -s cvode -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: 12.485644893997232]