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.0009958/0.0009958, allocations: 85.05 kB / 21.5 MB, free: 2.992 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.00106/0.00106, allocations: 145.7 kB / 24.89 MB, free: 8.727 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.9493/0.9493, allocations: 173.4 MB / 201.5 MB, free: 8.77 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.062e-06/1.062e-06, allocations: 0 / 268.5 MB, free: 6.004 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.228e-05/1.335e-05, allocations: 6.312 kB / 268.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2111/0.2111, allocations: 144.2 MB / 412.7 MB, free: 8.668 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008902/0.212, allocations: 0.7119 MB / 413.5 MB, free: 7.973 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.212, allocations: 0 / 413.5 MB, free: 7.973 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003056/0.2123, allocations: 71.5 kB / 413.5 MB, free: 7.902 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004006/0.2127, allocations: 309.3 kB / 413.8 MB, free: 7.609 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.2148, allocations: 1.093 MB / 414.9 MB, free: 6.512 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003113/0.2179, allocations: 5.687 MB / 420.6 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.2181, allocations: 116.2 kB / 420.7 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003267/0.2214, allocations: 3.151 MB / 423.9 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001684/0.223, allocations: 1.965 MB / 425.8 MB, free: 11.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002977/0.2233, allocations: 236 kB / 426.1 MB, free: 11.3 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001807/0.2251, allocations: 1.544 MB / 427.6 MB, free: 9.754 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007524/0.2259, allocations: 1.274 MB / 428.9 MB, free: 8.477 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001146/0.227, allocations: 1.259 MB / 430.2 MB, free: 7.215 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002675/0.2297, allocations: 4.098 MB / 434.2 MB, free: 3.105 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2297, allocations: 0 / 434.2 MB, free: 3.105 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.2297, allocations: 4 kB / 434.3 MB, free: 3.102 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.171e-05/0.2297, allocations: 0 / 434.3 MB, free: 3.102 MB / 378.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.003812/0.2336, allocations: 2.949 MB / 437.2 MB, free: 116 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.976e-05/0.2336, allocations: 12.92 kB / 437.2 MB, free: 104 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1334/0.367, allocations: 0.5908 MB / 437.8 MB, free: 22.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/0.3686, allocations: 0.7639 MB / 438.6 MB, free: 22.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.3687, allocations: 182.7 kB / 438.7 MB, free: 22.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000477/0.3692, allocations: 283.6 kB / 439 MB, free: 22.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003414/0.3726, allocations: 4.04 MB / 443.1 MB, free: 19.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.36e-05/0.3726, allocations: 3.938 kB / 443.1 MB, free: 19.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002928/0.3729, allocations: 113.4 kB / 443.2 MB, free: 19.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.602e-05/0.373, allocations: 57.53 kB / 443.2 MB, free: 19.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003178/0.3762, allocations: 1.846 MB / 445.1 MB, free: 19.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00895/0.3851, allocations: 4.304 MB / 449.4 MB, free: 19.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002519/0.3876, allocations: 2.536 MB / 451.9 MB, free: 18.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009808/0.3886, allocations: 0.758 MB / 452.7 MB, free: 18.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002833/0.3889, allocations: 132.6 kB / 452.8 MB, free: 18.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.126e-05/0.389, allocations: 94.84 kB / 452.9 MB, free: 18.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=390): time 7.063e-06/0.389, allocations: 0 / 452.9 MB, free: 18.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=390): time 0.002848/0.3918, allocations: 1.799 MB / 454.7 MB, free: 18.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.3919, allocations: 95.19 kB / 454.8 MB, free: 18.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003303/0.3922, allocations: 482.5 kB / 455.3 MB, free: 18.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002187/0.3924, allocations: 102.1 kB / 455.4 MB, free: 18.49 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.3926, allocations: 0.5046 MB / 455.9 MB, free: 18.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006131/0.3932, allocations: 1.356 MB / 457.2 MB, free: 17.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007187/0.3939, allocations: 0.5623 MB / 457.8 MB, free: 17.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.377e-05/0.394, allocations: 336 kB / 458.1 MB, free: 16.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007864/0.3947, allocations: 487.8 kB / 458.6 MB, free: 16.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009166/0.3957, allocations: 0.8991 MB / 459.5 MB, free: 16.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/0.3977, allocations: 1.733 MB / 461.2 MB, free: 15.96 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/0.3977, allocations: 5.875 kB / 461.2 MB, free: 15.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.002502/0.4002, allocations: 1.752 MB / 463 MB, free: 15.81 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.4002, allocations: 13.06 kB / 463 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.4002, allocations: 11.78 kB / 463 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/0.4003, allocations: 27 kB / 463 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/0.4026, allocations: 0.785 MB / 463.8 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.793e-05/0.4026, allocations: 32.09 kB / 463.8 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.4038, allocations: 293.7 kB / 464.1 MB, free: 15.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/0.404, allocations: 107.9 kB / 464.2 MB, free: 15.66 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.0005848/0.4046, allocations: 331.7 kB / 464.6 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004407/0.405, allocations: 270 kB / 464.8 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003215/0.4083, allocations: 2.233 MB / 467.1 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.519e-05/0.4083, allocations: 41.31 kB / 467.1 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.4083, allocations: 0 / 467.1 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.819e-05/0.4083, allocations: 23.8 kB / 467.1 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.4104, allocations: 1.248 MB / 468.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/0.4104, allocations: 0 / 468.4 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005298/0.4157, allocations: 0.7114 MB / 469.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/0.4157, allocations: 14.84 kB / 469.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002344/0.4159, allocations: 84.45 kB / 469.2 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/0.4159, allocations: 14.5 kB / 469.2 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.4159, allocations: 4.812 kB / 469.2 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003279/0.4192, allocations: 2.509 MB / 471.7 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.4194, allocations: 227.1 kB / 471.9 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002626/0.4197, allocations: 86.2 kB / 472 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/0.4211, allocations: 178.1 kB / 472.2 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004327/0.4215, allocations: 266 kB / 472.4 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002865/0.4218, allocations: 134.3 kB / 472.6 MB, free: 14.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002158/0.422, allocations: 231.5 kB / 472.8 MB, free: 14.58 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.422, allocations: 0 / 472.8 MB, free: 14.58 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00141/0.4234, allocations: 1.104 MB / 473.9 MB, free: 14.5 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.000779/0.4242, allocations: 449.4 kB / 474.3 MB, free: 14.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.426, allocations: 1.632 MB / 476 MB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.94e-05/0.426, allocations: 18.27 kB / 476 MB, free: 14.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008743/0.4269, allocations: 0.9899 MB / 477 MB, free: 14.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00294/0.4298, allocations: 1.164 MB / 478.2 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/0.4406, allocations: 4.552 MB / 482.7 MB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.4411, allocations: 0.5764 MB / 483.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004084/0.4452, allocations: 0.574 MB / 483.9 MB, free: 9.801 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005049/0.4503, allocations: 1.189 MB / 485 MB, free: 8.992 MB / 378.7 MB Notification: Performance of SimCode: time 1.954e-06/0.4503, allocations: 0 / 485 MB, free: 8.992 MB / 378.7 MB Notification: Performance of Templates: time 0.08504/0.5353, allocations: 64.24 MB / 0.5364 GB, free: 10.33 MB / 442.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 -s gbode -gbm=radauIIA3 -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.91189573192969]