Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.0007436/0.0007436, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001037/0.00178, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0006934/0.0006934, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008789/0.001572, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.7726/0.7726, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1337/0.9063, allocations: 49.49 MB / 220.5 MB, free: 1.445 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.485e-05/2.634e-05, allocations: 9.406 kB / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2445/0.2446, allocations: 145.8 MB / 367.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.246, allocations: 0.9482 MB / 368.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.51e-05/0.246, allocations: 7.938 kB / 368.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.2463, allocations: 81.75 kB / 368.7 MB, free: 12.08 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004865/0.2468, allocations: 301.2 kB / 369 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.2494, allocations: 1.272 MB / 370.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004236/0.2536, allocations: 5.714 MB / 376 MB, free: 4.781 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.2538, allocations: 112.2 kB / 376.1 MB, free: 4.641 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003669/0.2575, allocations: 3.167 MB / 379.3 MB, free: 1.469 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002197/0.2597, allocations: 1.961 MB / 381.2 MB, free: 15.5 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004891/0.2602, allocations: 236 kB / 381.5 MB, free: 15.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.263, allocations: 1.751 MB / 383.2 MB, free: 13.52 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008866/0.2639, allocations: 0.9317 MB / 384.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001293/0.2652, allocations: 0.8933 MB / 385 MB, free: 11.69 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003539/0.2687, allocations: 3.51 MB / 388.6 MB, free: 8.172 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.427e-05/0.2687, allocations: 0 / 388.6 MB, free: 8.172 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.2687, allocations: 4 kB / 388.6 MB, free: 8.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.51e-05/0.2688, allocations: 4 kB / 388.6 MB, free: 8.164 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.005447/0.2742, allocations: 3.656 MB / 392.2 MB, free: 4.465 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.2743, allocations: 8.031 kB / 392.2 MB, free: 4.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/0.2759, allocations: 0.6834 MB / 392.9 MB, free: 3.754 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.2772, allocations: 0.7673 MB / 393.7 MB, free: 2.961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.2773, allocations: 180.8 kB / 393.9 MB, free: 2.781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004337/0.2777, allocations: 283.9 kB / 394.1 MB, free: 2.504 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002756/0.2805, allocations: 4.054 MB / 398.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/0.2805, allocations: 4 kB / 398.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002139/0.2807, allocations: 112 kB / 398.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.2807, allocations: 61.25 kB / 398.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/0.2827, allocations: 1.843 MB / 400.2 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006776/0.2895, allocations: 4.342 MB / 404.5 MB, free: 7.449 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.2914, allocations: 2.54 MB / 407.1 MB, free: 4.867 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007264/0.2922, allocations: 0.7652 MB / 407.8 MB, free: 4.098 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.2924, allocations: 135 kB / 408 MB, free: 3.965 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.247e-05/0.2925, allocations: 90.62 kB / 408.1 MB, free: 3.867 MB / 362.7 MB Notification: Performance of pre-optimization done (n=390): time 5.09e-06/0.2925, allocations: 4 kB / 408.1 MB, free: 3.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=390): time 0.002097/0.2946, allocations: 1.811 MB / 409.9 MB, free: 2.039 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.2946, allocations: 94.47 kB / 410 MB, free: 1.934 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005558/0.2952, allocations: 482.8 kB / 410.4 MB, free: 1.449 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001823/0.2954, allocations: 101.7 kB / 410.5 MB, free: 1.344 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.2956, allocations: 0.5053 MB / 411.1 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006059/0.2962, allocations: 1.351 MB / 412.4 MB, free: 15.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005409/0.2967, allocations: 0.5627 MB / 413 MB, free: 14.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.813e-05/0.2968, allocations: 341.9 kB / 413.3 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005787/0.2974, allocations: 495.8 kB / 413.8 MB, free: 14.06 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000747/0.2981, allocations: 0.9035 MB / 414.7 MB, free: 13.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001549/0.2997, allocations: 1.739 MB / 416.4 MB, free: 11.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.2997, allocations: 7.938 kB / 416.4 MB, free: 11.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.002113/0.3018, allocations: 1.758 MB / 418.2 MB, free: 9.277 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3018, allocations: 12.88 kB / 418.2 MB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/0.3018, allocations: 13.69 kB / 418.2 MB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.3018, allocations: 35.98 kB / 418.3 MB, free: 9.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/0.3036, allocations: 0.862 MB / 419.1 MB, free: 8.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.214e-05/0.3037, allocations: 32.64 kB / 419.1 MB, free: 8.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008354/0.3045, allocations: 285.9 kB / 419.4 MB, free: 8.043 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/0.3047, allocations: 119.9 kB / 419.5 MB, free: 7.926 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.0004799/0.3051, allocations: 327.7 kB / 419.9 MB, free: 7.594 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003372/0.3055, allocations: 279.7 kB / 420.1 MB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002411/0.3079, allocations: 2.247 MB / 422.4 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/0.3079, allocations: 44 kB / 422.4 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3079, allocations: 0 / 422.4 MB, free: 5.004 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.166e-05/0.3079, allocations: 23.91 kB / 422.5 MB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001545/0.3095, allocations: 1.257 MB / 423.7 MB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.3095, allocations: 0 / 423.7 MB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001912/0.3114, allocations: 0.7764 MB / 424.5 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.3115, allocations: 231.8 kB / 424.7 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.3115, allocations: 12 kB / 424.7 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001287/0.3117, allocations: 79.97 kB / 424.8 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/0.3117, allocations: 19.98 kB / 424.8 MB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3117, allocations: 0 / 424.8 MB, free: 2.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002475/0.3141, allocations: 2.542 MB / 427.4 MB, free: 12 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002035/0.3144, allocations: 83.97 kB / 427.4 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000948/0.3153, allocations: 175.8 kB / 427.6 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002839/0.3156, allocations: 262.9 kB / 427.9 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001835/0.3158, allocations: 131.9 kB / 428 MB, free: 15.37 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001659/0.3159, allocations: 232.3 kB / 428.2 MB, free: 15.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3159, allocations: 0 / 428.2 MB, free: 15.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001376/0.3173, allocations: 1.178 MB / 429.4 MB, free: 13.96 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.0009357/0.3182, allocations: 0.6014 MB / 430 MB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00191/0.3202, allocations: 1.635 MB / 431.6 MB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.082e-05/0.3202, allocations: 59.44 kB / 431.7 MB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000872/0.3211, allocations: 0.9935 MB / 432.7 MB, free: 10.67 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002151/0.3232, allocations: 1.446 MB / 434.1 MB, free: 9.219 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01435/0.3376, allocations: 4.574 MB / 438.7 MB, free: 4.586 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.338, allocations: 0.5771 MB / 439.3 MB, free: 3.977 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001541/0.3395, allocations: 0.5833 MB / 439.9 MB, free: 3.391 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002589/0.3421, allocations: 1.185 MB / 441.1 MB, free: 2.184 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3421, allocations: 0 / 441.1 MB, free: 2.184 MB / 394.7 MB Notification: Performance of Templates: time 0.189/0.5311, allocations: 69.53 MB / 0.4986 GB, free: 23.89 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.870352604426444]