Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001461/0.001461, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00184/0.00184, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 59.91 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2583, allocations: 50.54 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4338/0.6921, allocations: 154.7 MB / 0.5514 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.6932, allocations: 0.6949 MB / 0.5521 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.6933, allocations: 3.188 kB / 0.5521 GB, free: 0.668 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003719/0.6937, allocations: 84.38 kB / 0.5522 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005809/0.6943, allocations: 291.2 kB / 0.5525 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.6969, allocations: 1.123 MB / 0.5536 GB, free: 0.6133 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003848/0.7008, allocations: 5.596 MB / 0.559 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.7012, allocations: 262.6 kB / 0.5593 GB, free: 492 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003965/0.7051, allocations: 2.234 MB / 0.5615 GB, free: 492 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003388/0.7086, allocations: 1.969 MB / 0.5634 GB, free: 484 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009024/0.7095, allocations: 237.4 kB / 0.5636 GB, free: 484 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004336/0.7138, allocations: 1.778 MB / 0.5653 GB, free: 464 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001327/0.7152, allocations: 1.214 MB / 0.5665 GB, free: 456 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003388/0.7186, allocations: 1.564 MB / 0.5681 GB, free: 424 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005996/0.7246, allocations: 4.557 MB / 0.5725 GB, free: 15.94 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.7246, allocations: 6.094 kB / 0.5725 GB, free: 15.93 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.7246, allocations: 0 / 0.5725 GB, free: 15.93 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001148/0.7248, allocations: 0 / 0.5725 GB, free: 15.93 MB / 478.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.01004/0.7348, allocations: 3.493 MB / 0.5759 GB, free: 14.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.7349, allocations: 10.67 kB / 0.5759 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.7369, allocations: 324.8 kB / 0.5762 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.7394, allocations: 1.343 MB / 0.5776 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.7395, allocations: 183.3 kB / 0.5777 GB, free: 14.37 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004444/0.74, allocations: 243.5 kB / 0.578 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006988/0.747, allocations: 3.821 MB / 0.5817 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.296e-05/0.747, allocations: 7.938 kB / 0.5817 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004624/0.7475, allocations: 112.2 kB / 0.5818 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/0.7476, allocations: 57.97 kB / 0.5819 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008929/0.7565, allocations: 5.987 MB / 0.5877 GB, free: 12.5 MB / 478.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.02103/0.7776, allocations: 11.21 MB / 0.5987 GB, free: 2.605 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007329/0.7849, allocations: 5.038 MB / 0.6036 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003763/0.7887, allocations: 2.408 MB / 0.6059 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006388/0.7894, allocations: 435.7 kB / 0.6063 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.891e-05/0.7895, allocations: 97.81 kB / 0.6064 GB, free: 12.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 7.223e-06/0.7895, allocations: 0 / 0.6064 GB, free: 12.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.01055/0.8001, allocations: 5.812 MB / 0.6121 GB, free: 6.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.8002, allocations: 94.41 kB / 0.6122 GB, free: 6.324 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.8014, allocations: 0.879 MB / 0.6131 GB, free: 5.434 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005768/0.802, allocations: 97.7 kB / 0.6132 GB, free: 5.332 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003675/0.8024, allocations: 0.5203 MB / 0.6137 GB, free: 4.809 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001316/0.8037, allocations: 1.308 MB / 0.6149 GB, free: 3.516 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001418/0.8051, allocations: 0.6254 MB / 0.6155 GB, free: 2.883 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.8053, allocations: 357.9 kB / 0.6159 GB, free: 2.527 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003027/0.8083, allocations: 1.744 MB / 0.6176 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003421/0.8118, allocations: 2.259 MB / 0.6198 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006916/0.8187, allocations: 4.335 MB / 0.624 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.838e-05/0.8187, allocations: 4 kB / 0.624 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008495/0.8272, allocations: 4.585 MB / 0.6285 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/0.8273, allocations: 12 kB / 0.6285 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.8273, allocations: 8 kB / 0.6285 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.241e-05/0.8274, allocations: 28 kB / 0.6286 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00382/0.8312, allocations: 0.7957 MB / 0.6293 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.953e-05/0.8313, allocations: 35.08 kB / 0.6294 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/0.834, allocations: 364.5 kB / 0.6297 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005419/0.8346, allocations: 140 kB / 0.6299 GB, free: 4.035 MB / 0.4981 GB 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.001993/0.8366, allocations: 0.7619 MB / 0.6306 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/0.8378, allocations: 209.8 kB / 0.6308 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.8495, allocations: 5.166 MB / 0.6358 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.192e-05/0.8496, allocations: 47.92 kB / 0.6359 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.079e-05/0.8496, allocations: 0 / 0.6359 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001089/0.8497, allocations: 19.92 kB / 0.6359 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005629/0.8554, allocations: 2.818 MB / 0.6387 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.608e-05/0.8554, allocations: 0 / 0.6387 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003919/0.8593, allocations: 0.7354 MB / 0.6394 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.09e-05/0.8594, allocations: 12 kB / 0.6394 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006934/0.8601, allocations: 91.97 kB / 0.6395 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.728e-05/0.8602, allocations: 15.94 kB / 0.6395 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.8602, allocations: 4 kB / 0.6395 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/0.8734, allocations: 7.216 MB / 0.6465 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006629/0.8741, allocations: 321.9 kB / 0.6468 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006641/0.8748, allocations: 87.83 kB / 0.6469 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003463/0.8783, allocations: 227.7 kB / 0.6471 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007594/0.8791, allocations: 314.9 kB / 0.6474 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006827/0.8798, allocations: 175.9 kB / 0.6476 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001045/0.8808, allocations: 0.6863 MB / 0.6483 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.6e-07/0.8808, allocations: 0 / 0.6483 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003804/0.8847, allocations: 1.089 MB / 0.6494 GB, free: 92 kB / 0.5137 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.001766/0.8864, allocations: 452.5 kB / 0.6498 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00811/0.8946, allocations: 4.296 MB / 0.654 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/0.8946, allocations: 5 kB / 0.654 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004134/0.8987, allocations: 2.266 MB / 0.6562 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007411/0.9062, allocations: 1.253 MB / 0.6574 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/0.9214, allocations: 6.75 MB / 0.664 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001849/0.9233, allocations: 1.845 MB / 0.6658 GB, free: 15.37 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002474/0.9258, allocations: 335.3 kB / 0.6661 GB, free: 15.04 MB / 0.545 GB Notification: Performance of SimCode: time 9.52e-07/0.9258, allocations: 0 / 0.6661 GB, free: 15.04 MB / 0.545 GB Notification: Performance of Templates: time 0.06937/0.9952, allocations: 47.03 MB / 0.7121 GB, free: 176 kB / 0.5762 GB make -j1 -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_trunk_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Media.Examples.PsychrometricData.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches