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.001477/0.001477, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001856/0.001856, allocations: 204.9 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.137/2.137, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 59.91 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3638, allocations: 50.55 MB / 409.9 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.5834/0.9473, allocations: 154.7 MB / 0.5514 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.949, allocations: 0.6931 MB / 0.5521 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.9492, allocations: 5.594 kB / 0.5521 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004844/0.9497, allocations: 77.78 kB / 0.5522 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008946/0.9506, allocations: 294.5 kB / 0.5525 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004154/0.9548, allocations: 1.122 MB / 0.5536 GB, free: 0.6211 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005865/0.9607, allocations: 5.593 MB / 0.559 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005361/0.9613, allocations: 266.5 kB / 0.5593 GB, free: 496 kB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004824/0.9661, allocations: 2.238 MB / 0.5615 GB, free: 496 kB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004896/0.971, allocations: 1.961 MB / 0.5634 GB, free: 492 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001515/0.9726, allocations: 241.6 kB / 0.5636 GB, free: 488 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006217/0.9788, allocations: 1.774 MB / 0.5653 GB, free: 468 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002937/0.9818, allocations: 1.225 MB / 0.5665 GB, free: 460 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00565/0.9875, allocations: 1.563 MB / 0.5681 GB, free: 428 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009942/0.9975, allocations: 4.55 MB / 0.5725 GB, free: 15.95 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.9976, allocations: 0 / 0.5725 GB, free: 15.95 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.66e-06/0.9976, allocations: 7.188 kB / 0.5725 GB, free: 15.95 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001734/0.9978, allocations: 3.188 kB / 0.5725 GB, free: 15.95 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.01745/1.015, allocations: 3.496 MB / 0.5759 GB, free: 14.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.521e-05/1.015, allocations: 10.66 kB / 0.5759 GB, free: 14.84 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004272/1.02, allocations: 325.1 kB / 0.5762 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006476/1.026, allocations: 1.338 MB / 0.5776 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003389/1.027, allocations: 183.3 kB / 0.5777 GB, free: 14.37 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001537/1.028, allocations: 240.8 kB / 0.578 GB, free: 14.37 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01379/1.042, allocations: 3.822 MB / 0.5817 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-05/1.042, allocations: 0 / 0.5817 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000984/1.043, allocations: 117.3 kB / 0.5818 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.234e-05/1.043, allocations: 65.36 kB / 0.5819 GB, free: 13.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01785/1.061, allocations: 5.989 MB / 0.5877 GB, free: 12.52 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.03843/1.1, allocations: 11.21 MB / 0.5987 GB, free: 2.629 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01318/1.113, allocations: 5.037 MB / 0.6036 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006561/1.119, allocations: 2.413 MB / 0.6059 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/1.12, allocations: 435.9 kB / 0.6063 GB, free: 12.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/1.121, allocations: 90.62 kB / 0.6064 GB, free: 12.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 2.159e-05/1.121, allocations: 0 / 0.6064 GB, free: 12.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.01962/1.14, allocations: 5.823 MB / 0.6121 GB, free: 6.438 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.14, allocations: 94.41 kB / 0.6122 GB, free: 6.332 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001875/1.142, allocations: 0.8674 MB / 0.6131 GB, free: 5.453 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001099/1.143, allocations: 105.7 kB / 0.6132 GB, free: 5.344 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004975/1.144, allocations: 0.5144 MB / 0.6137 GB, free: 4.824 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002255/1.146, allocations: 1.302 MB / 0.6149 GB, free: 3.535 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002816/1.149, allocations: 0.6332 MB / 0.6156 GB, free: 2.895 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002138/1.149, allocations: 353.9 kB / 0.6159 GB, free: 2.543 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005034/1.154, allocations: 1.744 MB / 0.6176 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006117/1.161, allocations: 2.264 MB / 0.6198 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01206/1.173, allocations: 4.328 MB / 0.624 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.948e-05/1.173, allocations: 0 / 0.624 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.01595/1.189, allocations: 4.585 MB / 0.6285 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.537e-05/1.189, allocations: 12 kB / 0.6285 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.963e-05/1.189, allocations: 12 kB / 0.6285 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.588e-05/1.189, allocations: 27.98 kB / 0.6286 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006738/1.196, allocations: 0.7955 MB / 0.6293 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000113/1.196, allocations: 38.27 kB / 0.6294 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004271/1.2, allocations: 360.5 kB / 0.6297 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001178/1.201, allocations: 147.9 kB / 0.6299 GB, free: 4.051 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.003681/1.205, allocations: 0.758 MB / 0.6306 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001402/1.206, allocations: 209.8 kB / 0.6308 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01662/1.223, allocations: 5.163 MB / 0.6358 GB, free: 13.93 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.14e-05/1.223, allocations: 43.94 kB / 0.6359 GB, free: 13.88 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.746e-05/1.223, allocations: 4 kB / 0.6359 GB, free: 13.88 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001038/1.223, allocations: 19.92 kB / 0.6359 GB, free: 13.86 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00876/1.232, allocations: 2.816 MB / 0.6387 GB, free: 11.09 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.504e-05/1.232, allocations: 0 / 0.6387 GB, free: 11.09 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006334/1.239, allocations: 0.7323 MB / 0.6394 GB, free: 10.4 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.54e-05/1.239, allocations: 20 kB / 0.6394 GB, free: 10.38 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009226/1.24, allocations: 87.97 kB / 0.6395 GB, free: 10.29 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-05/1.24, allocations: 23.92 kB / 0.6395 GB, free: 10.27 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/1.24, allocations: 0 / 0.6395 GB, free: 10.27 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02068/1.26, allocations: 7.216 MB / 0.6465 GB, free: 3.008 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/1.262, allocations: 325.9 kB / 0.6469 GB, free: 2.668 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001151/1.263, allocations: 83.83 kB / 0.6469 GB, free: 2.586 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005108/1.268, allocations: 223.7 kB / 0.6471 GB, free: 2.367 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001525/1.269, allocations: 318.8 kB / 0.6474 GB, free: 2.055 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001137/1.271, allocations: 179.9 kB / 0.6476 GB, free: 1.879 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.001618/1.272, allocations: 0.6785 MB / 0.6483 GB, free: 1.203 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.01e-07/1.272, allocations: 0 / 0.6483 GB, free: 1.203 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.005675/1.278, allocations: 1.097 MB / 0.6494 GB, free: 108 kB / 0.5138 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.002369/1.28, allocations: 443.7 kB / 0.6498 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01246/1.293, allocations: 4.301 MB / 0.654 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.815e-05/1.293, allocations: 5 kB / 0.654 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006385/1.299, allocations: 2.27 MB / 0.6562 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01125/1.311, allocations: 1.247 MB / 0.6574 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02105/1.332, allocations: 6.748 MB / 0.664 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002168/1.334, allocations: 1.856 MB / 0.6658 GB, free: 15.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002813/1.337, allocations: 331.3 kB / 0.6661 GB, free: 15.05 MB / 0.545 GB Notification: Performance of SimCode: time 1.122e-06/1.337, allocations: 0 / 0.6661 GB, free: 15.05 MB / 0.545 GB Notification: Performance of Templates: time 0.1092/1.446, allocations: 47.31 MB / 0.7123 GB, free: 15.89 MB / 0.5919 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