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.00128/0.00128, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009362/0.0009362, allocations: 166.8 kB / 24.99 MB, free: 8.336 MB / 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.9505/0.9505, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.734e-06/1.734e-06, allocations: 0 / 273 MB, free: 1.859 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.823e-05/2.997e-05, allocations: 2.312 kB / 273 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2352/0.2352, allocations: 147.4 MB / 420.5 MB, free: 14.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009991/0.2362, allocations: 0.7044 MB / 421.2 MB, free: 13.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.45e-05/0.2363, allocations: 4 kB / 421.2 MB, free: 13.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.2366, allocations: 71.52 kB / 421.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000487/0.2371, allocations: 302.5 kB / 421.6 MB, free: 13.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002095/0.2392, allocations: 1.151 MB / 422.7 MB, free: 12.26 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003522/0.2428, allocations: 5.692 MB / 428.4 MB, free: 6.547 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002122/0.243, allocations: 92.22 kB / 428.5 MB, free: 6.434 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003938/0.2469, allocations: 2.975 MB / 431.5 MB, free: 3.453 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002635/0.2495, allocations: 2.105 MB / 433.6 MB, free: 1.344 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007648/0.2503, allocations: 240 kB / 433.8 MB, free: 1.109 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1447/0.395, allocations: 1.519 MB / 435.3 MB, free: 6.707 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001775/0.3968, allocations: 1.287 MB / 436.6 MB, free: 6.707 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003472/0.4002, allocations: 1.265 MB / 437.9 MB, free: 6.707 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0069/0.4071, allocations: 4.139 MB / 442 MB, free: 6.523 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.4071, allocations: 1.812 kB / 442 MB, free: 6.523 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4071, allocations: 0 / 442 MB, free: 6.523 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001479/0.4073, allocations: 1.031 kB / 442 MB, free: 6.523 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.007733/0.415, allocations: 3.659 MB / 445.7 MB, free: 5.398 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.4151, allocations: 8.344 kB / 445.7 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001626/0.4167, allocations: 0.6381 MB / 446.3 MB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001805/0.4185, allocations: 1.158 MB / 447.5 MB, free: 4.898 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.4186, allocations: 179.7 kB / 447.7 MB, free: 4.891 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003792/0.419, allocations: 284.1 kB / 447.9 MB, free: 4.883 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003771/0.4227, allocations: 4.086 MB / 452 MB, free: 18.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.112e-05/0.4228, allocations: 0.6562 kB / 452 MB, free: 18.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002678/0.4231, allocations: 114.7 kB / 452.1 MB, free: 18.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-05/0.4231, allocations: 60.09 kB / 452.2 MB, free: 18.11 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003556/0.4267, allocations: 2.702 MB / 454.9 MB, free: 18.06 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009723/0.4364, allocations: 5.481 MB / 460.4 MB, free: 17.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002736/0.4391, allocations: 2.811 MB / 463.2 MB, free: 17.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.4403, allocations: 1.045 MB / 464.2 MB, free: 17.13 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003177/0.4407, allocations: 133.9 kB / 464.4 MB, free: 17.13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.529e-05/0.4407, allocations: 98.72 kB / 464.5 MB, free: 17.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=390): time 5.2e-06/0.4407, allocations: 0 / 464.5 MB, free: 17.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=390): time 0.004078/0.4448, allocations: 2.771 MB / 467.2 MB, free: 16.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.539e-05/0.4449, allocations: 96.84 kB / 467.3 MB, free: 16.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/0.4454, allocations: 0.6356 MB / 468 MB, free: 16.58 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002819/0.4457, allocations: 101 kB / 468.1 MB, free: 16.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.4459, allocations: 0.6196 MB / 468.7 MB, free: 16.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006607/0.4465, allocations: 1.429 MB / 470.1 MB, free: 15.26 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006362/0.4472, allocations: 0.6725 MB / 470.8 MB, free: 15.22 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4473, allocations: 0.5137 MB / 471.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009874/0.4483, allocations: 0.609 MB / 471.9 MB, free: 14.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.4495, allocations: 1.344 MB / 473.2 MB, free: 14.1 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002472/0.452, allocations: 2.186 MB / 475.4 MB, free: 13.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.452, allocations: 3.812 kB / 475.4 MB, free: 13.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.003422/0.4554, allocations: 2.503 MB / 477.9 MB, free: 13.21 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.581e-05/0.4554, allocations: 13.66 kB / 478 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.4554, allocations: 11.75 kB / 478 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.173e-05/0.4555, allocations: 26.72 kB / 478 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/0.4574, allocations: 0.7889 MB / 478.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.101e-05/0.4574, allocations: 34.38 kB / 478.8 MB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/0.4588, allocations: 337.5 kB / 479.1 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/0.459, allocations: 146.6 kB / 479.3 MB, free: 13.06 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.0008634/0.4599, allocations: 379.4 kB / 479.7 MB, free: 12.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005242/0.4604, allocations: 313.6 kB / 480 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004117/0.4645, allocations: 3.067 MB / 483 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/0.4646, allocations: 40.75 kB / 483.1 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.4646, allocations: 0.9688 kB / 483.1 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/0.4646, allocations: 21.84 kB / 483.1 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002661/0.4673, allocations: 1.588 MB / 484.7 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.4673, allocations: 0 / 484.7 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001799/0.4691, allocations: 0.7286 MB / 485.4 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.311e-05/0.4691, allocations: 14.88 kB / 485.4 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001969/0.4693, allocations: 91.73 kB / 485.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.25e-05/0.4693, allocations: 13.78 kB / 485.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.4693, allocations: 0 / 485.5 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004669/0.474, allocations: 3.457 MB / 489 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003938/0.4744, allocations: 226.7 kB / 489.2 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/0.4746, allocations: 88.64 kB / 489.3 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001498/0.4761, allocations: 221.9 kB / 489.5 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004081/0.4765, allocations: 351.1 kB / 489.8 MB, free: 11.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002452/0.4768, allocations: 174 kB / 490 MB, free: 11.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000344/0.4771, allocations: 428.6 kB / 490.4 MB, free: 11.52 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4771, allocations: 1.125 kB / 490.4 MB, free: 11.52 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002011/0.4791, allocations: 1.117 MB / 491.6 MB, free: 11.43 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.0008473/0.48, allocations: 454.3 kB / 492 MB, free: 11.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003041/0.483, allocations: 2.21 MB / 494.2 MB, free: 9.578 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.483, allocations: 5 kB / 494.2 MB, free: 9.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.4845, allocations: 1.3 MB / 495.5 MB, free: 8.688 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002695/0.4872, allocations: 1.116 MB / 496.6 MB, free: 7.922 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006873/0.494, allocations: 5.035 MB / 0.4899 GB, free: 3.008 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.4944, allocations: 0.6279 MB / 0.4905 GB, free: 2.348 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002833/0.4973, allocations: 1.359 MB / 0.4918 GB, free: 0.9844 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007521/0.498, allocations: 284.4 kB / 0.4921 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of SimCode: time 1.934e-06/0.498, allocations: 4 kB / 0.4921 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of Templates: time 0.05665/0.5547, allocations: 58.71 MB / 0.5495 GB, free: 6.93 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: 4.910755407065153]