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.00174/0.00174, allocations: 86.48 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002112/0.002112, allocations: 158.9 kB / 23.95 MB, free: 4.168 MB / 14.72 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 1.475/1.475, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.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.|x",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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.|x",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.209e-05, allocations: 2.281 kB / 325 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.168/0.168, allocations: 133.6 MB / 458.6 MB, free: 15.04 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1693, allocations: 0.6671 MB / 459.2 MB, free: 14.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.668e-05/0.1694, allocations: 0 / 459.2 MB, free: 14.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003856/0.1698, allocations: 75.5 kB / 459.3 MB, free: 14.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006698/0.1705, allocations: 306.3 kB / 459.6 MB, free: 14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003393/0.1738, allocations: 1.158 MB / 460.7 MB, free: 12.84 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.005918/0.1798, allocations: 5.686 MB / 466.4 MB, free: 7.133 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003054/0.1801, allocations: 96.22 kB / 466.5 MB, free: 7.012 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005153/0.1852, allocations: 2.96 MB / 469.5 MB, free: 4.047 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003632/0.1889, allocations: 2.105 MB / 471.6 MB, free: 1.938 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007023/0.1896, allocations: 240 kB / 471.8 MB, free: 1.703 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00362/0.1932, allocations: 1.524 MB / 473.4 MB, free: 180 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1879/0.3811, allocations: 1.273 MB / 474.6 MB, free: 8.559 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003859/0.3849, allocations: 1.262 MB / 475.9 MB, free: 8.559 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008046/0.393, allocations: 4.975 MB / 480.9 MB, free: 8.391 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.393, allocations: 1.219 kB / 480.9 MB, free: 8.391 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.393, allocations: 0 / 480.9 MB, free: 8.391 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001064/0.3931, allocations: 0 / 480.9 MB, free: 8.391 MB / 430.1 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.0103/0.4034, allocations: 3.456 MB / 484.3 MB, free: 7.375 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.4034, allocations: 9.094 kB / 484.3 MB, free: 7.375 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/0.4056, allocations: 337.7 kB / 484.7 MB, free: 7.254 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002986/0.4086, allocations: 1.333 MB / 486 MB, free: 6.984 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.4087, allocations: 184.2 kB / 486.2 MB, free: 6.977 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000426/0.4091, allocations: 246.1 kB / 486.4 MB, free: 6.969 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006841/0.416, allocations: 5.937 MB / 492.3 MB, free: 4.207 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.155e-05/0.416, allocations: 7.953 kB / 492.4 MB, free: 4.207 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004295/0.4164, allocations: 115.5 kB / 492.5 MB, free: 4.207 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-05/0.4165, allocations: 62.42 kB / 492.5 MB, free: 4.207 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008364/0.4248, allocations: 5.871 MB / 498.4 MB, free: 4.176 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01799/0.4428, allocations: 7.297 MB / 0.4938 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005918/0.4488, allocations: 4.778 MB / 0.4985 GB, free: 3.383 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002858/0.4516, allocations: 2.242 MB / 0.5007 GB, free: 3.352 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004256/0.452, allocations: 110.2 kB / 0.5008 GB, free: 3.348 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.458e-05/0.4521, allocations: 94.81 kB / 0.5009 GB, free: 3.305 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 6.602e-06/0.4521, allocations: 0.7812 kB / 0.5009 GB, free: 3.305 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.00864/0.4608, allocations: 5.803 MB / 0.5066 GB, free: 3.078 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/0.4608, allocations: 96.94 kB / 0.5067 GB, free: 3.012 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007113/0.4616, allocations: 0.6333 MB / 0.5073 GB, free: 2.867 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004324/0.462, allocations: 104 kB / 0.5074 GB, free: 2.836 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.4622, allocations: 0.5508 MB / 0.5079 GB, free: 2.496 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008102/0.463, allocations: 1.35 MB / 0.5092 GB, free: 1.594 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009181/0.4639, allocations: 0.6277 MB / 0.5098 GB, free: 1.562 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.903e-05/0.464, allocations: 338 kB / 0.5102 GB, free: 1.258 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002605/0.4666, allocations: 1.742 MB / 0.5119 GB, free: 1.156 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002656/0.4693, allocations: 2.26 MB / 0.5141 GB, free: 300 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006778/0.4761, allocations: 4.415 MB / 0.5184 GB, free: 15.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.456e-05/0.4761, allocations: 3.844 kB / 0.5184 GB, free: 15.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007734/0.4838, allocations: 4.572 MB / 0.5229 GB, free: 12.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.4838, allocations: 9.094 kB / 0.5229 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.633e-05/0.4839, allocations: 12 kB / 0.5229 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.83e-05/0.4839, allocations: 30.02 kB / 0.5229 GB, free: 12.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003972/0.4879, allocations: 0.7925 MB / 0.5237 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.131e-05/0.4879, allocations: 31.55 kB / 0.5237 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002692/0.4906, allocations: 346.9 kB / 0.524 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004054/0.491, allocations: 144.9 kB / 0.5242 GB, free: 11.22 MB / 446.1 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.001871/0.4929, allocations: 0.7614 MB / 0.5249 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000944/0.4938, allocations: 198.9 kB / 0.5251 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/0.5042, allocations: 5.159 MB / 0.5301 GB, free: 5.125 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.865e-05/0.5042, allocations: 44 kB / 0.5302 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.174e-05/0.5042, allocations: 0 / 0.5302 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.326e-05/0.5043, allocations: 20.95 kB / 0.5302 GB, free: 5.062 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005022/0.5093, allocations: 2.207 MB / 0.5324 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.5093, allocations: 0 / 0.5324 GB, free: 2.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003854/0.5132, allocations: 0.7288 MB / 0.5331 GB, free: 2.246 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.325e-05/0.5132, allocations: 16 kB / 0.5331 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002902/0.5135, allocations: 91.95 kB / 0.5332 GB, free: 2.141 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.902e-05/0.5135, allocations: 13.12 kB / 0.5332 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.5135, allocations: 0 / 0.5332 GB, free: 2.129 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01253/0.526, allocations: 7.21 MB / 0.5402 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006848/0.5267, allocations: 229.9 kB / 0.5405 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004159/0.5271, allocations: 84.47 kB / 0.5405 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00316/0.5303, allocations: 225.8 kB / 0.5407 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007143/0.531, allocations: 330.5 kB / 0.5411 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004485/0.5315, allocations: 180.8 kB / 0.5412 GB, free: 9.863 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006965/0.5322, allocations: 0.4948 MB / 0.5417 GB, free: 9.371 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5322, allocations: 0.8438 kB / 0.5417 GB, free: 9.371 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003026/0.5352, allocations: 1.12 MB / 0.5428 GB, free: 8.25 MB / 462.1 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.001196/0.5364, allocations: 452 kB / 0.5432 GB, free: 7.863 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007268/0.5437, allocations: 4.126 MB / 0.5473 GB, free: 3.801 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/0.5437, allocations: 5 kB / 0.5473 GB, free: 3.793 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003416/0.5471, allocations: 2.111 MB / 0.5493 GB, free: 1.766 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005271/0.5524, allocations: 1.042 MB / 0.5504 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/0.565, allocations: 6.304 MB / 0.5565 GB, free: 10.56 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00133/0.5664, allocations: 1.259 MB / 0.5577 GB, free: 9.254 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005068/0.5714, allocations: 1.75 MB / 0.5595 GB, free: 7.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001166/0.5726, allocations: 280.4 kB / 0.5597 GB, free: 7.227 MB / 478.1 MB Notification: Performance of SimCode: time 1.112e-06/0.5726, allocations: 0 / 0.5597 GB, free: 7.227 MB / 478.1 MB Notification: Performance of Templates: time 0.09687/0.6695, allocations: 58.62 MB / 0.617 GB, free: 13.38 MB / 0.5294 GB " [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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.9873743541538715]