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.001217/0.001217, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001331/0.001331, allocations: 170.3 kB / 25.69 MB, free: 8.453 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.8774/0.8774, allocations: 158.6 MB / 187.6 MB, free: 2.781 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 1.442e-06/1.442e-06, allocations: 0 / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.26e-05/1.405e-05, allocations: 2.312 kB / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2455/0.2455, allocations: 145.4 MB / 396.9 MB, free: 9.16 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.2466, allocations: 0.9479 MB / 397.9 MB, free: 9.062 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.722e-05/0.2467, allocations: 1.203 kB / 397.9 MB, free: 9.062 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003064/0.247, allocations: 84.22 kB / 398 MB, free: 9.035 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004457/0.2474, allocations: 300.2 kB / 398.3 MB, free: 9.004 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.2495, allocations: 1.339 MB / 399.6 MB, free: 8.844 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002412/0.2519, allocations: 5.697 MB / 405.3 MB, free: 7.133 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.2521, allocations: 107.3 kB / 405.4 MB, free: 7.051 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00273/0.2548, allocations: 3.157 MB / 408.6 MB, free: 6.266 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001793/0.2566, allocations: 1.961 MB / 410.5 MB, free: 5.703 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005098/0.2571, allocations: 237.4 kB / 410.8 MB, free: 5.703 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.259, allocations: 1.664 MB / 412.4 MB, free: 5.273 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006858/0.2596, allocations: 1.275 MB / 413.7 MB, free: 4.863 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009157/0.2606, allocations: 1.265 MB / 415 MB, free: 4.602 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.263, allocations: 4.234 MB / 419.2 MB, free: 2.363 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.263, allocations: 0 / 419.2 MB, free: 2.363 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.263, allocations: 0 / 419.2 MB, free: 2.363 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.087e-05/0.263, allocations: 0 / 419.2 MB, free: 2.363 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.003279/0.2663, allocations: 2.966 MB / 422.2 MB, free: 15.56 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.81e-05/0.2664, allocations: 11.98 kB / 422.2 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.2675, allocations: 0.6064 MB / 422.8 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009819/0.2685, allocations: 0.7665 MB / 423.5 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.412e-05/0.2686, allocations: 184.8 kB / 423.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003402/0.2689, allocations: 286.4 kB / 424 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/0.2714, allocations: 4.042 MB / 428 MB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.044e-05/0.2714, allocations: 0 / 428 MB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000241/0.2717, allocations: 116 kB / 428.2 MB, free: 8.977 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/0.2717, allocations: 59.98 kB / 428.2 MB, free: 8.918 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002085/0.2738, allocations: 1.835 MB / 430.1 MB, free: 7.047 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006784/0.2806, allocations: 4.304 MB / 434.4 MB, free: 2.898 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/0.2826, allocations: 2.532 MB / 436.9 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000772/0.2834, allocations: 0.7585 MB / 437.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002691/0.2837, allocations: 142.9 kB / 437.8 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.499e-05/0.2837, allocations: 94.62 kB / 437.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=390): time 4.909e-06/0.2837, allocations: 0 / 437.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=390): time 0.002254/0.286, allocations: 1.791 MB / 439.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.693e-05/0.286, allocations: 90.47 kB / 439.8 MB, free: 13.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.2863, allocations: 483.1 kB / 440.2 MB, free: 13.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002025/0.2865, allocations: 97.7 kB / 440.3 MB, free: 13.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.2867, allocations: 0.5028 MB / 440.8 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006261/0.2874, allocations: 1.355 MB / 442.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005758/0.2879, allocations: 0.5634 MB / 442.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.616e-05/0.288, allocations: 334.4 kB / 443.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006275/0.2886, allocations: 495.8 kB / 443.6 MB, free: 9.945 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007823/0.2894, allocations: 0.8951 MB / 444.5 MB, free: 8.969 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.2911, allocations: 1.739 MB / 446.2 MB, free: 7.109 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.2911, allocations: 7.938 kB / 446.2 MB, free: 7.102 MB / 362.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.001964/0.293, allocations: 1.743 MB / 447.9 MB, free: 5.324 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.2931, allocations: 12 kB / 448 MB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.2931, allocations: 12 kB / 448 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.2931, allocations: 24 kB / 448 MB, free: 5.277 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.2947, allocations: 0.7298 MB / 448.7 MB, free: 4.547 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.757e-05/0.2947, allocations: 35.88 kB / 448.8 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008147/0.2955, allocations: 293.8 kB / 449 MB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/0.2957, allocations: 119.9 kB / 449.2 MB, free: 4.105 MB / 362.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.0005061/0.2962, allocations: 327.8 kB / 449.5 MB, free: 3.773 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003727/0.2966, allocations: 275.8 kB / 449.8 MB, free: 3.504 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002451/0.299, allocations: 2.221 MB / 452 MB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.299, allocations: 44 kB / 452 MB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.299, allocations: 1.625 kB / 452 MB, free: 1.223 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.213e-05/0.2991, allocations: 23.92 kB / 452 MB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.3006, allocations: 1.25 MB / 453.3 MB, free: 84 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.3006, allocations: 4 kB / 453.3 MB, free: 80 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/0.3021, allocations: 0.6592 MB / 454 MB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-05/0.3021, allocations: 23.88 kB / 454 MB, free: 15.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/0.3023, allocations: 75.97 kB / 454.1 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-05/0.3023, allocations: 20 kB / 454.1 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3023, allocations: 3.984 kB / 454.1 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002663/0.3049, allocations: 2.509 MB / 456.6 MB, free: 12.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.3051, allocations: 233.8 kB / 456.8 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.3053, allocations: 87.88 kB / 456.9 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009887/0.3063, allocations: 168.7 kB / 457.1 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002857/0.3066, allocations: 266.9 kB / 457.3 MB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001971/0.3068, allocations: 131.9 kB / 457.5 MB, free: 11.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001755/0.3069, allocations: 234.2 kB / 457.7 MB, free: 11.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3069, allocations: 0 / 457.7 MB, free: 11.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001402/0.3083, allocations: 1.108 MB / 458.8 MB, free: 10.64 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.0007652/0.3091, allocations: 496.9 kB / 459.3 MB, free: 10.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001692/0.3108, allocations: 1.63 MB / 460.9 MB, free: 8.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/0.3108, allocations: 13.5 kB / 460.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008938/0.3117, allocations: 0.9851 MB / 461.9 MB, free: 7.602 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/0.3139, allocations: 1.163 MB / 463.1 MB, free: 6.445 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004813/0.3187, allocations: 4.565 MB / 467.6 MB, free: 1.883 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.3191, allocations: 0.5694 MB / 468.2 MB, free: 1.281 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001395/0.3205, allocations: 0.5833 MB / 468.8 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002705/0.3232, allocations: 1.178 MB / 470 MB, free: 15.5 MB / 394.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3232, allocations: 4 kB / 470 MB, free: 15.5 MB / 394.7 MB Notification: Performance of Templates: time 0.2006/0.5238, allocations: 64.7 MB / 0.5221 GB, free: 92.39 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.873281362000853]