Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009185/0.0009185, allocations: 80.72 kB / 22.21 MB, free: 2.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009242/0.0009242, allocations: 145.4 kB / 25.59 MB, free: 8.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.868/0.868, allocations: 173.4 MB / 202.3 MB, free: 8.277 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.954e-05/2.093e-05, allocations: 2.312 kB / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2262/0.2262, allocations: 142.1 MB / 411.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009869/0.2272, allocations: 0.6936 MB / 412 MB, free: 9.84 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.2273, allocations: 0 / 412 MB, free: 9.84 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005789/0.2279, allocations: 77.55 kB / 412 MB, free: 9.766 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000503/0.2284, allocations: 302.1 kB / 412.3 MB, free: 9.48 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002101/0.2305, allocations: 1.151 MB / 413.5 MB, free: 8.324 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003333/0.2339, allocations: 5.687 MB / 419.2 MB, free: 2.617 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005251/0.2344, allocations: 92.16 kB / 419.3 MB, free: 2.5 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005079/0.2395, allocations: 3.159 MB / 422.4 MB, free: 15.34 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003415/0.2429, allocations: 2.008 MB / 424.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009774/0.2438, allocations: 240 kB / 424.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002862/0.2467, allocations: 1.489 MB / 426.1 MB, free: 11.6 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.248, allocations: 1.278 MB / 427.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001807/0.2498, allocations: 1.259 MB / 428.7 MB, free: 9.055 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004624/0.2544, allocations: 4.095 MB / 432.8 MB, free: 4.949 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.2544, allocations: 0 / 432.8 MB, free: 4.949 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2544, allocations: 0 / 432.8 MB, free: 4.949 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001112/0.2546, allocations: 4 kB / 432.8 MB, free: 4.945 MB / 346.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.005412/0.26, allocations: 3.308 MB / 436.1 MB, free: 1.586 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.462e-05/0.26, allocations: 12.02 kB / 436.1 MB, free: 1.574 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.2614, allocations: 0.6348 MB / 436.7 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.2626, allocations: 0.9166 MB / 437.6 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-05/0.2627, allocations: 180.9 kB / 437.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004067/0.2631, allocations: 276 kB / 438.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003384/0.2665, allocations: 3.832 MB / 441.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/0.2665, allocations: 0 / 441.9 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002601/0.2668, allocations: 120 kB / 442 MB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.178e-05/0.2668, allocations: 60 kB / 442.1 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00261/0.2694, allocations: 2.108 MB / 444.2 MB, free: 8.824 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00852/0.278, allocations: 4.913 MB / 449.1 MB, free: 3.859 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.2804, allocations: 2.581 MB / 451.7 MB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/0.2814, allocations: 0.8848 MB / 452.6 MB, free: 372 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002854/0.2817, allocations: 139 kB / 452.7 MB, free: 232 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.51e-05/0.2817, allocations: 97.45 kB / 452.8 MB, free: 124 kB / 362.7 MB Notification: Performance of pre-optimization done (n=390): time 5.46e-06/0.2817, allocations: 0 / 452.8 MB, free: 124 kB / 362.7 MB Notification: Performance of matching and sorting (n=390): time 0.00324/0.285, allocations: 2.371 MB / 455.2 MB, free: 13.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.285, allocations: 98.47 kB / 455.3 MB, free: 13.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005178/0.2856, allocations: 0.623 MB / 455.9 MB, free: 12.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002331/0.2858, allocations: 109.7 kB / 456 MB, free: 12.87 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002681/0.2861, allocations: 0.6204 MB / 456.6 MB, free: 12.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009038/0.287, allocations: 1.441 MB / 458.1 MB, free: 10.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000647/0.2876, allocations: 0.6835 MB / 458.8 MB, free: 10.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2877, allocations: 0.5198 MB / 459.3 MB, free: 9.562 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006324/0.2884, allocations: 474.5 kB / 459.7 MB, free: 9.098 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/0.2896, allocations: 1.211 MB / 461 MB, free: 7.672 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/0.2915, allocations: 1.904 MB / 462.9 MB, free: 5.535 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/0.2915, allocations: 4 kB / 462.9 MB, free: 5.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00264/0.2941, allocations: 2.199 MB / 465.1 MB, free: 3.309 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.2942, allocations: 11.94 kB / 465.1 MB, free: 3.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/0.2942, allocations: 12 kB / 465.1 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/0.2942, allocations: 28 kB / 465.1 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.296, allocations: 0.7333 MB / 465.8 MB, free: 2.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.077e-05/0.296, allocations: 35.88 kB / 465.9 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.2971, allocations: 298 kB / 466.2 MB, free: 2.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.2973, allocations: 115.9 kB / 466.3 MB, free: 2.082 MB / 378.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.0007653/0.298, allocations: 375.6 kB / 466.7 MB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005513/0.2986, allocations: 327.7 kB / 467 MB, free: 1.383 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003699/0.3023, allocations: 2.72 MB / 469.7 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.062e-05/0.3023, allocations: 40 kB / 469.7 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.3023, allocations: 0 / 469.7 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.27e-05/0.3023, allocations: 19.92 kB / 469.8 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.3045, allocations: 1.384 MB / 471.1 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.3045, allocations: 3.984 kB / 471.1 MB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/0.3062, allocations: 0.6796 MB / 471.8 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-05/0.3062, allocations: 12 kB / 471.8 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001509/0.3064, allocations: 95.95 kB / 471.9 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.159e-05/0.3064, allocations: 16 kB / 471.9 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3064, allocations: 0 / 471.9 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003545/0.3099, allocations: 3.016 MB / 475 MB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004813/0.3104, allocations: 229.9 kB / 475.2 MB, free: 9.066 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/0.3106, allocations: 87.19 kB / 475.3 MB, free: 8.984 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.3119, allocations: 175.8 kB / 475.4 MB, free: 8.812 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003077/0.3122, allocations: 266.9 kB / 475.7 MB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002163/0.3124, allocations: 155.9 kB / 475.9 MB, free: 8.398 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002482/0.3126, allocations: 390.6 kB / 476.2 MB, free: 8.02 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3126, allocations: 0 / 476.2 MB, free: 8.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001836/0.3145, allocations: 1.108 MB / 477.3 MB, free: 6.91 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.0008987/0.3154, allocations: 455.8 kB / 477.8 MB, free: 6.465 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002538/0.3179, allocations: 1.905 MB / 479.7 MB, free: 4.547 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.208e-06/0.3179, allocations: 10 kB / 479.7 MB, free: 4.539 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001163/0.3191, allocations: 1.162 MB / 480.9 MB, free: 3.371 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002591/0.3217, allocations: 1.106 MB / 482 MB, free: 2.277 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00627/0.328, allocations: 4.982 MB / 487 MB, free: 13.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.3283, allocations: 0.6239 MB / 487.6 MB, free: 12.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001736/0.3301, allocations: 0.5794 MB / 488.2 MB, free: 12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003097/0.3332, allocations: 1.465 MB / 489.6 MB, free: 10.53 MB / 410.7 MB Notification: Performance of SimCode: time 1.853e-06/0.3332, allocations: 0 / 489.6 MB, free: 10.53 MB / 410.7 MB Notification: Performance of Templates: time 0.1869/0.5201, allocations: 65.49 MB / 0.5421 GB, free: 45.62 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.2316157557070255]