Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001276/0.001276, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9297/0.9297, allocations: 177 MB / 204.8 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.64e-05/1.767e-05, allocations: 5.266 kB / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2155/0.2156, allocations: 147.7 MB / 420.6 MB, free: 13.84 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009264/0.2165, allocations: 0.7088 MB / 421.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.2166, allocations: 0 / 421.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003523/0.2169, allocations: 63.53 kB / 421.4 MB, free: 13.08 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000494/0.2174, allocations: 310.3 kB / 421.7 MB, free: 12.79 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002099/0.2195, allocations: 1.155 MB / 422.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004083/0.2236, allocations: 5.692 MB / 428.5 MB, free: 5.918 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.2238, allocations: 88.22 kB / 428.6 MB, free: 5.809 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004159/0.228, allocations: 3.163 MB / 431.8 MB, free: 2.641 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002447/0.2304, allocations: 2.015 MB / 433.8 MB, free: 0.6211 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007878/0.2312, allocations: 236 kB / 434 MB, free: 400 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1543/0.3855, allocations: 1.521 MB / 435.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00175/0.3872, allocations: 1.277 MB / 436.8 MB, free: 6.648 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003379/0.3906, allocations: 1.26 MB / 438.1 MB, free: 6.648 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00554/0.3962, allocations: 4.132 MB / 442.2 MB, free: 6.445 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3962, allocations: 1.094 kB / 442.2 MB, free: 6.445 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3962, allocations: 1.875 kB / 442.2 MB, free: 6.445 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001028/0.3963, allocations: 0 / 442.2 MB, free: 6.445 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.005646/0.4019, allocations: 3.636 MB / 445.9 MB, free: 5.324 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.4019, allocations: 13.58 kB / 445.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0014/0.4033, allocations: 0.6356 MB / 446.5 MB, free: 5.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.4047, allocations: 1.073 MB / 447.6 MB, free: 4.824 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.956e-05/0.4048, allocations: 182.5 kB / 447.8 MB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003477/0.4051, allocations: 283 kB / 448 MB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003005/0.4081, allocations: 4.087 MB / 452.1 MB, free: 18.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.22e-05/0.4082, allocations: 0 / 452.1 MB, free: 18.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002462/0.4084, allocations: 114.1 kB / 452.2 MB, free: 18.03 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.769e-05/0.4084, allocations: 57.22 kB / 452.3 MB, free: 18.03 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002976/0.4114, allocations: 2.703 MB / 455 MB, free: 17.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007594/0.419, allocations: 5.483 MB / 460.5 MB, free: 17.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002355/0.4214, allocations: 2.812 MB / 463.3 MB, free: 17.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.4224, allocations: 1.037 MB / 464.3 MB, free: 17.06 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/0.4227, allocations: 136.6 kB / 464.5 MB, free: 17.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.288e-05/0.4228, allocations: 99.16 kB / 464.6 MB, free: 17.01 MB / 394.7 MB Notification: Performance of pre-optimization done (n=390): time 4.729e-06/0.4228, allocations: 0 / 464.6 MB, free: 17.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=390): time 0.003708/0.4265, allocations: 2.77 MB / 467.3 MB, free: 16.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.4265, allocations: 94.81 kB / 467.4 MB, free: 16.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000405/0.4269, allocations: 0.641 MB / 468.1 MB, free: 16.51 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002045/0.4271, allocations: 106.2 kB / 468.2 MB, free: 16.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.4273, allocations: 0.6082 MB / 468.8 MB, free: 16.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005415/0.4279, allocations: 1.429 MB / 470.2 MB, free: 15.19 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006101/0.4285, allocations: 0.6712 MB / 470.9 MB, free: 15.15 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4286, allocations: 0.5164 MB / 471.4 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008676/0.4295, allocations: 0.6058 MB / 472 MB, free: 14.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.4306, allocations: 1.348 MB / 473.4 MB, free: 14.03 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002318/0.433, allocations: 2.179 MB / 475.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/0.433, allocations: 3.469 kB / 475.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.003068/0.436, allocations: 2.507 MB / 478 MB, free: 13.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.4361, allocations: 10.22 kB / 478.1 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.4361, allocations: 12.84 kB / 478.1 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.4361, allocations: 25.75 kB / 478.1 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.4378, allocations: 0.786 MB / 478.9 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.707e-05/0.4378, allocations: 36.05 kB / 478.9 MB, free: 13.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.439, allocations: 342.2 kB / 479.2 MB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.4392, allocations: 145.9 kB / 479.4 MB, free: 12.99 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.0005697/0.4397, allocations: 377.4 kB / 479.8 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004435/0.4402, allocations: 315.7 kB / 480.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003564/0.4437, allocations: 3.072 MB / 483.1 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.233e-05/0.4438, allocations: 41.03 kB / 483.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.4438, allocations: 1.719 kB / 483.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.326e-05/0.4438, allocations: 21.19 kB / 483.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.4457, allocations: 1.586 MB / 484.8 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.4457, allocations: 0 / 484.8 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001573/0.4473, allocations: 0.7292 MB / 485.5 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.4473, allocations: 13.56 kB / 485.5 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001542/0.4475, allocations: 91.41 kB / 485.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-05/0.4475, allocations: 15.69 kB / 485.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4475, allocations: 0 / 485.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003827/0.4513, allocations: 3.452 MB / 489.1 MB, free: 11.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001636/0.4515, allocations: 231.5 kB / 489.3 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002039/0.4517, allocations: 81.98 kB / 489.4 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.4528, allocations: 226.5 kB / 489.6 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003509/0.4532, allocations: 347.9 kB / 490 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002008/0.4534, allocations: 177.3 kB / 490.1 MB, free: 11.58 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002726/0.4536, allocations: 429.7 kB / 490.5 MB, free: 11.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4536, allocations: 0 / 490.5 MB, free: 11.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0016/0.4552, allocations: 1.118 MB / 491.7 MB, free: 11.25 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.0007108/0.4559, allocations: 462.5 kB / 492.1 MB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002452/0.4584, allocations: 2.208 MB / 494.3 MB, free: 9.355 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.4584, allocations: 5 kB / 494.3 MB, free: 9.348 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001303/0.4597, allocations: 1.305 MB / 495.6 MB, free: 8.316 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/0.4621, allocations: 1.103 MB / 496.7 MB, free: 7.398 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005913/0.468, allocations: 5.036 MB / 0.49 GB, free: 2.426 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003774/0.4683, allocations: 0.6208 MB / 0.4906 GB, free: 1.773 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002288/0.4706, allocations: 1.363 MB / 0.4919 GB, free: 416 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008574/0.4715, allocations: 288.4 kB / 0.4922 GB, free: 124 kB / 394.7 MB Notification: Performance of SimCode: time 9.12e-07/0.4715, allocations: 0 / 0.4922 GB, free: 124 kB / 394.7 MB Notification: Performance of Templates: time 0.07016/0.5417, allocations: 63.02 MB / 0.5538 GB, free: 1.789 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_trunk_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 5.200839178171009]