Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 78.28 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 151.1 kB / 24.81 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9212/0.9212, allocations: 173.3 MB / 201.4 MB, free: 9.199 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.944e-05/3.136e-05, allocations: 2.312 kB / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2337/0.2337, allocations: 142.1 MB / 410.5 MB, free: 11.01 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009291/0.2347, allocations: 0.7016 MB / 411.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.849e-05/0.2348, allocations: 4 kB / 411.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003912/0.2351, allocations: 74.47 kB / 411.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007014/0.2359, allocations: 304.9 kB / 411.5 MB, free: 9.957 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003015/0.2389, allocations: 1.144 MB / 412.7 MB, free: 8.809 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005004/0.2439, allocations: 5.687 MB / 418.4 MB, free: 3.102 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00032/0.2442, allocations: 100.2 kB / 418.5 MB, free: 2.977 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006501/0.2507, allocations: 3.159 MB / 421.6 MB, free: 15.81 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003888/0.2546, allocations: 2.015 MB / 423.6 MB, free: 13.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001245/0.2558, allocations: 240 kB / 423.9 MB, free: 13.56 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004462/0.2603, allocations: 1.478 MB / 425.4 MB, free: 12.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001625/0.2619, allocations: 1.282 MB / 426.6 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003069/0.265, allocations: 1.259 MB / 427.9 MB, free: 9.531 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005455/0.2704, allocations: 4.095 MB / 432 MB, free: 5.426 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2704, allocations: 7.938 kB / 432 MB, free: 5.418 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2704, allocations: 0 / 432 MB, free: 5.418 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001132/0.2706, allocations: 0 / 432 MB, free: 5.418 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.004715/0.2753, allocations: 3.308 MB / 435.3 MB, free: 2.059 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.2753, allocations: 8.922 kB / 435.3 MB, free: 2.051 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.2766, allocations: 0.6349 MB / 435.9 MB, free: 1.414 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.2778, allocations: 0.9049 MB / 436.9 MB, free: 492 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.352e-05/0.2779, allocations: 184.8 kB / 437 MB, free: 304 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003212/0.2782, allocations: 280 kB / 437.3 MB, free: 24 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1444/0.4227, allocations: 3.833 MB / 441.1 MB, free: 21.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.164e-05/0.4227, allocations: 1.906 kB / 441.1 MB, free: 21.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002674/0.423, allocations: 113.9 kB / 441.3 MB, free: 21.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.719e-05/0.423, allocations: 58.25 kB / 441.3 MB, free: 21.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/0.4257, allocations: 2.112 MB / 443.4 MB, free: 21.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008317/0.4341, allocations: 4.904 MB / 448.3 MB, free: 20.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.4361, allocations: 2.579 MB / 450.9 MB, free: 20.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000847/0.4369, allocations: 0.8856 MB / 451.8 MB, free: 20.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003141/0.4373, allocations: 170.5 kB / 452 MB, free: 20.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.583e-05/0.4373, allocations: 98.53 kB / 452.1 MB, free: 20.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=390): time 5.691e-06/0.4373, allocations: 1 kB / 452.1 MB, free: 20.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=390): time 0.00295/0.4403, allocations: 2.376 MB / 454.4 MB, free: 20.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.4403, allocations: 96.03 kB / 454.5 MB, free: 20.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004818/0.4408, allocations: 0.6237 MB / 455.1 MB, free: 20.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002378/0.441, allocations: 100.9 kB / 455.2 MB, free: 20 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002489/0.4413, allocations: 0.6211 MB / 455.9 MB, free: 19.69 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007889/0.4421, allocations: 1.445 MB / 457.3 MB, free: 18.96 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007777/0.4429, allocations: 0.6818 MB / 458 MB, free: 18.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.617e-05/0.4429, allocations: 0.5203 MB / 458.5 MB, free: 18.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008159/0.4438, allocations: 468 kB / 459 MB, free: 18.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.4449, allocations: 1.212 MB / 460.2 MB, free: 17.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/0.4472, allocations: 1.91 MB / 462.1 MB, free: 17.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.581e-05/0.4472, allocations: 3.469 kB / 462.1 MB, free: 17.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.0032/0.4504, allocations: 2.203 MB / 464.3 MB, free: 16.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/0.4504, allocations: 11.75 kB / 464.3 MB, free: 16.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.239e-05/0.4504, allocations: 12.84 kB / 464.3 MB, free: 16.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.562e-05/0.4505, allocations: 30.09 kB / 464.4 MB, free: 16.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/0.4526, allocations: 0.7374 MB / 465.1 MB, free: 16.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.42e-05/0.4527, allocations: 32.53 kB / 465.1 MB, free: 16.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.4539, allocations: 292 kB / 465.4 MB, free: 16.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002072/0.4541, allocations: 117.9 kB / 465.5 MB, free: 16.81 MB / 378.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.0007551/0.4549, allocations: 380.3 kB / 465.9 MB, free: 16.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005434/0.4554, allocations: 322.8 kB / 466.2 MB, free: 16.55 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003723/0.4592, allocations: 2.714 MB / 468.9 MB, free: 16.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/0.4592, allocations: 40.19 kB / 469 MB, free: 16.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4592, allocations: 0 / 469 MB, free: 16.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.708e-05/0.4592, allocations: 24.2 kB / 469 MB, free: 16.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.4614, allocations: 1.389 MB / 470.4 MB, free: 16.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.4614, allocations: 0 / 470.4 MB, free: 16.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002022/0.4635, allocations: 0.6776 MB / 471.1 MB, free: 16.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-05/0.4635, allocations: 14.41 kB / 471.1 MB, free: 16.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001936/0.4637, allocations: 87.69 kB / 471.2 MB, free: 16.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/0.4637, allocations: 15.95 kB / 471.2 MB, free: 16.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.4637, allocations: 3.781 kB / 471.2 MB, free: 16.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003959/0.4677, allocations: 3.018 MB / 474.2 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002498/0.4679, allocations: 226.9 kB / 474.4 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002232/0.4681, allocations: 83.8 kB / 474.5 MB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/0.4696, allocations: 172.7 kB / 474.7 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003791/0.47, allocations: 277.9 kB / 474.9 MB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002735/0.4702, allocations: 151.5 kB / 475.1 MB, free: 15.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002522/0.4705, allocations: 389.4 kB / 475.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4705, allocations: 0 / 475.5 MB, free: 15.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001959/0.4724, allocations: 1.107 MB / 476.6 MB, free: 15.22 MB / 378.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.0008943/0.4733, allocations: 461 kB / 477 MB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002736/0.4761, allocations: 1.909 MB / 478.9 MB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/0.4761, allocations: 4.938 kB / 478.9 MB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001264/0.4773, allocations: 1.169 MB / 480.1 MB, free: 14.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002918/0.4803, allocations: 1.113 MB / 481.2 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006438/0.4867, allocations: 4.974 MB / 486.2 MB, free: 10.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.4871, allocations: 0.6214 MB / 486.8 MB, free: 10.12 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001795/0.4889, allocations: 0.5755 MB / 487.4 MB, free: 9.621 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002809/0.4917, allocations: 1.47 MB / 488.9 MB, free: 8.648 MB / 378.7 MB Notification: Performance of SimCode: time 1.653e-06/0.4917, allocations: 4 kB / 488.9 MB, free: 8.645 MB / 378.7 MB Notification: Performance of Templates: time 0.07394/0.5656, allocations: 64.34 MB / 0.5402 GB, free: 9.598 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9592158971354365]