Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001391/0.001391, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001474/0.001474, allocations: 190.9 kB / 19.28 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.255/1.255, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 43.94 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07382/0.07504, allocations: 46.63 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2801/0.3552, allocations: 153.1 MB / 481.8 MB, free: 13.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.3567, allocations: 0.9554 MB / 482.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.524e-05/0.3568, allocations: 4 kB / 482.8 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003434/0.3572, allocations: 77.5 kB / 482.9 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005696/0.3578, allocations: 288.9 kB / 483.1 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003067/0.3609, allocations: 1.298 MB / 484.4 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004716/0.3656, allocations: 5.601 MB / 490 MB, free: 5.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003008/0.3659, allocations: 268.1 kB / 490.3 MB, free: 4.871 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002856/0.3688, allocations: 2.167 MB / 492.5 MB, free: 2.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002707/0.3715, allocations: 1.967 MB / 494.4 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004718/0.372, allocations: 240 kB / 494.7 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003503/0.3755, allocations: 1.931 MB / 496.6 MB, free: 14.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001281/0.3768, allocations: 1.232 MB / 497.8 MB, free: 13.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002026/0.3788, allocations: 1.557 MB / 499.4 MB, free: 11.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004725/0.3836, allocations: 4.632 MB / 0.4922 GB, free: 7.117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3836, allocations: 0 / 0.4922 GB, free: 7.117 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3836, allocations: 0 / 0.4922 GB, free: 7.117 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.945e-05/0.3836, allocations: 0 / 0.4922 GB, free: 7.117 MB / 398.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.008431/0.3921, allocations: 3.515 MB / 0.4956 GB, free: 3.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3921, allocations: 8.031 kB / 0.4957 GB, free: 3.535 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/0.3939, allocations: 322.2 kB / 0.496 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003129/0.397, allocations: 1.343 MB / 0.4973 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000125/0.3972, allocations: 184.9 kB / 0.4974 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003874/0.3976, allocations: 240 kB / 0.4977 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005697/0.4033, allocations: 3.823 MB / 0.5014 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/0.4033, allocations: 0 / 0.5014 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003171/0.4036, allocations: 112 kB / 0.5015 GB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.83e-05/0.4037, allocations: 60 kB / 0.5016 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008224/0.4119, allocations: 5.986 MB / 0.5074 GB, free: 7.371 MB / 414.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.01786/0.4298, allocations: 11.22 MB / 0.5184 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006397/0.4362, allocations: 5.038 MB / 0.5233 GB, free: 6.242 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003088/0.4393, allocations: 2.408 MB / 0.5256 GB, free: 3.828 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005211/0.4399, allocations: 439.3 kB / 0.5261 GB, free: 3.324 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.194e-05/0.4399, allocations: 94.62 kB / 0.5262 GB, free: 3.223 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 5.18e-06/0.4399, allocations: 0 / 0.5262 GB, free: 3.223 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.009051/0.449, allocations: 5.808 MB / 0.5318 GB, free: 13.39 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.4491, allocations: 94.47 kB / 0.5319 GB, free: 13.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009828/0.4501, allocations: 0.8789 MB / 0.5328 GB, free: 12.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002843/0.4504, allocations: 101.7 kB / 0.5329 GB, free: 12.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.4507, allocations: 0.5266 MB / 0.5334 GB, free: 11.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009144/0.4516, allocations: 1.301 MB / 0.5347 GB, free: 10.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00087/0.4525, allocations: 0.6254 MB / 0.5353 GB, free: 9.805 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4526, allocations: 357.9 kB / 0.5356 GB, free: 9.449 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002548/0.4552, allocations: 1.748 MB / 0.5373 GB, free: 7.699 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00291/0.4581, allocations: 2.254 MB / 0.5395 GB, free: 5.293 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005892/0.464, allocations: 4.333 MB / 0.5437 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.464, allocations: 4 kB / 0.5438 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.1362/0.6002, allocations: 4.579 MB / 0.5482 GB, free: 176.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.6003, allocations: 11.33 kB / 0.5482 GB, free: 176.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.6003, allocations: 11 kB / 0.5482 GB, free: 176.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.404e-05/0.6004, allocations: 27.16 kB / 0.5483 GB, free: 176.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003807/0.6042, allocations: 0.7906 MB / 0.549 GB, free: 176.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.626e-05/0.6043, allocations: 41.14 kB / 0.5491 GB, free: 176.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/0.6067, allocations: 360.8 kB / 0.5494 GB, free: 176.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004372/0.6072, allocations: 148.7 kB / 0.5496 GB, free: 176.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.001518/0.6087, allocations: 0.7581 MB / 0.5503 GB, free: 176.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006634/0.6094, allocations: 206.2 kB / 0.5505 GB, free: 176.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008836/0.6182, allocations: 5.162 MB / 0.5555 GB, free: 174.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.98e-05/0.6183, allocations: 41.94 kB / 0.5556 GB, free: 174.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.6183, allocations: 8.781 kB / 0.5556 GB, free: 174.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.293e-05/0.6183, allocations: 18.05 kB / 0.5556 GB, free: 174.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003605/0.6219, allocations: 2.817 MB / 0.5584 GB, free: 173.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.622, allocations: 3.938 kB / 0.5584 GB, free: 173.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003138/0.6251, allocations: 0.7316 MB / 0.5591 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.726e-05/0.6251, allocations: 15.27 kB / 0.5591 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001998/0.6253, allocations: 94.06 kB / 0.5592 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.554e-05/0.6254, allocations: 20.53 kB / 0.5592 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6254, allocations: 0 / 0.5592 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008235/0.6336, allocations: 7.215 MB / 0.5663 GB, free: 168.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003437/0.634, allocations: 325.8 kB / 0.5666 GB, free: 168.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003218/0.6343, allocations: 79.84 kB / 0.5666 GB, free: 168.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002628/0.6369, allocations: 227.4 kB / 0.5669 GB, free: 168.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004974/0.6375, allocations: 306.4 kB / 0.5671 GB, free: 168 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003297/0.6378, allocations: 183.9 kB / 0.5673 GB, free: 167.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007757/0.6386, allocations: 0.6785 MB / 0.568 GB, free: 167.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6386, allocations: 0 / 0.568 GB, free: 167.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002002/0.6406, allocations: 1.088 MB / 0.569 GB, free: 166 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.0009516/0.6416, allocations: 485.9 kB / 0.5695 GB, free: 165.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005126/0.6467, allocations: 4.301 MB / 0.5737 GB, free: 161.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.6467, allocations: 5 kB / 0.5737 GB, free: 161.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002476/0.6492, allocations: 2.263 MB / 0.5759 GB, free: 159.1 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00421/0.6534, allocations: 1.249 MB / 0.5771 GB, free: 157.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008804/0.6622, allocations: 6.644 MB / 0.5836 GB, free: 151.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008435/0.6631, allocations: 1.848 MB / 0.5854 GB, free: 149.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003701/0.6668, allocations: 1.779 MB / 0.5872 GB, free: 147.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008962/0.6677, allocations: 291.3 kB / 0.5875 GB, free: 147.3 MB / 446.1 MB Notification: Performance of SimCode: time 8.61e-07/0.6677, allocations: 0 / 0.5875 GB, free: 147.3 MB / 446.1 MB Notification: Performance of Templates: time 0.06481/0.7325, allocations: 63.76 MB / 0.6497 GB, free: 83.41 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches