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.001681/0.001681, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.00202/0.00202, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.424/1.424, allocations: 177.2 MB / 204.9 MB, free: 9.07 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 0.001613/0.001613, allocations: 55.55 kB / 325.6 MB, free: 292 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09126/0.09287, allocations: 53.34 MB / 378.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.349/0.4419, allocations: 133.5 MB / 0.5004 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000982/0.4428, allocations: 0.6562 MB / 0.501 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.966e-05/0.4429, allocations: 2.562 kB / 0.501 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.4433, allocations: 77.41 kB / 0.5011 GB, free: 15.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005278/0.4438, allocations: 296.7 kB / 0.5014 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.4462, allocations: 1.148 MB / 0.5025 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003929/0.4502, allocations: 5.652 MB / 0.508 GB, free: 14.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.4504, allocations: 89.34 kB / 0.5081 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002706/0.4531, allocations: 2.311 MB / 0.5104 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003491/0.4565, allocations: 2.211 MB / 0.5125 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005969/0.4571, allocations: 237.9 kB / 0.5128 GB, free: 13.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003113/0.4603, allocations: 1.518 MB / 0.5142 GB, free: 12.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001368/0.4616, allocations: 1.241 MB / 0.5155 GB, free: 11.78 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002083/0.4637, allocations: 1.403 MB / 0.5168 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005106/0.4688, allocations: 4.545 MB / 0.5213 GB, free: 8.566 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.4688, allocations: 4 kB / 0.5213 GB, free: 8.562 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4688, allocations: 0 / 0.5213 GB, free: 8.562 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.226e-05/0.4689, allocations: 2.5 kB / 0.5213 GB, free: 8.562 MB / 446.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.009365/0.4783, allocations: 3.483 MB / 0.5247 GB, free: 6.488 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.4783, allocations: 7.844 kB / 0.5247 GB, free: 6.488 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001897/0.4802, allocations: 333.5 kB / 0.525 GB, free: 6.348 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00281/0.483, allocations: 1.337 MB / 0.5263 GB, free: 5.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.4832, allocations: 183.6 kB / 0.5265 GB, free: 5.574 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004034/0.4836, allocations: 241.6 kB / 0.5267 GB, free: 5.492 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007346/0.4909, allocations: 5.937 MB / 0.5325 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.704e-05/0.491, allocations: 3.938 kB / 0.5325 GB, free: 0.7695 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003669/0.4913, allocations: 116.1 kB / 0.5326 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.282e-05/0.4914, allocations: 58.56 kB / 0.5327 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00912/0.5005, allocations: 5.879 MB / 0.5384 GB, free: 11.63 MB / 462.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.01846/0.5189, allocations: 7.302 MB / 0.5455 GB, free: 4.395 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0076/0.5265, allocations: 4.786 MB / 0.5502 GB, free: 15.62 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003899/0.5304, allocations: 2.244 MB / 0.5524 GB, free: 13.37 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004639/0.5309, allocations: 107 kB / 0.5525 GB, free: 13.26 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/0.531, allocations: 98.61 kB / 0.5526 GB, free: 13.16 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 8.035e-06/0.531, allocations: 4 kB / 0.5526 GB, free: 13.15 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.01088/0.5419, allocations: 5.801 MB / 0.5583 GB, free: 7.328 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.597e-05/0.542, allocations: 90.47 kB / 0.5584 GB, free: 7.227 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009285/0.5429, allocations: 0.6407 MB / 0.559 GB, free: 6.574 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004297/0.5433, allocations: 101.7 kB / 0.5591 GB, free: 6.469 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/0.5438, allocations: 0.5471 MB / 0.5596 GB, free: 5.918 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001335/0.5451, allocations: 1.375 MB / 0.561 GB, free: 4.562 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001082/0.5462, allocations: 0.6216 MB / 0.5616 GB, free: 3.934 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.5464, allocations: 345.9 kB / 0.5619 GB, free: 3.59 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003094/0.5495, allocations: 1.737 MB / 0.5636 GB, free: 1.852 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003723/0.5532, allocations: 2.266 MB / 0.5658 GB, free: 15.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00821/0.5614, allocations: 4.329 MB / 0.57 GB, free: 10.93 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.716e-05/0.5614, allocations: 0 / 0.57 GB, free: 10.93 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.009178/0.5706, allocations: 4.58 MB / 0.5745 GB, free: 6.324 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.5706, allocations: 8 kB / 0.5745 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/0.5707, allocations: 16.09 kB / 0.5745 GB, free: 6.301 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.369e-05/0.5707, allocations: 28 kB / 0.5746 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003842/0.5745, allocations: 0.7861 MB / 0.5753 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.278e-05/0.5746, allocations: 39.86 kB / 0.5754 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002461/0.5771, allocations: 341.8 kB / 0.5757 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004006/0.5775, allocations: 147.9 kB / 0.5758 GB, free: 4.969 MB / 494.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.001583/0.5791, allocations: 0.7582 MB / 0.5766 GB, free: 4.199 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007487/0.5798, allocations: 198.9 kB / 0.5768 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009552/0.5894, allocations: 5.149 MB / 0.5818 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.809e-05/0.5894, allocations: 48 kB / 0.5818 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.649e-05/0.5894, allocations: 3.938 kB / 0.5818 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.226e-05/0.5895, allocations: 19.92 kB / 0.5819 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004279/0.5937, allocations: 2.213 MB / 0.584 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.5937, allocations: 0 / 0.584 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003631/0.5974, allocations: 0.7255 MB / 0.5847 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.83e-05/0.5974, allocations: 16 kB / 0.5847 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002723/0.5977, allocations: 91.97 kB / 0.5848 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.28e-05/0.5977, allocations: 12 kB / 0.5848 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5977, allocations: 0 / 0.5848 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/0.6096, allocations: 7.211 MB / 0.5919 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004796/0.6101, allocations: 229.9 kB / 0.5921 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003527/0.6105, allocations: 84.75 kB / 0.5922 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002962/0.6134, allocations: 223.7 kB / 0.5924 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006679/0.6141, allocations: 334.7 kB / 0.5927 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004801/0.6146, allocations: 179.8 kB / 0.5929 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007192/0.6153, allocations: 0.5026 MB / 0.5934 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6153, allocations: 0 / 0.5934 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002751/0.6181, allocations: 1.112 MB / 0.5945 GB, free: 1.863 MB / 0.4981 GB 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.00118/0.6192, allocations: 444.1 kB / 0.5949 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007658/0.6269, allocations: 4.117 MB / 0.5989 GB, free: 13.31 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/0.6269, allocations: 9 kB / 0.5989 GB, free: 13.3 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.004005/0.6309, allocations: 2.107 MB / 0.601 GB, free: 11.2 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005623/0.6365, allocations: 1.036 MB / 0.602 GB, free: 10.17 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01356/0.6501, allocations: 6.651 MB / 0.6085 GB, free: 3.48 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001704/0.6518, allocations: 1.267 MB / 0.6097 GB, free: 2.168 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.0058/0.6576, allocations: 1.75 MB / 0.6114 GB, free: 424 kB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/0.6589, allocations: 280.4 kB / 0.6117 GB, free: 144 kB / 0.5138 GB Notification: Performance of SimCode: time 8.51e-07/0.6589, allocations: 4 kB / 0.6117 GB, free: 140 kB / 0.5138 GB Notification: Performance of Templates: time 0.09296/0.7519, allocations: 59.13 MB / 0.6694 GB, free: 5.754 MB / 0.5763 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/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.689158443943597]