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.001306/0.001306, allocations: 86.06 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001462/0.001462, allocations: 165.4 kB / 23.96 MB, free: 4.164 MB / 14.72 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 1.427/1.427, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.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_4.1.0_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_4.1.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0.7031 kB / 325 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.359e-05, allocations: 6.219 kB / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.1727/0.1727, allocations: 133.6 MB / 458.6 MB, free: 15.13 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001414/0.1741, allocations: 0.6555 MB / 459.3 MB, free: 14.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.1743, allocations: 11.88 kB / 459.3 MB, free: 14.46 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004143/0.1747, allocations: 83.44 kB / 459.4 MB, free: 14.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007739/0.1755, allocations: 302.4 kB / 459.7 MB, free: 14.08 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003544/0.179, allocations: 1.146 MB / 460.8 MB, free: 12.94 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006111/0.1851, allocations: 5.69 MB / 466.5 MB, free: 7.227 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00035/0.1855, allocations: 104.2 kB / 466.6 MB, free: 7.098 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006199/0.1917, allocations: 2.96 MB / 469.6 MB, free: 4.133 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004137/0.1958, allocations: 2.101 MB / 471.7 MB, free: 2.027 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001105/0.1969, allocations: 236 kB / 471.9 MB, free: 1.797 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004257/0.2012, allocations: 1.532 MB / 473.4 MB, free: 268 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1841/0.3853, allocations: 1.269 MB / 474.7 MB, free: 9.027 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002878/0.3882, allocations: 1.263 MB / 475.9 MB, free: 9.027 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006792/0.3949, allocations: 4.973 MB / 480.9 MB, free: 8.859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3949, allocations: 0.8438 kB / 480.9 MB, free: 8.859 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.3949, allocations: 0 / 480.9 MB, free: 8.859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001069/0.3951, allocations: 0 / 480.9 MB, free: 8.859 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.0109/0.406, allocations: 3.457 MB / 484.4 MB, free: 7.844 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.406, allocations: 11.16 kB / 484.4 MB, free: 7.844 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002486/0.4085, allocations: 338.8 kB / 484.7 MB, free: 7.723 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004198/0.4127, allocations: 1.329 MB / 486.1 MB, free: 7.453 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.4128, allocations: 175.9 kB / 486.2 MB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006185/0.4134, allocations: 252.7 kB / 486.5 MB, free: 7.438 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008202/0.4216, allocations: 5.942 MB / 492.4 MB, free: 4.676 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.241e-05/0.4217, allocations: 1.094 kB / 492.4 MB, free: 4.676 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006064/0.4223, allocations: 112.8 kB / 492.5 MB, free: 4.676 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-05/0.4223, allocations: 57.91 kB / 492.6 MB, free: 4.676 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008206/0.4305, allocations: 5.874 MB / 498.5 MB, free: 4.645 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.4485, allocations: 7.302 MB / 0.4939 GB, free: 4.035 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006085/0.4546, allocations: 4.775 MB / 0.4986 GB, free: 3.859 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002969/0.4576, allocations: 2.244 MB / 0.5008 GB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003855/0.458, allocations: 105.9 kB / 0.5009 GB, free: 3.816 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.973e-05/0.458, allocations: 98.69 kB / 0.501 GB, free: 3.773 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 6.392e-06/0.458, allocations: 0.7812 kB / 0.501 GB, free: 3.773 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.008383/0.4664, allocations: 5.801 MB / 0.5066 GB, free: 3.547 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.4665, allocations: 91.78 kB / 0.5067 GB, free: 3.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006585/0.4671, allocations: 0.6376 MB / 0.5073 GB, free: 3.336 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003949/0.4675, allocations: 103.7 kB / 0.5074 GB, free: 3.305 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002045/0.4677, allocations: 0.5506 MB / 0.508 GB, free: 2.965 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007204/0.4685, allocations: 1.351 MB / 0.5093 GB, free: 2.062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008646/0.4693, allocations: 0.6254 MB / 0.5099 GB, free: 2.031 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.579e-05/0.4694, allocations: 340.1 kB / 0.5102 GB, free: 1.727 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002499/0.4719, allocations: 1.741 MB / 0.5119 GB, free: 1.668 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002685/0.4746, allocations: 2.264 MB / 0.5141 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005712/0.4803, allocations: 4.346 MB / 0.5184 GB, free: 15.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.4803, allocations: 2.016 kB / 0.5184 GB, free: 15.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007741/0.488, allocations: 4.576 MB / 0.5228 GB, free: 12.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.216e-05/0.4881, allocations: 12 kB / 0.5229 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/0.4881, allocations: 8.875 kB / 0.5229 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.065e-05/0.4881, allocations: 28 kB / 0.5229 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004003/0.4921, allocations: 0.7969 MB / 0.5237 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.801e-05/0.4922, allocations: 33.88 kB / 0.5237 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002556/0.4947, allocations: 338 kB / 0.524 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003473/0.4951, allocations: 152.2 kB / 0.5242 GB, free: 11.52 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.001734/0.4968, allocations: 0.7667 MB / 0.5249 GB, free: 10.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006712/0.4975, allocations: 194.9 kB / 0.5251 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/0.508, allocations: 5.161 MB / 0.5301 GB, free: 5.43 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-05/0.508, allocations: 40 kB / 0.5302 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.508, allocations: 1 kB / 0.5302 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.41e-05/0.5081, allocations: 19.92 kB / 0.5302 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004835/0.5129, allocations: 2.209 MB / 0.5324 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/0.5129, allocations: 0 / 0.5324 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003806/0.5167, allocations: 0.7321 MB / 0.5331 GB, free: 2.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.148e-05/0.5167, allocations: 12 kB / 0.5331 GB, free: 2.539 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002519/0.517, allocations: 92.83 kB / 0.5332 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.109e-05/0.517, allocations: 16 kB / 0.5332 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.517, allocations: 0 / 0.5332 GB, free: 2.434 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01244/0.5294, allocations: 7.21 MB / 0.5402 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000568/0.53, allocations: 231 kB / 0.5405 GB, free: 10.96 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004045/0.5304, allocations: 81.02 kB / 0.5405 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003118/0.5335, allocations: 230.4 kB / 0.5407 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007317/0.5343, allocations: 319.7 kB / 0.5411 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004407/0.5347, allocations: 183.9 kB / 0.5412 GB, free: 10.17 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007184/0.5354, allocations: 0.4987 MB / 0.5417 GB, free: 9.676 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5354, allocations: 1.094 kB / 0.5417 GB, free: 9.676 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00293/0.5384, allocations: 1.112 MB / 0.5428 GB, free: 8.562 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.001159/0.5395, allocations: 459.6 kB / 0.5432 GB, free: 8.168 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007773/0.5473, allocations: 4.121 MB / 0.5473 GB, free: 4.109 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/0.5473, allocations: 5 kB / 0.5473 GB, free: 4.102 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003693/0.551, allocations: 2.105 MB / 0.5493 GB, free: 2.078 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005566/0.5566, allocations: 1.043 MB / 0.5503 GB, free: 1.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/0.5698, allocations: 6.301 MB / 0.5565 GB, free: 10.87 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001429/0.5713, allocations: 1.264 MB / 0.5577 GB, free: 9.559 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005094/0.5764, allocations: 1.75 MB / 0.5594 GB, free: 7.805 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/0.5776, allocations: 284.4 kB / 0.5597 GB, free: 7.527 MB / 478.1 MB Notification: Performance of SimCode: time 1.323e-06/0.5776, allocations: 0 / 0.5597 GB, free: 7.527 MB / 478.1 MB Notification: Performance of Templates: time 0.1388/0.7164, allocations: 58.64 MB / 0.617 GB, free: 13.8 MB / 0.5294 GB " [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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.730210095643997]