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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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=2000,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.0.0_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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.0.0_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 111.9 kB / 17.29 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 193.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 241.9 MB, free: 13.68 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.00115, allocations: 43.16 kB / 300.8 MB, free: 5.965 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09091/0.09208, allocations: 49.46 MB / 350.2 MB, free: 4.508 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3234/0.4155, allocations: 149.7 MB / 500 MB, free: 15.22 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.4169, allocations: 0.703 MB / 0.4889 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001983/0.4172, allocations: 0 / 0.4889 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004447/0.4176, allocations: 70.25 kB / 0.489 GB, free: 14.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000736/0.4184, allocations: 282.9 kB / 0.4893 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003054/0.4215, allocations: 1.012 MB / 0.4903 GB, free: 13.17 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004735/0.4262, allocations: 5.62 MB / 0.4958 GB, free: 7.535 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004086/0.4267, allocations: 256 kB / 0.496 GB, free: 7.258 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00384/0.4305, allocations: 2.252 MB / 0.4982 GB, free: 5 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003519/0.4341, allocations: 2.076 MB / 0.5002 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001373/0.4355, allocations: 243.9 kB / 0.5005 GB, free: 2.68 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004482/0.44, allocations: 1.743 MB / 0.5022 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002143/0.4421, allocations: 1.216 MB / 0.5033 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003012/0.4452, allocations: 1.568 MB / 0.5049 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003995/0.4492, allocations: 3.321 MB / 0.5081 GB, free: 10.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.4492, allocations: 0 / 0.5081 GB, free: 10.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.4492, allocations: 4 kB / 0.5081 GB, free: 10.81 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.632e-05/0.4493, allocations: 4 kB / 0.5081 GB, free: 10.81 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.009313/0.4586, allocations: 3.484 MB / 0.5115 GB, free: 7.266 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.4587, allocations: 8.031 kB / 0.5115 GB, free: 7.258 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/0.4606, allocations: 326.5 kB / 0.5118 GB, free: 6.938 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002438/0.463, allocations: 1.331 MB / 0.5131 GB, free: 5.559 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001291/0.4632, allocations: 180.9 kB / 0.5133 GB, free: 5.379 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003888/0.4636, allocations: 243.9 kB / 0.5136 GB, free: 5.141 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006818/0.4704, allocations: 3.828 MB / 0.5173 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.727e-05/0.4705, allocations: 0 / 0.5173 GB, free: 1.266 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000429/0.4709, allocations: 115.9 kB / 0.5174 GB, free: 1.152 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.382e-05/0.471, allocations: 60 kB / 0.5175 GB, free: 1.094 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009014/0.48, allocations: 5.986 MB / 0.5233 GB, free: 11.09 MB / 446.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.1905/0.6705, allocations: 11.16 MB / 0.5342 GB, free: 161.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01032/0.6809, allocations: 5.04 MB / 0.5391 GB, free: 160.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004634/0.6856, allocations: 2.404 MB / 0.5415 GB, free: 159.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007191/0.6863, allocations: 439.7 kB / 0.5419 GB, free: 159.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.6864, allocations: 94.83 kB / 0.542 GB, free: 159.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=390): time 8.766e-06/0.6865, allocations: 0 / 0.542 GB, free: 159.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=390): time 0.01117/0.6976, allocations: 5.815 MB / 0.5477 GB, free: 157.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.6977, allocations: 96.22 kB / 0.5478 GB, free: 157.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.6988, allocations: 0.8694 MB / 0.5486 GB, free: 157.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004341/0.6992, allocations: 103.6 kB / 0.5487 GB, free: 157.2 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002342/0.6994, allocations: 0.5181 MB / 0.5492 GB, free: 156.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007791/0.7002, allocations: 1.308 MB / 0.5505 GB, free: 155.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008241/0.7011, allocations: 0.6229 MB / 0.5511 GB, free: 155.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.7012, allocations: 358 kB / 0.5514 GB, free: 155.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002308/0.7035, allocations: 1.749 MB / 0.5531 GB, free: 154.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00243/0.7059, allocations: 2.261 MB / 0.5554 GB, free: 153.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004844/0.7108, allocations: 4.331 MB / 0.5596 GB, free: 151.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.7108, allocations: 3.75 kB / 0.5596 GB, free: 151.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005847/0.7167, allocations: 4.589 MB / 0.5641 GB, free: 146.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.939e-05/0.7167, allocations: 8 kB / 0.5641 GB, free: 146.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.7168, allocations: 12 kB / 0.5641 GB, free: 146.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.555e-05/0.7168, allocations: 31.75 kB / 0.5641 GB, free: 146.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003414/0.7202, allocations: 0.7916 MB / 0.5649 GB, free: 146.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-05/0.7203, allocations: 31.92 kB / 0.5649 GB, free: 146.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002439/0.7227, allocations: 423.2 kB / 0.5653 GB, free: 145.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002953/0.723, allocations: 143.9 kB / 0.5655 GB, free: 145.5 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.00135/0.7244, allocations: 0.7582 MB / 0.5662 GB, free: 144.7 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007083/0.7251, allocations: 209.8 kB / 0.5664 GB, free: 144.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007544/0.7327, allocations: 5.175 MB / 0.5715 GB, free: 139.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.7327, allocations: 40 kB / 0.5715 GB, free: 139.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.7327, allocations: 0 / 0.5715 GB, free: 139.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.161e-05/0.7328, allocations: 21.45 kB / 0.5715 GB, free: 139.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004403/0.7372, allocations: 2.825 MB / 0.5743 GB, free: 136.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/0.7372, allocations: 0 / 0.5743 GB, free: 136.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00333/0.7406, allocations: 0.7294 MB / 0.575 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.269e-05/0.7406, allocations: 19.94 kB / 0.575 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000338/0.741, allocations: 95.89 kB / 0.5751 GB, free: 135.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-05/0.741, allocations: 12 kB / 0.5751 GB, free: 135.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.741, allocations: 0 / 0.5751 GB, free: 135.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008945/0.75, allocations: 7.222 MB / 0.5822 GB, free: 128.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005523/0.7506, allocations: 313.9 kB / 0.5825 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000488/0.7511, allocations: 87.77 kB / 0.5825 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00322/0.7543, allocations: 308.4 kB / 0.5828 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005974/0.7549, allocations: 310.9 kB / 0.5831 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005094/0.7554, allocations: 180.7 kB / 0.5833 GB, free: 127.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007615/0.7562, allocations: 0.6785 MB / 0.584 GB, free: 126.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7562, allocations: 0 / 0.584 GB, free: 126.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002565/0.7588, allocations: 1.081 MB / 0.585 GB, free: 125.5 MB / 446.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.001356/0.7601, allocations: 436 kB / 0.5854 GB, free: 125.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02408/0.7842, allocations: 15.28 MB / 0.6004 GB, free: 109.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/0.7843, allocations: 9 kB / 0.6004 GB, free: 109.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003586/0.7879, allocations: 2.267 MB / 0.6026 GB, free: 107.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006429/0.7943, allocations: 1.251 MB / 0.6038 GB, free: 106.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/0.8068, allocations: 7.756 MB / 0.6114 GB, free: 98.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.8081, allocations: 1.845 MB / 0.6132 GB, free: 96.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001846/0.8099, allocations: 331.3 kB / 0.6135 GB, free: 96.32 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.8099, allocations: 0 / 0.6135 GB, free: 96.32 MB / 446.1 MB Notification: Performance of Templates: time 0.05579/0.8657, allocations: 46.57 MB / 0.659 GB, free: 49.86 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches