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.001181/0.001181, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001104/0.001104, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.365/1.365, allocations: 205.1 MB / 225 MB, free: 12.3 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.001179/0.001179, allocations: 51.92 kB / 281.3 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08293/0.08412, allocations: 46.63 MB / 327.9 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3207/0.4048, allocations: 153.1 MB / 481.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.4063, allocations: 0.9427 MB / 482 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.577e-05/0.4064, allocations: 4 kB / 482 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003568/0.4068, allocations: 79.48 kB / 482.1 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000563/0.4074, allocations: 289.9 kB / 482.4 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003442/0.4109, allocations: 1.315 MB / 483.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004494/0.4154, allocations: 5.605 MB / 489.3 MB, free: 5.648 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003421/0.4157, allocations: 256 kB / 489.5 MB, free: 5.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003476/0.4192, allocations: 2.156 MB / 491.7 MB, free: 3.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00313/0.4224, allocations: 1.971 MB / 493.7 MB, free: 1.238 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007317/0.4231, allocations: 244 kB / 493.9 MB, free: 1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004005/0.4271, allocations: 1.841 MB / 495.7 MB, free: 15.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001363/0.4285, allocations: 1.224 MB / 497 MB, free: 13.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002398/0.4309, allocations: 1.557 MB / 498.5 MB, free: 12.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005694/0.4366, allocations: 4.597 MB / 0.4913 GB, free: 7.758 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.4366, allocations: 0 / 0.4913 GB, free: 7.758 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4367, allocations: 4 kB / 0.4913 GB, free: 7.754 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.172e-05/0.4368, allocations: 0 / 0.4913 GB, free: 7.754 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.009215/0.446, allocations: 3.511 MB / 0.4948 GB, free: 4.184 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.446, allocations: 8.031 kB / 0.4948 GB, free: 4.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001816/0.4478, allocations: 330.2 kB / 0.4951 GB, free: 3.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/0.4503, allocations: 1.316 MB / 0.4964 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.4505, allocations: 184.9 kB / 0.4965 GB, free: 2.305 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003924/0.4509, allocations: 236 kB / 0.4968 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006172/0.457, allocations: 3.831 MB / 0.5005 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/0.4571, allocations: 0 / 0.5005 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003728/0.4575, allocations: 112 kB / 0.5006 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/0.4575, allocations: 60 kB / 0.5007 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00856/0.4661, allocations: 5.982 MB / 0.5065 GB, free: 8.027 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.01972/0.4858, allocations: 11.24 MB / 0.5175 GB, free: 11.94 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007078/0.493, allocations: 5.042 MB / 0.5224 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003385/0.4964, allocations: 2.408 MB / 0.5248 GB, free: 4.457 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005627/0.497, allocations: 439.3 kB / 0.5252 GB, free: 3.953 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.473e-05/0.4971, allocations: 102.6 kB / 0.5253 GB, free: 3.844 MB / 430.1 MB Notification: Performance of pre-optimization done (n=390): time 5.28e-06/0.4971, allocations: 3.938 kB / 0.5253 GB, free: 3.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=390): time 0.01003/0.5071, allocations: 5.808 MB / 0.531 GB, free: 14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/0.5072, allocations: 90.47 kB / 0.531 GB, free: 13.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.5083, allocations: 0.879 MB / 0.5319 GB, free: 13.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003972/0.5087, allocations: 101.7 kB / 0.532 GB, free: 12.91 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/0.5091, allocations: 0.5149 MB / 0.5325 GB, free: 12.39 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001031/0.5101, allocations: 1.305 MB / 0.5338 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009015/0.511, allocations: 0.6293 MB / 0.5344 GB, free: 10.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.5112, allocations: 357.9 kB / 0.5347 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002718/0.5139, allocations: 1.736 MB / 0.5364 GB, free: 8.332 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003078/0.517, allocations: 2.266 MB / 0.5386 GB, free: 5.914 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006271/0.5233, allocations: 4.333 MB / 0.5429 GB, free: 1.406 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/0.5233, allocations: 4 kB / 0.5429 GB, free: 1.402 MB / 446.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.1708/0.6941, allocations: 4.579 MB / 0.5474 GB, free: 176.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.342e-05/0.6942, allocations: 8.969 kB / 0.5474 GB, free: 176.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/0.6942, allocations: 12.38 kB / 0.5474 GB, free: 176.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-05/0.6943, allocations: 27.56 kB / 0.5474 GB, free: 176.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003661/0.6979, allocations: 0.791 MB / 0.5482 GB, free: 176.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-05/0.698, allocations: 43.56 kB / 0.5482 GB, free: 176.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/0.7004, allocations: 364.3 kB / 0.5486 GB, free: 176.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000293/0.7007, allocations: 145.4 kB / 0.5487 GB, free: 176.4 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.001728/0.7024, allocations: 0.758 MB / 0.5494 GB, free: 176.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006058/0.703, allocations: 208.6 kB / 0.5496 GB, free: 176 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009271/0.7123, allocations: 5.17 MB / 0.5547 GB, free: 174.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.929e-05/0.7124, allocations: 45.22 kB / 0.5547 GB, free: 174.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.7124, allocations: 5.062 kB / 0.5547 GB, free: 174.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.481e-05/0.7124, allocations: 17.62 kB / 0.5548 GB, free: 174.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004153/0.7166, allocations: 2.82 MB / 0.5575 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.7166, allocations: 0 / 0.5575 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003079/0.7197, allocations: 0.7301 MB / 0.5582 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.358e-05/0.7197, allocations: 15.66 kB / 0.5582 GB, free: 173.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002099/0.72, allocations: 93.86 kB / 0.5583 GB, free: 173.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.551e-05/0.72, allocations: 20.47 kB / 0.5583 GB, free: 173.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.72, allocations: 0 / 0.5583 GB, free: 173.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008519/0.7285, allocations: 7.218 MB / 0.5654 GB, free: 169.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004195/0.729, allocations: 320.6 kB / 0.5657 GB, free: 169.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003471/0.7293, allocations: 83.83 kB / 0.5658 GB, free: 169.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002717/0.732, allocations: 219.2 kB / 0.566 GB, free: 168.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005081/0.7326, allocations: 318.4 kB / 0.5663 GB, free: 168.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003059/0.7329, allocations: 175.6 kB / 0.5665 GB, free: 168.4 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006757/0.7336, allocations: 0.6863 MB / 0.5671 GB, free: 167.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7336, allocations: 0 / 0.5671 GB, free: 167.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002238/0.7358, allocations: 1.088 MB / 0.5682 GB, free: 166.7 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.001014/0.7368, allocations: 479.6 kB / 0.5686 GB, free: 166.3 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02229/0.7591, allocations: 15.27 MB / 0.5836 GB, free: 151 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/0.7592, allocations: 9 kB / 0.5836 GB, free: 151 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002672/0.7619, allocations: 2.263 MB / 0.5858 GB, free: 148.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005293/0.7672, allocations: 1.251 MB / 0.587 GB, free: 147.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009841/0.777, allocations: 6.793 MB / 0.5936 GB, free: 140.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008838/0.7779, allocations: 1.857 MB / 0.5955 GB, free: 138.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/0.7794, allocations: 331.3 kB / 0.5958 GB, free: 138.6 MB / 446.1 MB Notification: Performance of SimCode: time 5.71e-07/0.7794, allocations: 0 / 0.5958 GB, free: 138.6 MB / 446.1 MB Notification: Performance of Templates: time 0.05183/0.8312, allocations: 46.76 MB / 0.6414 GB, free: 91.66 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 -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