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.001085/0.001085, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0011/0.0011, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 18.57 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 0.8896/0.8896, allocations: 177.1 MB / 205 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|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.[0-9,]+.|x",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 273 MB, free: 1.402 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.08e-05, allocations: 2.312 kB / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2225/0.2226, allocations: 147.7 MB / 420.7 MB, free: 13.74 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009556/0.2235, allocations: 0.7006 MB / 421.4 MB, free: 13.06 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.144e-05/0.2236, allocations: 3.938 kB / 421.4 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000344/0.2239, allocations: 79.45 kB / 421.5 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004818/0.2244, allocations: 294.5 kB / 421.8 MB, free: 12.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.2264, allocations: 1.163 MB / 422.9 MB, free: 11.53 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003098/0.2295, allocations: 5.688 MB / 428.6 MB, free: 5.824 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.2297, allocations: 92.22 kB / 428.7 MB, free: 5.711 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003849/0.2336, allocations: 3.163 MB / 431.9 MB, free: 2.543 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002409/0.236, allocations: 2.019 MB / 433.9 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007512/0.2367, allocations: 236 kB / 434.1 MB, free: 296 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1393/0.3761, allocations: 1.517 MB / 435.6 MB, free: 6.664 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001626/0.3777, allocations: 1.276 MB / 436.9 MB, free: 6.664 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002965/0.3807, allocations: 1.262 MB / 438.2 MB, free: 6.664 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006602/0.3873, allocations: 4.13 MB / 442.3 MB, free: 6.457 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3873, allocations: 0.5 kB / 442.3 MB, free: 6.457 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3873, allocations: 1.625 kB / 442.3 MB, free: 6.457 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.879e-05/0.3874, allocations: 0 / 442.3 MB, free: 6.457 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.006672/0.394, allocations: 3.634 MB / 445.9 MB, free: 5.336 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.3941, allocations: 9.625 kB / 445.9 MB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/0.3956, allocations: 0.6403 MB / 446.6 MB, free: 5.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.3971, allocations: 1.066 MB / 447.7 MB, free: 4.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.35e-05/0.3972, allocations: 181.7 kB / 447.8 MB, free: 4.832 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003565/0.3975, allocations: 284.1 kB / 448.1 MB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003323/0.4009, allocations: 4.087 MB / 452.2 MB, free: 18.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.701e-05/0.4009, allocations: 1.094 kB / 452.2 MB, free: 18.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002657/0.4012, allocations: 115.7 kB / 452.3 MB, free: 18.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/0.4012, allocations: 61.7 kB / 452.4 MB, free: 18.04 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003299/0.4045, allocations: 2.704 MB / 455.1 MB, free: 18 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008837/0.4133, allocations: 5.478 MB / 460.5 MB, free: 17.31 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/0.416, allocations: 2.817 MB / 463.4 MB, free: 17.12 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001207/0.4172, allocations: 1.037 MB / 464.4 MB, free: 17.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003078/0.4175, allocations: 135.8 kB / 464.5 MB, free: 17.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.508e-05/0.4176, allocations: 97.48 kB / 464.6 MB, free: 17.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=390): time 5.601e-06/0.4176, allocations: 4.188 kB / 464.6 MB, free: 17.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=390): time 0.003977/0.4215, allocations: 2.77 MB / 467.4 MB, free: 16.8 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/0.4216, allocations: 92.84 kB / 467.5 MB, free: 16.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000516/0.4221, allocations: 0.6374 MB / 468.1 MB, free: 16.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002806/0.4224, allocations: 105.4 kB / 468.2 MB, free: 16.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.4226, allocations: 0.6103 MB / 468.8 MB, free: 16.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000673/0.4233, allocations: 1.432 MB / 470.3 MB, free: 15.2 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006087/0.4239, allocations: 0.67 MB / 470.9 MB, free: 15.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4241, allocations: 0.5143 MB / 471.5 MB, free: 14.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008747/0.4249, allocations: 0.6097 MB / 472.1 MB, free: 14.67 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001182/0.4261, allocations: 1.349 MB / 473.4 MB, free: 14.04 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/0.4285, allocations: 2.183 MB / 475.6 MB, free: 13.37 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.4285, allocations: 3.594 kB / 475.6 MB, free: 13.37 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.003279/0.4317, allocations: 2.502 MB / 478.1 MB, free: 13.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.218e-05/0.4318, allocations: 11.12 kB / 478.1 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.54e-05/0.4318, allocations: 12.94 kB / 478.1 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.444e-05/0.4318, allocations: 31.05 kB / 478.2 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/0.4338, allocations: 0.788 MB / 479 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.478e-05/0.4338, allocations: 35.36 kB / 479 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.4353, allocations: 345.5 kB / 479.3 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/0.4355, allocations: 143.9 kB / 479.5 MB, free: 13 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.0009706/0.4365, allocations: 375.5 kB / 479.8 MB, free: 12.83 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005357/0.437, allocations: 315.1 kB / 480.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003857/0.4408, allocations: 3.065 MB / 483.2 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.631e-05/0.4409, allocations: 41.06 kB / 483.2 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4409, allocations: 0 / 483.2 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.421e-05/0.4409, allocations: 20.94 kB / 483.3 MB, free: 12.49 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/0.4434, allocations: 1.587 MB / 484.9 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/0.4434, allocations: 1.203 kB / 484.9 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/0.4451, allocations: 0.7256 MB / 485.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.83e-05/0.4452, allocations: 14.28 kB / 485.6 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001833/0.4453, allocations: 89.61 kB / 485.7 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.248e-05/0.4454, allocations: 17.98 kB / 485.7 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4454, allocations: 0.625 kB / 485.7 MB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004082/0.4494, allocations: 3.456 MB / 489.2 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003593/0.4498, allocations: 232.4 kB / 489.4 MB, free: 11.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/0.45, allocations: 82.81 kB / 489.5 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.4514, allocations: 220.4 kB / 489.7 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003942/0.4518, allocations: 347.6 kB / 490 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002304/0.452, allocations: 177.5 kB / 490.2 MB, free: 11.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003013/0.4523, allocations: 430.8 kB / 490.6 MB, free: 11.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4523, allocations: 0 / 490.6 MB, free: 11.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001945/0.4542, allocations: 1.11 MB / 491.7 MB, free: 11.28 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.0008127/0.4551, allocations: 461.9 kB / 492.2 MB, free: 10.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00288/0.4579, allocations: 2.206 MB / 494.4 MB, free: 9.391 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/0.4579, allocations: 9.844 kB / 494.4 MB, free: 9.379 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001321/0.4593, allocations: 1.299 MB / 495.7 MB, free: 8.359 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002613/0.4619, allocations: 1.111 MB / 496.8 MB, free: 7.367 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006416/0.4683, allocations: 5.033 MB / 0.4901 GB, free: 2.398 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003773/0.4687, allocations: 0.6286 MB / 0.4907 GB, free: 1.738 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002604/0.4713, allocations: 1.367 MB / 0.492 GB, free: 376 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007169/0.472, allocations: 288.4 kB / 0.4923 GB, free: 84 kB / 394.7 MB Notification: Performance of SimCode: time 1.783e-06/0.472, allocations: 0 / 0.4923 GB, free: 84 kB / 394.7 MB Notification: Performance of Templates: time 0.07234/0.5443, allocations: 63.07 MB / 0.5539 GB, free: 1.828 MB / 458.7 MB " [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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2962641059421]