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.0009982/0.0009982, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.0009351/0.0009351, allocations: 166.4 kB / 25.75 MB, free: 8.48 MB / 18.57 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.8562/0.8562, allocations: 158.6 MB / 187.5 MB, free: 2.895 MB / 170.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 2.225e-06/2.225e-06, allocations: 7.938 kB / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.362e-05/1.584e-05, allocations: 2.312 kB / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2317/0.2317, allocations: 145.8 MB / 396.9 MB, free: 10 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.2329, allocations: 0.944 MB / 397.8 MB, free: 9.918 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.968e-05/0.233, allocations: 6.75 kB / 397.8 MB, free: 9.914 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002497/0.2332, allocations: 72.83 kB / 397.9 MB, free: 9.895 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004282/0.2336, allocations: 306.6 kB / 398.2 MB, free: 9.863 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002324/0.236, allocations: 1.337 MB / 399.5 MB, free: 9.656 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002935/0.2389, allocations: 5.691 MB / 405.2 MB, free: 7.891 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.239, allocations: 90.5 kB / 405.3 MB, free: 7.836 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002389/0.2414, allocations: 2.966 MB / 408.3 MB, free: 7.113 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001895/0.2433, allocations: 2.106 MB / 410.4 MB, free: 6.52 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003818/0.2437, allocations: 236.3 kB / 410.6 MB, free: 6.52 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002069/0.2458, allocations: 1.679 MB / 412.3 MB, free: 6.086 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008765/0.2466, allocations: 1.289 MB / 413.6 MB, free: 5.668 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.2478, allocations: 1.263 MB / 414.8 MB, free: 5.406 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003314/0.2511, allocations: 4.248 MB / 419.1 MB, free: 3.621 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2511, allocations: 3.062 kB / 419.1 MB, free: 3.621 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2511, allocations: 0 / 419.1 MB, free: 3.621 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.579e-05/0.2512, allocations: 0 / 419.1 MB, free: 3.621 MB / 330.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.005337/0.2565, allocations: 3.669 MB / 422.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.2565, allocations: 19.98 kB / 422.8 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.2583, allocations: 0.6345 MB / 423.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.2602, allocations: 1.151 MB / 424.6 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.2603, allocations: 184.8 kB / 424.7 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004741/0.2608, allocations: 287.9 kB / 425 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004124/0.2649, allocations: 4.083 MB / 429.1 MB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/0.265, allocations: 0 / 429.1 MB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003265/0.2653, allocations: 112 kB / 429.2 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.46e-05/0.2653, allocations: 60 kB / 429.3 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004831/0.2702, allocations: 2.701 MB / 432 MB, free: 6.785 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01018/0.2803, allocations: 5.478 MB / 437.5 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00292/0.2833, allocations: 2.837 MB / 440.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.2845, allocations: 1.041 MB / 441.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002781/0.2848, allocations: 135 kB / 441.5 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.161e-05/0.2849, allocations: 98.08 kB / 441.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=390): time 4.628e-06/0.2849, allocations: 0 / 441.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=390): time 0.00422/0.2891, allocations: 2.773 MB / 444.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.2891, allocations: 94.47 kB / 444.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004489/0.2896, allocations: 0.639 MB / 445.1 MB, free: 9.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001998/0.2898, allocations: 101.7 kB / 445.2 MB, free: 9.625 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002445/0.29, allocations: 0.6172 MB / 445.8 MB, free: 9.004 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007178/0.2908, allocations: 1.426 MB / 447.2 MB, free: 7.598 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006501/0.2914, allocations: 0.6682 MB / 447.9 MB, free: 6.918 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.2915, allocations: 0.5199 MB / 448.4 MB, free: 6.391 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.2925, allocations: 0.608 MB / 449 MB, free: 5.781 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.2939, allocations: 1.344 MB / 450.3 MB, free: 4.223 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00288/0.2968, allocations: 2.181 MB / 452.5 MB, free: 1.809 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.2968, allocations: 4 kB / 452.5 MB, free: 1.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00337/0.3002, allocations: 2.506 MB / 455 MB, free: 15.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.3002, allocations: 12 kB / 455 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.426e-05/0.3002, allocations: 12 kB / 455.1 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.393e-05/0.3002, allocations: 24 kB / 455.1 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/0.302, allocations: 0.7959 MB / 455.9 MB, free: 14.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.902e-05/0.3021, allocations: 31.92 kB / 455.9 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.3031, allocations: 337.8 kB / 456.2 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001809/0.3033, allocations: 147.9 kB / 456.4 MB, free: 13.93 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.0005184/0.3038, allocations: 383.6 kB / 456.8 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004531/0.3042, allocations: 314.9 kB / 457.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004267/0.3085, allocations: 3.064 MB / 460.1 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.3085, allocations: 44 kB / 460.2 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3085, allocations: 3.938 kB / 460.2 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.159e-05/0.3086, allocations: 19.92 kB / 460.2 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.3104, allocations: 1.589 MB / 461.8 MB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.3104, allocations: 0 / 461.8 MB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001698/0.3121, allocations: 0.7255 MB / 462.5 MB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/0.3121, allocations: 12 kB / 462.5 MB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001561/0.3122, allocations: 95.95 kB / 462.6 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.007e-05/0.3123, allocations: 12 kB / 462.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3123, allocations: 0 / 462.6 MB, free: 7.703 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004323/0.3166, allocations: 3.461 MB / 466.1 MB, free: 4.195 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.3167, allocations: 225.9 kB / 466.3 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002136/0.3169, allocations: 87.88 kB / 466.4 MB, free: 3.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/0.3181, allocations: 219.8 kB / 466.6 MB, free: 3.672 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004226/0.3185, allocations: 346.7 kB / 466.9 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002224/0.3188, allocations: 176.8 kB / 467.1 MB, free: 3.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003097/0.3191, allocations: 430.7 kB / 467.5 MB, free: 2.742 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3191, allocations: 4 kB / 467.5 MB, free: 2.738 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001385/0.3205, allocations: 1.108 MB / 468.7 MB, free: 1.629 MB / 378.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.0007627/0.3212, allocations: 487 kB / 469.1 MB, free: 1.172 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002573/0.3238, allocations: 2.214 MB / 471.3 MB, free: 14.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.3238, allocations: 5 kB / 471.3 MB, free: 14.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001513/0.3253, allocations: 1.299 MB / 472.6 MB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002365/0.3277, allocations: 1.121 MB / 473.8 MB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005758/0.3334, allocations: 5.04 MB / 478.8 MB, free: 7.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.3338, allocations: 0.6239 MB / 479.4 MB, free: 6.773 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002558/0.3364, allocations: 1.371 MB / 480.8 MB, free: 5.398 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007093/0.3371, allocations: 292.4 kB / 481.1 MB, free: 5.113 MB / 394.7 MB Notification: Performance of SimCode: time 4.91e-07/0.3371, allocations: 0 / 481.1 MB, free: 5.113 MB / 394.7 MB Notification: Performance of Templates: time 0.1754/0.5125, allocations: 58.86 MB / 0.5273 GB, free: 90.61 MB / 426.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 -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.77855307306163]