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.0009288/0.0009288, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.0008717/0.0008717, allocations: 168.7 kB / 24.91 MB, free: 9.191 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 1.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.523e-06/1.523e-06, allocations: 0 / 273.5 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.091e-05, allocations: 2.312 kB / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2336/0.2336, allocations: 147.1 MB / 420.6 MB, free: 13.98 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009886/0.2346, allocations: 0.7121 MB / 421.3 MB, free: 13.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.736e-05/0.2347, allocations: 4 kB / 421.3 MB, free: 13.28 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003264/0.235, allocations: 79.44 kB / 421.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004459/0.2355, allocations: 298.5 kB / 421.7 MB, free: 12.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001958/0.2374, allocations: 1.101 MB / 422.8 MB, free: 11.82 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003331/0.2408, allocations: 5.699 MB / 428.5 MB, free: 6.098 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.241, allocations: 104.2 kB / 428.6 MB, free: 5.961 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003649/0.2446, allocations: 3.159 MB / 431.8 MB, free: 2.797 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002295/0.2469, allocations: 1.965 MB / 433.7 MB, free: 0.8281 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006485/0.2476, allocations: 236 kB / 434 MB, free: 0.5977 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1392/0.3868, allocations: 1.574 MB / 435.5 MB, free: 6.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001308/0.3881, allocations: 1.282 MB / 436.8 MB, free: 6.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002913/0.391, allocations: 1.26 MB / 438.1 MB, free: 6.73 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005362/0.3964, allocations: 4.13 MB / 442.2 MB, free: 6.527 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3964, allocations: 1.594 kB / 442.2 MB, free: 6.527 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.3964, allocations: 0 / 442.2 MB, free: 6.527 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001299/0.3965, allocations: 2.062 kB / 442.2 MB, free: 6.527 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.005502/0.402, allocations: 2.947 MB / 445.2 MB, free: 5.547 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.4021, allocations: 9.562 kB / 445.2 MB, free: 5.547 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.4034, allocations: 0.604 MB / 445.8 MB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.4046, allocations: 0.7644 MB / 446.5 MB, free: 5.176 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.135e-05/0.4047, allocations: 180 kB / 446.7 MB, free: 5.168 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/0.405, allocations: 289.2 kB / 447 MB, free: 5.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002546/0.4076, allocations: 4.035 MB / 451 MB, free: 18.38 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/0.4076, allocations: 3.812 kB / 451 MB, free: 18.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000232/0.4079, allocations: 116 kB / 451.1 MB, free: 18.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/0.4079, allocations: 58.81 kB / 451.2 MB, free: 18.38 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.41, allocations: 1.842 MB / 453 MB, free: 18.29 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007347/0.4174, allocations: 4.307 MB / 457.4 MB, free: 17.71 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001839/0.4192, allocations: 2.527 MB / 459.9 MB, free: 17.46 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007312/0.4199, allocations: 0.7646 MB / 460.6 MB, free: 17.42 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002678/0.4202, allocations: 132.1 kB / 460.8 MB, free: 17.42 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.236e-05/0.4203, allocations: 95.31 kB / 460.9 MB, free: 17.38 MB / 394.7 MB Notification: Performance of pre-optimization done (n=390): time 5.28e-06/0.4203, allocations: 0 / 460.9 MB, free: 17.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=390): time 0.002219/0.4225, allocations: 1.795 MB / 462.7 MB, free: 17.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.4225, allocations: 96.27 kB / 462.8 MB, free: 17.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.4228, allocations: 481.6 kB / 463.2 MB, free: 17.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001962/0.423, allocations: 103.9 kB / 463.3 MB, free: 17.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.4232, allocations: 0.4972 MB / 463.8 MB, free: 16.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004784/0.4237, allocations: 1.357 MB / 465.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005443/0.4242, allocations: 0.5607 MB / 465.7 MB, free: 15.74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.022e-05/0.4243, allocations: 335.5 kB / 466.1 MB, free: 15.44 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005792/0.4249, allocations: 491.4 kB / 466.5 MB, free: 15.42 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006714/0.4255, allocations: 0.8969 MB / 467.4 MB, free: 14.99 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.4271, allocations: 1.741 MB / 469.2 MB, free: 14.46 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.4271, allocations: 6.703 kB / 469.2 MB, free: 14.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.001897/0.429, allocations: 1.75 MB / 470.9 MB, free: 14.31 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.429, allocations: 11.59 kB / 471 MB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.429, allocations: 12.22 kB / 471 MB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.677e-05/0.429, allocations: 26.12 kB / 471 MB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001769/0.4308, allocations: 0.7869 MB / 471.8 MB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.644e-05/0.4308, allocations: 36.27 kB / 471.8 MB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.4319, allocations: 293.7 kB / 472.1 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/0.4321, allocations: 106.3 kB / 472.2 MB, free: 14.16 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.000625/0.4327, allocations: 329.4 kB / 472.5 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003553/0.433, allocations: 276.7 kB / 472.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002414/0.4355, allocations: 2.224 MB / 475 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.4355, allocations: 43.34 kB / 475.1 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.4355, allocations: 2.578 kB / 475.1 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/0.4355, allocations: 19.12 kB / 475.1 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.4372, allocations: 1.255 MB / 476.3 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.4372, allocations: 1.938 kB / 476.3 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/0.4389, allocations: 0.7118 MB / 477.1 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/0.4389, allocations: 14.69 kB / 477.1 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/0.4391, allocations: 86.62 kB / 477.2 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.171e-05/0.4391, allocations: 16.91 kB / 477.2 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4391, allocations: 3.094 kB / 477.2 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002622/0.4417, allocations: 2.507 MB / 479.7 MB, free: 13.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.4419, allocations: 225.2 kB / 479.9 MB, free: 13.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/0.4421, allocations: 89.05 kB / 480 MB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.4432, allocations: 167.4 kB / 480.1 MB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003206/0.4435, allocations: 269.6 kB / 480.4 MB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002074/0.4438, allocations: 130.2 kB / 480.5 MB, free: 13.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001824/0.4439, allocations: 234.7 kB / 480.8 MB, free: 13.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4439, allocations: 1.062 kB / 480.8 MB, free: 13.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001701/0.4456, allocations: 1.11 MB / 481.9 MB, free: 13 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.0006905/0.4463, allocations: 446.2 kB / 482.3 MB, free: 12.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.448, allocations: 1.639 MB / 484 MB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-05/0.448, allocations: 16.53 kB / 484 MB, free: 12.79 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000874/0.4489, allocations: 0.9883 MB / 485 MB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002447/0.4513, allocations: 1.154 MB / 486.1 MB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005332/0.4567, allocations: 4.558 MB / 490.7 MB, free: 8.391 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.4571, allocations: 0.5825 MB / 491.3 MB, free: 7.875 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001771/0.4589, allocations: 0.58 MB / 491.8 MB, free: 7.359 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002921/0.4618, allocations: 1.177 MB / 493 MB, free: 6.215 MB / 394.7 MB Notification: Performance of SimCode: time 1.784e-06/0.4618, allocations: 0 / 493 MB, free: 6.215 MB / 394.7 MB Notification: Performance of Templates: time 0.06165/0.5234, allocations: 64.44 MB / 0.5444 GB, free: 6.957 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 -s gbode -gbm=radauIIA3 -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.8569031660445035]