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.0009322/0.0009322, allocations: 85.17 kB / 21.5 MB, free: 2.988 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.000971/0.000971, allocations: 141.1 kB / 24.89 MB, free: 8.777 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.8379/0.8379, allocations: 173.4 MB / 201.5 MB, free: 8.219 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.213e-06/1.213e-06, allocations: 0 / 268.5 MB, free: 9.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.448e-06/1.066e-05, allocations: 2.844 kB / 268.5 MB, free: 9.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2305/0.2305, allocations: 144.2 MB / 412.7 MB, free: 8.402 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.2317, allocations: 0.7142 MB / 413.4 MB, free: 7.703 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.2318, allocations: 3.938 kB / 413.4 MB, free: 7.699 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000388/0.2321, allocations: 82.47 kB / 413.5 MB, free: 7.621 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005799/0.2327, allocations: 300.4 kB / 413.7 MB, free: 7.332 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002652/0.2354, allocations: 1.151 MB / 414.9 MB, free: 6.176 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003737/0.2391, allocations: 5.687 MB / 420.6 MB, free: 480 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004307/0.2395, allocations: 108.2 kB / 420.7 MB, free: 336 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004904/0.2445, allocations: 3.155 MB / 423.8 MB, free: 13.17 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003038/0.2475, allocations: 1.957 MB / 425.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005319/0.248, allocations: 239.9 kB / 426 MB, free: 10.97 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.2504, allocations: 1.482 MB / 427.5 MB, free: 9.488 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009396/0.2513, allocations: 1.282 MB / 428.8 MB, free: 8.203 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0015/0.2528, allocations: 1.259 MB / 430.1 MB, free: 6.941 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003736/0.2566, allocations: 4.105 MB / 434.2 MB, free: 2.828 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2566, allocations: 0 / 434.2 MB, free: 2.828 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2566, allocations: 0 / 434.2 MB, free: 2.828 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.915e-05/0.2566, allocations: 0 / 434.2 MB, free: 2.828 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.004505/0.2611, allocations: 2.945 MB / 437.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.2612, allocations: 8.031 kB / 437.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.2624, allocations: 0.6046 MB / 437.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.2634, allocations: 0.7674 MB / 438.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.233e-05/0.2635, allocations: 184.9 kB / 438.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003666/0.2639, allocations: 280 kB / 438.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002489/0.2664, allocations: 4.038 MB / 443 MB, free: 9.371 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.2664, allocations: 0 / 443 MB, free: 9.371 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/0.2667, allocations: 112 kB / 443.1 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.861e-05/0.2667, allocations: 56 kB / 443.1 MB, free: 9.207 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002115/0.2688, allocations: 1.839 MB / 445 MB, free: 7.332 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006907/0.2757, allocations: 4.315 MB / 449.3 MB, free: 2.973 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.2777, allocations: 2.533 MB / 451.8 MB, free: 416 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007709/0.2785, allocations: 0.7612 MB / 452.6 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/0.2788, allocations: 135 kB / 452.7 MB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/0.2788, allocations: 94.62 kB / 452.8 MB, free: 15.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=390): time 4.539e-06/0.2788, allocations: 0 / 452.8 MB, free: 15.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=390): time 0.002249/0.2811, allocations: 1.795 MB / 454.6 MB, free: 13.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.2811, allocations: 90.47 kB / 454.7 MB, free: 13.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.2814, allocations: 486.8 kB / 455.2 MB, free: 13.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002065/0.2816, allocations: 101.7 kB / 455.3 MB, free: 12.9 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001857/0.2818, allocations: 0.5053 MB / 455.8 MB, free: 12.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006242/0.2825, allocations: 1.347 MB / 457.1 MB, free: 11.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005733/0.283, allocations: 0.5744 MB / 457.7 MB, free: 10.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.456e-05/0.2831, allocations: 337.8 kB / 458 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006266/0.2837, allocations: 491.7 kB / 458.5 MB, free: 9.629 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007764/0.2845, allocations: 0.8959 MB / 459.4 MB, free: 8.578 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.2861, allocations: 1.735 MB / 461.1 MB, free: 6.652 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.2862, allocations: 4 kB / 461.1 MB, free: 6.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.001943/0.2881, allocations: 1.744 MB / 462.9 MB, free: 4.871 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.2881, allocations: 15.94 kB / 462.9 MB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.2881, allocations: 23.98 kB / 462.9 MB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.2882, allocations: 24 kB / 463 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.2898, allocations: 0.7177 MB / 463.7 MB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-05/0.2898, allocations: 39.86 kB / 463.7 MB, free: 4.051 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000887/0.2907, allocations: 289.9 kB / 464 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.2909, allocations: 111.9 kB / 464.1 MB, free: 3.656 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.0005228/0.2914, allocations: 331.7 kB / 464.4 MB, free: 3.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00036/0.2917, allocations: 271.8 kB / 464.7 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002672/0.2944, allocations: 2.22 MB / 466.9 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/0.2944, allocations: 40 kB / 466.9 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2944, allocations: 5.797 kB / 467 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.336e-05/0.2945, allocations: 23.92 kB / 467 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001641/0.2961, allocations: 1.249 MB / 468.2 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.2961, allocations: 7.938 kB / 468.2 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/0.2976, allocations: 0.6631 MB / 468.9 MB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.528e-05/0.2977, allocations: 16 kB / 468.9 MB, free: 14.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001333/0.2978, allocations: 83.95 kB / 469 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.287e-05/0.2978, allocations: 16 kB / 469 MB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2978, allocations: 0 / 469 MB, free: 14.69 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.3005, allocations: 2.503 MB / 471.5 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.3006, allocations: 225.9 kB / 471.7 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002042/0.3008, allocations: 83.88 kB / 471.8 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.3019, allocations: 175.8 kB / 472 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003016/0.3022, allocations: 270.9 kB / 472.3 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001918/0.3023, allocations: 124.8 kB / 472.4 MB, free: 11.28 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001804/0.3025, allocations: 236.4 kB / 472.6 MB, free: 11.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3025, allocations: 0 / 472.6 MB, free: 11.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001455/0.304, allocations: 1.112 MB / 473.7 MB, free: 9.938 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.0008804/0.3049, allocations: 454.3 kB / 474.2 MB, free: 9.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001718/0.3066, allocations: 1.636 MB / 475.8 MB, free: 7.855 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-05/0.3066, allocations: 17.5 kB / 475.8 MB, free: 7.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009025/0.3075, allocations: 0.9819 MB / 476.8 MB, free: 6.855 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002209/0.3097, allocations: 1.169 MB / 478 MB, free: 5.688 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005007/0.3147, allocations: 4.548 MB / 482.5 MB, free: 1.078 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.3151, allocations: 0.5732 MB / 483.1 MB, free: 484 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001422/0.3165, allocations: 0.5794 MB / 483.7 MB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002709/0.3192, allocations: 1.184 MB / 484.9 MB, free: 14.69 MB / 410.7 MB Notification: Performance of SimCode: time 1.202e-06/0.3192, allocations: 4 kB / 484.9 MB, free: 14.68 MB / 410.7 MB Notification: Performance of Templates: time 0.1943/0.5136, allocations: 64.23 MB / 0.5362 GB, free: 47.53 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: 4.986604264937341]