Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.0007226/0.0007226, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009539/0.001676, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.000698/0.000698, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001023/0.001721, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8787/0.8787, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07718/0.9559, allocations: 53.85 MB / 243.7 MB, free: 14.92 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.[0-9,]+.|x",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hx_h.[0-9,]+.|x",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 245 MB, free: 13.67 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.554e-05, allocations: 9.484 kB / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2361/0.2361, allocations: 147.6 MB / 392.6 MB, free: 4.559 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00418/0.2403, allocations: 0.7102 MB / 393.3 MB, free: 3.863 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.104e-05/0.2404, allocations: 11.94 kB / 393.3 MB, free: 3.852 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002813/0.2406, allocations: 74.33 kB / 393.4 MB, free: 3.781 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004977/0.2411, allocations: 301.1 kB / 393.7 MB, free: 3.496 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005386/0.2465, allocations: 1.091 MB / 394.8 MB, free: 2.41 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00334/0.2499, allocations: 5.715 MB / 400.5 MB, free: 12.68 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.2501, allocations: 112.2 kB / 400.6 MB, free: 12.53 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003317/0.2534, allocations: 3.173 MB / 403.8 MB, free: 9.355 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002049/0.2554, allocations: 1.965 MB / 405.7 MB, free: 7.387 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005084/0.2559, allocations: 232 kB / 405.9 MB, free: 7.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.258, allocations: 1.591 MB / 407.5 MB, free: 5.566 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007129/0.2587, allocations: 0.9355 MB / 408.5 MB, free: 4.629 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009921/0.2597, allocations: 0.8933 MB / 409.4 MB, free: 3.734 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002685/0.2624, allocations: 3.436 MB / 412.8 MB, free: 296 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.28e-05/0.2624, allocations: 0 / 412.8 MB, free: 296 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2624, allocations: 0 / 412.8 MB, free: 296 kB / 378.7 MB Notification: Performance of Transformations before backend: time 3e-05/0.2624, allocations: 0 / 412.8 MB, free: 296 kB / 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.00388/0.2663, allocations: 3.624 MB / 416.4 MB, free: 12.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.893e-05/0.2663, allocations: 12.61 kB / 416.4 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.2675, allocations: 0.6839 MB / 417.1 MB, free: 11.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000952/0.2684, allocations: 0.7781 MB / 417.9 MB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.504e-05/0.2685, allocations: 176.9 kB / 418.1 MB, free: 10.93 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003163/0.2688, allocations: 276 kB / 418.3 MB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/0.2713, allocations: 4.05 MB / 422.4 MB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.2713, allocations: 0 / 422.4 MB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000222/0.2715, allocations: 112 kB / 422.5 MB, free: 5.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.003e-05/0.2716, allocations: 63.98 kB / 422.6 MB, free: 5.867 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.2737, allocations: 1.847 MB / 424.4 MB, free: 3.984 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1401/0.4138, allocations: 4.332 MB / 428.7 MB, free: 27.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002696/0.4165, allocations: 2.546 MB / 431.3 MB, free: 27.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001029/0.4175, allocations: 0.7639 MB / 432.1 MB, free: 27.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003475/0.4179, allocations: 136.8 kB / 432.2 MB, free: 27.21 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.872e-05/0.4179, allocations: 95.03 kB / 432.3 MB, free: 27.17 MB / 394.7 MB Notification: Performance of pre-optimization done (n=390): time 6.703e-06/0.4179, allocations: 0.875 kB / 432.3 MB, free: 27.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=390): time 0.002932/0.4209, allocations: 1.809 MB / 434.1 MB, free: 27.05 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.4209, allocations: 95.12 kB / 434.2 MB, free: 26.99 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003426/0.4213, allocations: 478.5 kB / 434.7 MB, free: 26.87 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001902/0.4214, allocations: 102.3 kB / 434.8 MB, free: 26.84 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.4216, allocations: 0.5072 MB / 435.3 MB, free: 26.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005008/0.4221, allocations: 1.351 MB / 436.6 MB, free: 25.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005432/0.4226, allocations: 0.5623 MB / 437.2 MB, free: 25.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 4.404e-05/0.4227, allocations: 338.6 kB / 437.5 MB, free: 25.56 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005981/0.4233, allocations: 491.5 kB / 438 MB, free: 25.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006929/0.424, allocations: 0.9043 MB / 438.9 MB, free: 25.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.4256, allocations: 1.747 MB / 440.6 MB, free: 24.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.4256, allocations: 3.312 kB / 440.6 MB, free: 24.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.001917/0.4275, allocations: 1.76 MB / 442.4 MB, free: 24.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.4275, allocations: 10.41 kB / 442.4 MB, free: 24.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.4275, allocations: 11.17 kB / 442.4 MB, free: 24.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.4275, allocations: 28.44 kB / 442.4 MB, free: 24.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.4294, allocations: 0.8671 MB / 443.3 MB, free: 24.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/0.4294, allocations: 36.42 kB / 443.3 MB, free: 24.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000867/0.4302, allocations: 296.6 kB / 443.6 MB, free: 24.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.4304, allocations: 108.4 kB / 443.7 MB, free: 24.29 MB / 394.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.0004742/0.4309, allocations: 324.9 kB / 444.1 MB, free: 24.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003186/0.4312, allocations: 277.8 kB / 444.3 MB, free: 24.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/0.4336, allocations: 2.251 MB / 446.6 MB, free: 23.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/0.4336, allocations: 43.81 kB / 446.6 MB, free: 23.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4336, allocations: 0.9062 kB / 446.6 MB, free: 23.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/0.4337, allocations: 24.11 kB / 446.6 MB, free: 23.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.4352, allocations: 1.254 MB / 447.9 MB, free: 23.71 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.4352, allocations: 0 / 447.9 MB, free: 23.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00167/0.4369, allocations: 0.7817 MB / 448.7 MB, free: 23.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.437, allocations: 226.2 kB / 448.9 MB, free: 23.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.437, allocations: 18.53 kB / 448.9 MB, free: 23.56 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001455/0.4372, allocations: 81.77 kB / 449 MB, free: 23.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/0.4372, allocations: 15.41 kB / 449 MB, free: 23.56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.155e-06/0.4372, allocations: 0.9062 kB / 449 MB, free: 23.56 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002547/0.4397, allocations: 2.526 MB / 451.5 MB, free: 23.25 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.4399, allocations: 86.2 kB / 451.6 MB, free: 23.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009659/0.4409, allocations: 174.8 kB / 451.8 MB, free: 23.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002737/0.4412, allocations: 264.6 kB / 452.1 MB, free: 23.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/0.4414, allocations: 135 kB / 452.2 MB, free: 23.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001656/0.4415, allocations: 229.2 kB / 452.4 MB, free: 23.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4415, allocations: 0 / 452.4 MB, free: 23.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001542/0.4431, allocations: 1.148 MB / 453.6 MB, free: 23.12 MB / 394.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.0007142/0.4438, allocations: 496.9 kB / 454 MB, free: 23.01 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.4454, allocations: 1.642 MB / 455.7 MB, free: 22.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.285e-05/0.4455, allocations: 60.22 kB / 455.7 MB, free: 22.89 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008493/0.4463, allocations: 0.9975 MB / 456.7 MB, free: 22.85 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.4485, allocations: 1.443 MB / 458.2 MB, free: 22.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01447/0.463, allocations: 4.578 MB / 462.8 MB, free: 21.36 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.4634, allocations: 0.5765 MB / 463.3 MB, free: 21.23 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001534/0.4649, allocations: 0.5819 MB / 463.9 MB, free: 21.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002612/0.4675, allocations: 1.184 MB / 465.1 MB, free: 21 MB / 394.7 MB Notification: Performance of SimCode: time 1.202e-06/0.4675, allocations: 2.547 kB / 465.1 MB, free: 21 MB / 394.7 MB Notification: Performance of Templates: time 0.05439/0.5219, allocations: 68.56 MB / 0.5212 GB, free: 7.629 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_trunk_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.842608669772744]