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.0009342/0.0009342, allocations: 83.69 kB / 21.18 MB, free: 3.395 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.001029/0.001029, allocations: 165 kB / 24.56 MB, free: 24 kB / 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.9075/0.9075, allocations: 177.1 MB / 205 MB, free: 5.25 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.292e-06/1.292e-06, allocations: 0 / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.586e-05/1.715e-05, allocations: 6.312 kB / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2238/0.2238, allocations: 147.7 MB / 420.7 MB, free: 13.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.2249, allocations: 0.7045 MB / 421.4 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.58e-05/0.225, allocations: 7.938 kB / 421.4 MB, free: 13.2 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003869/0.2254, allocations: 77.7 kB / 421.5 MB, free: 13.12 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005554/0.226, allocations: 296.6 kB / 421.8 MB, free: 12.84 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002668/0.2286, allocations: 1.151 MB / 422.9 MB, free: 11.69 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00414/0.2328, allocations: 5.692 MB / 428.6 MB, free: 5.977 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002082/0.233, allocations: 96.16 kB / 428.7 MB, free: 5.859 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003879/0.2369, allocations: 2.968 MB / 431.7 MB, free: 2.887 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002568/0.2394, allocations: 2.113 MB / 433.8 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005355/0.24, allocations: 243.9 kB / 434 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1397/0.3797, allocations: 1.514 MB / 435.5 MB, free: 6.578 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001469/0.3811, allocations: 1.287 MB / 436.8 MB, free: 6.578 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003162/0.3843, allocations: 1.263 MB / 438.1 MB, free: 6.578 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005352/0.3896, allocations: 4.143 MB / 442.2 MB, free: 6.375 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3896, allocations: 2.547 kB / 442.2 MB, free: 6.375 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3897, allocations: 0.7812 kB / 442.2 MB, free: 6.375 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001198/0.3898, allocations: 1.781 kB / 442.2 MB, free: 6.375 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.006049/0.3958, allocations: 3.651 MB / 445.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3959, allocations: 12.16 kB / 445.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001334/0.3972, allocations: 0.6394 MB / 446.5 MB, free: 5.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001597/0.3988, allocations: 1.159 MB / 447.7 MB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-05/0.3989, allocations: 178.4 kB / 447.9 MB, free: 4.742 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003518/0.3992, allocations: 290.5 kB / 448.2 MB, free: 4.734 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002939/0.4022, allocations: 4.087 MB / 452.2 MB, free: 17.96 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.4022, allocations: 0.6562 kB / 452.2 MB, free: 17.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002505/0.4024, allocations: 110.3 kB / 452.3 MB, free: 17.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.896e-05/0.4025, allocations: 64.48 kB / 452.4 MB, free: 17.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003048/0.4055, allocations: 2.698 MB / 455.1 MB, free: 17.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007907/0.4134, allocations: 5.483 MB / 460.6 MB, free: 17.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002481/0.4159, allocations: 2.808 MB / 463.4 MB, free: 17.03 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.4171, allocations: 1.038 MB / 464.4 MB, free: 16.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003036/0.4174, allocations: 139.4 kB / 464.6 MB, free: 16.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.341e-05/0.4174, allocations: 97.56 kB / 464.7 MB, free: 16.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=390): time 5.651e-06/0.4174, allocations: 3.969 kB / 464.7 MB, free: 16.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=390): time 0.003728/0.4211, allocations: 2.771 MB / 467.4 MB, free: 16.71 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.4212, allocations: 91.47 kB / 467.5 MB, free: 16.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004009/0.4216, allocations: 0.6408 MB / 468.2 MB, free: 16.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000198/0.4218, allocations: 98.02 kB / 468.3 MB, free: 16.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002036/0.422, allocations: 0.6169 MB / 468.9 MB, free: 16.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005372/0.4225, allocations: 1.425 MB / 470.3 MB, free: 15.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006303/0.4232, allocations: 0.674 MB / 471 MB, free: 15.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4233, allocations: 0.5141 MB / 471.5 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009089/0.4242, allocations: 0.6098 MB / 472.1 MB, free: 14.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/0.4256, allocations: 1.349 MB / 473.5 MB, free: 13.96 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002464/0.4281, allocations: 2.183 MB / 475.6 MB, free: 13.28 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.4281, allocations: 3.438 kB / 475.6 MB, free: 13.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.003319/0.4314, allocations: 2.508 MB / 478.2 MB, free: 13.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.4315, allocations: 8.094 kB / 478.2 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.4315, allocations: 12.06 kB / 478.2 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.01e-05/0.4315, allocations: 26.56 kB / 478.2 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.4334, allocations: 0.7861 MB / 479 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.109e-05/0.4334, allocations: 39.97 kB / 479 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.4346, allocations: 347.4 kB / 479.4 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/0.4348, allocations: 144.6 kB / 479.5 MB, free: 12.91 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.0006799/0.4355, allocations: 377.5 kB / 479.9 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000469/0.436, allocations: 311.6 kB / 480.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003787/0.4398, allocations: 3.066 MB / 483.2 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.4398, allocations: 40.72 kB / 483.3 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.4398, allocations: 0.9688 kB / 483.3 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.156e-05/0.4398, allocations: 22.8 kB / 483.3 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.4418, allocations: 1.588 MB / 484.9 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.4418, allocations: 0.9062 kB / 484.9 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001661/0.4434, allocations: 0.7258 MB / 485.6 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.4434, allocations: 12.97 kB / 485.6 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001631/0.4436, allocations: 89.47 kB / 485.7 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.679e-06/0.4436, allocations: 19.55 kB / 485.7 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4436, allocations: 2.719 kB / 485.7 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004046/0.4477, allocations: 3.453 MB / 489.2 MB, free: 11.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.4479, allocations: 234.3 kB / 489.4 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/0.4481, allocations: 83.53 kB / 489.5 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.4493, allocations: 219.8 kB / 489.7 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003477/0.4496, allocations: 350.7 kB / 490.1 MB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002114/0.4498, allocations: 175.8 kB / 490.2 MB, free: 11.5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002865/0.4501, allocations: 429.2 kB / 490.7 MB, free: 11.37 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4501, allocations: 0 / 490.7 MB, free: 11.37 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001766/0.4519, allocations: 1.117 MB / 491.8 MB, free: 11.21 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.0007283/0.4526, allocations: 450.7 kB / 492.2 MB, free: 10.92 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002651/0.4553, allocations: 2.21 MB / 494.4 MB, free: 9.316 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.4553, allocations: 5.625 kB / 494.4 MB, free: 9.309 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00138/0.4566, allocations: 1.302 MB / 495.7 MB, free: 8.301 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002432/0.4591, allocations: 1.111 MB / 496.8 MB, free: 7.383 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006208/0.4653, allocations: 5.033 MB / 0.4901 GB, free: 2.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.4657, allocations: 0.6201 MB / 0.4907 GB, free: 1.758 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00233/0.468, allocations: 1.367 MB / 0.492 GB, free: 396 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007252/0.4687, allocations: 284.4 kB / 0.4923 GB, free: 108 kB / 394.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4687, allocations: 0 / 0.4923 GB, free: 108 kB / 394.7 MB Notification: Performance of Templates: time 0.05249/0.5212, allocations: 58.71 MB / 0.5497 GB, free: 6.324 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.86589918890968]