Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001256/0.001256, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001474/0.001474, allocations: 170.3 kB / 24.82 MB, free: 9.266 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9364/0.9364, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.858e-05, allocations: 6.25 kB / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2234/0.2235, allocations: 145 MB / 418.4 MB, free: 172 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009511/0.2244, allocations: 0.7003 MB / 419.1 MB, free: 15.48 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.545e-05/0.2245, allocations: 0 / 419.1 MB, free: 15.48 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.2248, allocations: 86.48 kB / 419.1 MB, free: 15.4 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004799/0.2253, allocations: 300 kB / 419.4 MB, free: 15.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.2274, allocations: 1.151 MB / 420.6 MB, free: 13.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003414/0.2308, allocations: 5.692 MB / 426.3 MB, free: 8.25 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002073/0.231, allocations: 92.22 kB / 426.4 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004011/0.235, allocations: 3.163 MB / 429.5 MB, free: 4.969 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00234/0.2374, allocations: 2.019 MB / 431.5 MB, free: 2.945 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007752/0.2381, allocations: 236 kB / 431.8 MB, free: 2.715 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002726/0.2409, allocations: 1.524 MB / 433.3 MB, free: 1.188 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.138/0.3789, allocations: 1.273 MB / 434.6 MB, free: 7.246 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003248/0.3821, allocations: 1.259 MB / 435.8 MB, free: 7.246 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006204/0.3883, allocations: 4.126 MB / 440 MB, free: 7.066 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3883, allocations: 1.656 kB / 440 MB, free: 7.066 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3883, allocations: 0.5469 kB / 440 MB, free: 7.066 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001023/0.3884, allocations: 0 / 440 MB, free: 7.066 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.006825/0.3953, allocations: 3.309 MB / 443.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3953, allocations: 13.91 kB / 443.3 MB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001939/0.3973, allocations: 0.6395 MB / 443.9 MB, free: 5.711 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.3988, allocations: 0.9056 MB / 444.8 MB, free: 5.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.3989, allocations: 182.5 kB / 445 MB, free: 5.441 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004592/0.3994, allocations: 282.2 kB / 445.3 MB, free: 5.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003056/0.4024, allocations: 3.84 MB / 449.1 MB, free: 18.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.803e-05/0.4024, allocations: 2.875 kB / 449.1 MB, free: 18.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003145/0.4028, allocations: 113.1 kB / 449.2 MB, free: 18.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/0.4028, allocations: 57.31 kB / 449.3 MB, free: 18.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002955/0.4058, allocations: 2.114 MB / 451.4 MB, free: 18.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007932/0.4137, allocations: 4.904 MB / 456.3 MB, free: 17.92 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.4156, allocations: 2.582 MB / 458.9 MB, free: 17.71 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007962/0.4164, allocations: 0.8844 MB / 459.8 MB, free: 17.67 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002853/0.4166, allocations: 161.3 kB / 459.9 MB, free: 17.65 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.236e-05/0.4167, allocations: 101 kB / 460 MB, free: 17.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=390): time 4.649e-06/0.4167, allocations: 1 kB / 460 MB, free: 17.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=390): time 0.002673/0.4194, allocations: 2.38 MB / 462.4 MB, free: 17.38 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.4194, allocations: 93.31 kB / 462.5 MB, free: 17.31 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003252/0.4197, allocations: 0.6187 MB / 463.1 MB, free: 17.1 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00019/0.4199, allocations: 104.2 kB / 463.2 MB, free: 17.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.4201, allocations: 0.628 MB / 463.9 MB, free: 16.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005148/0.4206, allocations: 1.434 MB / 465.3 MB, free: 15.78 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006367/0.4213, allocations: 0.6868 MB / 466 MB, free: 15.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.4214, allocations: 0.5199 MB / 466.5 MB, free: 15.26 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005735/0.422, allocations: 467.9 kB / 467 MB, free: 15.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008137/0.4228, allocations: 1.213 MB / 468.2 MB, free: 14.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.4245, allocations: 1.914 MB / 470.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.4245, allocations: 5.047 kB / 470.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.002332/0.4268, allocations: 2.202 MB / 472.3 MB, free: 13.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.4268, allocations: 9.562 kB / 472.3 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.4269, allocations: 13.28 kB / 472.3 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.247e-05/0.4269, allocations: 25.22 kB / 472.3 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.4284, allocations: 0.7394 MB / 473.1 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.177e-05/0.4285, allocations: 36.42 kB / 473.1 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009449/0.4294, allocations: 291.3 kB / 473.4 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/0.4296, allocations: 118.2 kB / 473.5 MB, free: 13.58 MB / 394.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.0006393/0.4302, allocations: 377 kB / 473.9 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004428/0.4307, allocations: 316.9 kB / 474.2 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/0.4335, allocations: 2.725 MB / 476.9 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.4335, allocations: 43.34 kB / 477 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4335, allocations: 3.875 kB / 477 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/0.4335, allocations: 20.39 kB / 477 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/0.4351, allocations: 1.372 MB / 478.3 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.4351, allocations: 2.906 kB / 478.4 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/0.4366, allocations: 0.6744 MB / 479 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.431e-05/0.4366, allocations: 17.72 kB / 479 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/0.4368, allocations: 94.84 kB / 479.1 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-05/0.4368, allocations: 16.16 kB / 479.2 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4368, allocations: 1.875 kB / 479.2 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003116/0.4399, allocations: 3.02 MB / 482.2 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001489/0.4401, allocations: 225.3 kB / 482.4 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/0.4402, allocations: 87.2 kB / 482.5 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.4413, allocations: 176.3 kB / 482.7 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002855/0.4416, allocations: 273.8 kB / 482.9 MB, free: 12.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002028/0.4418, allocations: 151.7 kB / 483.1 MB, free: 12.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002007/0.442, allocations: 388.5 kB / 483.4 MB, free: 12.05 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.442, allocations: 0.9688 kB / 483.4 MB, free: 12.05 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001552/0.4436, allocations: 1.121 MB / 484.6 MB, free: 11.97 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.0006274/0.4442, allocations: 455.4 kB / 485 MB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001695/0.4459, allocations: 1.907 MB / 486.9 MB, free: 11.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/0.4459, allocations: 9.562 kB / 486.9 MB, free: 11.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.4469, allocations: 1.165 MB / 488.1 MB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002271/0.4492, allocations: 1.111 MB / 489.2 MB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005717/0.4549, allocations: 4.969 MB / 494.2 MB, free: 6.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003941/0.4553, allocations: 0.6182 MB / 494.8 MB, free: 6.047 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001525/0.4569, allocations: 0.5784 MB / 495.4 MB, free: 5.547 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002824/0.4597, allocations: 1.465 MB / 496.8 MB, free: 4.309 MB / 394.7 MB Notification: Performance of SimCode: time 7.42e-07/0.4597, allocations: 0 / 496.8 MB, free: 4.309 MB / 394.7 MB Notification: Performance of Templates: time 0.06236/0.522, allocations: 64.55 MB / 0.5482 GB, free: 4.945 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.969406164716929]