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.001272/0.001272, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.0009774/0.0009774, allocations: 165 kB / 24.99 MB, free: 8.801 MB / 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.8908/0.8908, allocations: 177 MB / 205.2 MB, free: 5.59 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 2.265e-06/2.265e-06, allocations: 3.984 kB / 273 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.665e-05/1.892e-05, allocations: 6.25 kB / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2222/0.2222, allocations: 147.5 MB / 420.4 MB, free: 14.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.2233, allocations: 0.6967 MB / 421.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.2234, allocations: 7.938 kB / 421.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003746/0.2238, allocations: 71.52 kB / 421.2 MB, free: 13.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005558/0.2244, allocations: 298.5 kB / 421.5 MB, free: 13.14 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00244/0.2268, allocations: 1.155 MB / 422.6 MB, free: 11.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004308/0.2311, allocations: 5.692 MB / 428.3 MB, free: 6.273 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.2313, allocations: 92.22 kB / 428.4 MB, free: 6.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004058/0.2354, allocations: 2.975 MB / 431.4 MB, free: 3.18 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002835/0.2382, allocations: 2.109 MB / 433.5 MB, free: 1.066 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007401/0.239, allocations: 240 kB / 433.7 MB, free: 0.832 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1457/0.3846, allocations: 1.521 MB / 435.3 MB, free: 6.758 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001449/0.3861, allocations: 1.284 MB / 436.6 MB, free: 6.758 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003027/0.3891, allocations: 1.265 MB / 437.8 MB, free: 6.758 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004815/0.3939, allocations: 4.141 MB / 442 MB, free: 6.566 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3939, allocations: 0 / 442 MB, free: 6.566 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3939, allocations: 1.094 kB / 442 MB, free: 6.566 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.023e-05/0.394, allocations: 5.469 kB / 442 MB, free: 6.566 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.005403/0.3994, allocations: 3.657 MB / 445.6 MB, free: 5.441 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.3995, allocations: 12.95 kB / 445.6 MB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.4008, allocations: 0.6344 MB / 446.3 MB, free: 5.207 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.4023, allocations: 1.156 MB / 447.4 MB, free: 4.938 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.742e-05/0.4024, allocations: 185.6 kB / 447.6 MB, free: 4.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000356/0.4027, allocations: 283.2 kB / 447.9 MB, free: 4.922 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002978/0.4057, allocations: 4.086 MB / 452 MB, free: 18.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/0.4058, allocations: 0 / 452 MB, free: 18.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002617/0.406, allocations: 114.1 kB / 452.1 MB, free: 18.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.912e-05/0.4061, allocations: 59.47 kB / 452.1 MB, free: 18.14 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003104/0.4092, allocations: 2.702 MB / 454.8 MB, free: 18.1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007986/0.4171, allocations: 5.474 MB / 460.3 MB, free: 17.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/0.4197, allocations: 2.815 MB / 463.1 MB, free: 17.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.4208, allocations: 1.044 MB / 464.2 MB, free: 17.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002629/0.4211, allocations: 138.9 kB / 464.3 MB, free: 17.17 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.692e-05/0.4212, allocations: 94.58 kB / 464.4 MB, free: 17.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=390): time 4.489e-06/0.4212, allocations: 2.969 kB / 464.4 MB, free: 17.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=390): time 0.003699/0.4249, allocations: 2.776 MB / 467.2 MB, free: 16.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/0.4249, allocations: 90.28 kB / 467.3 MB, free: 16.83 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004268/0.4253, allocations: 0.6377 MB / 467.9 MB, free: 16.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000205/0.4255, allocations: 105.1 kB / 468 MB, free: 16.59 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.4258, allocations: 0.612 MB / 468.6 MB, free: 16.21 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005638/0.4263, allocations: 1.426 MB / 470 MB, free: 15.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000651/0.427, allocations: 0.6754 MB / 470.7 MB, free: 15.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.4271, allocations: 0.517 MB / 471.2 MB, free: 14.78 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009395/0.428, allocations: 0.6052 MB / 471.8 MB, free: 14.77 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.4292, allocations: 1.35 MB / 473.2 MB, free: 14.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002341/0.4315, allocations: 2.183 MB / 475.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/0.4316, allocations: 3.625 kB / 475.4 MB, free: 13.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.003127/0.4347, allocations: 2.503 MB / 477.9 MB, free: 13.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/0.4347, allocations: 11.89 kB / 477.9 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.707e-05/0.4347, allocations: 11.41 kB / 477.9 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/0.4348, allocations: 26.78 kB / 477.9 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001758/0.4365, allocations: 0.7897 MB / 478.7 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.468e-05/0.4365, allocations: 31.92 kB / 478.8 MB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.438, allocations: 343.6 kB / 479.1 MB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/0.4381, allocations: 144.2 kB / 479.2 MB, free: 13.1 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.0006258/0.4388, allocations: 377.2 kB / 479.6 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004592/0.4392, allocations: 318.1 kB / 479.9 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003784/0.443, allocations: 3.061 MB / 483 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.443, allocations: 42.25 kB / 483 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.443, allocations: 0 / 483 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.596e-05/0.4431, allocations: 19.64 kB / 483 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.445, allocations: 1.59 MB / 484.6 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.445, allocations: 0 / 484.6 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/0.4466, allocations: 0.7301 MB / 485.3 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.225e-05/0.4466, allocations: 15.34 kB / 485.4 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001516/0.4468, allocations: 87.58 kB / 485.4 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/0.4468, allocations: 15.88 kB / 485.5 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4468, allocations: 0 / 485.5 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003912/0.4507, allocations: 3.46 MB / 488.9 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.4509, allocations: 229.5 kB / 489.1 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000224/0.4511, allocations: 85.28 kB / 489.2 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.4523, allocations: 214.7 kB / 489.4 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003837/0.4527, allocations: 350.8 kB / 489.8 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002013/0.4529, allocations: 180 kB / 490 MB, free: 11.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002729/0.4532, allocations: 425.1 kB / 490.4 MB, free: 11.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.4532, allocations: 0 / 490.4 MB, free: 11.57 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001765/0.4549, allocations: 1.116 MB / 491.5 MB, free: 11.34 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.0007124/0.4556, allocations: 453 kB / 491.9 MB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002622/0.4583, allocations: 2.207 MB / 494.1 MB, free: 9.445 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.4583, allocations: 6.094 kB / 494.1 MB, free: 9.438 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001365/0.4596, allocations: 1.305 MB / 495.5 MB, free: 8.512 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.4621, allocations: 1.11 MB / 496.6 MB, free: 7.711 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006433/0.4685, allocations: 5.04 MB / 0.4898 GB, free: 2.734 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.4689, allocations: 0.6239 MB / 0.4905 GB, free: 2.078 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002456/0.4714, allocations: 1.371 MB / 0.4918 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007247/0.4721, allocations: 284.4 kB / 0.4921 GB, free: 432 kB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.4721, allocations: 0 / 0.4921 GB, free: 432 kB / 394.7 MB Notification: Performance of Templates: time 0.05363/0.5257, allocations: 58.66 MB / 0.5494 GB, free: 6.555 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: 4.6699567849282175]