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.001376/0.001376, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.001168/0.001168, allocations: 161.9 kB / 24.91 MB, free: 9.152 MB / 18.57 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.9673/0.9673, allocations: 177 MB / 205.2 MB, free: 5.445 MB / 186.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.403e-06/1.403e-06, allocations: 0 / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185e-05/1.326e-05, allocations: 6.25 kB / 273.4 MB, free: 1.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2179/0.2179, allocations: 147.1 MB / 420.6 MB, free: 13.83 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009211/0.2189, allocations: 0.7121 MB / 421.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.304e-05/0.2189, allocations: 4 kB / 421.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002935/0.2192, allocations: 69.78 kB / 421.3 MB, free: 13.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004328/0.2197, allocations: 300.5 kB / 421.6 MB, free: 12.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.2215, allocations: 1.108 MB / 422.7 MB, free: 11.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002965/0.2245, allocations: 5.688 MB / 428.4 MB, free: 5.961 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.2247, allocations: 108.2 kB / 428.5 MB, free: 5.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00332/0.228, allocations: 3.159 MB / 431.7 MB, free: 2.656 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002292/0.2303, allocations: 1.961 MB / 433.7 MB, free: 0.6914 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007242/0.231, allocations: 236 kB / 433.9 MB, free: 472 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1363/0.3674, allocations: 1.586 MB / 435.5 MB, free: 6.703 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001283/0.3686, allocations: 1.276 MB / 436.8 MB, free: 6.703 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002487/0.3711, allocations: 1.259 MB / 438 MB, free: 6.703 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004111/0.3752, allocations: 4.125 MB / 442.1 MB, free: 6.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.3752, allocations: 0 / 442.1 MB, free: 6.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3753, allocations: 1.719 kB / 442.1 MB, free: 6.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.723e-05/0.3753, allocations: 2 kB / 442.1 MB, free: 6.5 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.004374/0.3797, allocations: 2.953 MB / 445.1 MB, free: 5.516 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.93e-05/0.3797, allocations: 13.02 kB / 445.1 MB, free: 5.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.3811, allocations: 0.6081 MB / 445.7 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001001/0.3821, allocations: 0.7667 MB / 446.5 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.414e-05/0.3821, allocations: 180.4 kB / 446.7 MB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003346/0.3825, allocations: 281.8 kB / 446.9 MB, free: 5.125 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/0.3848, allocations: 4.041 MB / 451 MB, free: 18.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/0.3848, allocations: 0.8438 kB / 451 MB, free: 18.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/0.3851, allocations: 112.3 kB / 451.1 MB, free: 18.34 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.3851, allocations: 61.56 kB / 451.1 MB, free: 18.34 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001999/0.3871, allocations: 1.84 MB / 453 MB, free: 18.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006529/0.3936, allocations: 4.305 MB / 457.3 MB, free: 17.68 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/0.3954, allocations: 2.529 MB / 459.8 MB, free: 17.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000708/0.3961, allocations: 0.7615 MB / 460.6 MB, free: 17.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002609/0.3964, allocations: 141 kB / 460.7 MB, free: 17.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.863e-05/0.3964, allocations: 94.03 kB / 460.8 MB, free: 17.35 MB / 394.7 MB Notification: Performance of pre-optimization done (n=390): time 4.979e-06/0.3964, allocations: 1 kB / 460.8 MB, free: 17.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=390): time 0.002128/0.3985, allocations: 1.798 MB / 462.6 MB, free: 17.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3986, allocations: 92.81 kB / 462.7 MB, free: 17.17 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/0.3988, allocations: 477.4 kB / 463.2 MB, free: 17.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001927/0.399, allocations: 102.9 kB / 463.3 MB, free: 16.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.3992, allocations: 0.5106 MB / 463.8 MB, free: 16.64 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004278/0.3996, allocations: 1.345 MB / 465.1 MB, free: 15.74 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005538/0.4001, allocations: 0.5671 MB / 465.7 MB, free: 15.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.934e-05/0.4002, allocations: 335 kB / 466 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005713/0.4008, allocations: 498.7 kB / 466.5 MB, free: 15.39 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006597/0.4014, allocations: 0.8933 MB / 467.4 MB, free: 14.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.4029, allocations: 1.739 MB / 469.1 MB, free: 14.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.175e-06/0.403, allocations: 3.625 kB / 469.1 MB, free: 14.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.001858/0.4048, allocations: 1.754 MB / 470.9 MB, free: 14.28 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.4048, allocations: 9.031 kB / 470.9 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.4048, allocations: 11.19 kB / 470.9 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.4049, allocations: 29.34 kB / 470.9 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.4066, allocations: 0.7824 MB / 471.7 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.035e-05/0.4066, allocations: 36.38 kB / 471.8 MB, free: 14.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009031/0.4075, allocations: 293.4 kB / 472 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/0.4077, allocations: 107.1 kB / 472.2 MB, free: 14.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.0005564/0.4082, allocations: 330.1 kB / 472.5 MB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003648/0.4086, allocations: 278.3 kB / 472.7 MB, free: 14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/0.411, allocations: 2.224 MB / 475 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.776e-05/0.4111, allocations: 42.25 kB / 475 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.4111, allocations: 0 / 475 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.701e-05/0.4111, allocations: 20.67 kB / 475 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001653/0.4127, allocations: 1.253 MB / 476.3 MB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.4127, allocations: 1.312 kB / 476.3 MB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/0.4144, allocations: 0.7127 MB / 477 MB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.4144, allocations: 14.5 kB / 477 MB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001493/0.4146, allocations: 85.02 kB / 477.1 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.177e-05/0.4146, allocations: 18.28 kB / 477.1 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4146, allocations: 0.9688 kB / 477.1 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.4172, allocations: 2.508 MB / 479.6 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001497/0.4173, allocations: 226.5 kB / 479.8 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.4175, allocations: 83.59 kB / 479.9 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.4186, allocations: 171.8 kB / 480.1 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00031/0.4189, allocations: 269.1 kB / 480.4 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000197/0.4191, allocations: 128.5 kB / 480.5 MB, free: 13.08 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001523/0.4192, allocations: 233.6 kB / 480.7 MB, free: 13.06 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4192, allocations: 0 / 480.7 MB, free: 13.06 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001474/0.4207, allocations: 1.122 MB / 481.8 MB, free: 12.97 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.0006352/0.4214, allocations: 443.5 kB / 482.3 MB, free: 12.87 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.4229, allocations: 1.63 MB / 483.9 MB, free: 12.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.658e-05/0.4229, allocations: 15.66 kB / 483.9 MB, free: 12.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008501/0.4237, allocations: 0.995 MB / 484.9 MB, free: 12.43 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/0.4259, allocations: 1.155 MB / 486.1 MB, free: 11.83 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004931/0.4309, allocations: 4.558 MB / 490.6 MB, free: 8.297 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.4312, allocations: 0.5746 MB / 491.2 MB, free: 7.746 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00156/0.4328, allocations: 0.5832 MB / 491.8 MB, free: 7.23 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002905/0.4357, allocations: 1.181 MB / 493 MB, free: 6.086 MB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4357, allocations: 0 / 493 MB, free: 6.086 MB / 394.7 MB Notification: Performance of Templates: time 0.05553/0.4912, allocations: 64.39 MB / 0.5443 GB, free: 6.781 MB / 458.7 MB " [Timeout remaining time 660] 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 -s gbode -gbm=radauIIA3 -emit_protected -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.778440082445741]