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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001424/0.001424, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001669/0.001669, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 230.5 MB / 258.1 MB, free: 7.766 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 63.89 kB / 379 MB, free: 2.293 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2718/0.2737, allocations: 53.41 MB / 432.4 MB, free: 6.488 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4137/0.6874, allocations: 133.5 MB / 0.5526 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.6885, allocations: 0.65 MB / 0.5533 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.581e-05/0.6886, allocations: 3.688 kB / 0.5533 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003629/0.6889, allocations: 83.03 kB / 0.5533 GB, free: 15.69 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005987/0.6895, allocations: 294.6 kB / 0.5536 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00251/0.692, allocations: 1.141 MB / 0.5547 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003827/0.6959, allocations: 5.651 MB / 0.5603 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002408/0.6961, allocations: 93.03 kB / 0.5603 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00329/0.6994, allocations: 2.305 MB / 0.5626 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003493/0.7029, allocations: 2.21 MB / 0.5648 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007796/0.7037, allocations: 239.2 kB / 0.565 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003728/0.7074, allocations: 1.519 MB / 0.5665 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001294/0.7087, allocations: 1.242 MB / 0.5677 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002601/0.7113, allocations: 1.408 MB / 0.5691 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005767/0.7171, allocations: 4.545 MB / 0.5735 GB, free: 15.07 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.7171, allocations: 0 / 0.5735 GB, free: 15.07 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.7171, allocations: 5.5 kB / 0.5735 GB, free: 15.07 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001092/0.7172, allocations: 0 / 0.5735 GB, free: 15.07 MB / 462.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.009337/0.7265, allocations: 3.483 MB / 0.5769 GB, free: 13.92 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.7266, allocations: 11.89 kB / 0.5769 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0019/0.7285, allocations: 337 kB / 0.5772 GB, free: 13.78 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002957/0.7314, allocations: 1.334 MB / 0.5785 GB, free: 13.3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001363/0.7316, allocations: 179.4 kB / 0.5787 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004256/0.732, allocations: 247.6 kB / 0.5789 GB, free: 13.29 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008206/0.7402, allocations: 5.94 MB / 0.5847 GB, free: 9.504 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.238e-05/0.7402, allocations: 3.938 kB / 0.5848 GB, free: 9.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000454/0.7407, allocations: 113.5 kB / 0.5849 GB, free: 9.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.236e-05/0.7407, allocations: 62.59 kB / 0.5849 GB, free: 9.496 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008661/0.7494, allocations: 5.875 MB / 0.5907 GB, free: 7.863 MB / 462.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.02115/0.7705, allocations: 7.311 MB / 0.5978 GB, free: 2.844 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00771/0.7783, allocations: 4.772 MB / 0.6025 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003837/0.7821, allocations: 2.24 MB / 0.6046 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004469/0.7825, allocations: 113.2 kB / 0.6048 GB, free: 11.71 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.7827, allocations: 94.62 kB / 0.6048 GB, free: 11.61 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 6.462e-06/0.7827, allocations: 0 / 0.6048 GB, free: 11.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.0111/0.7938, allocations: 5.8 MB / 0.6105 GB, free: 5.789 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.7939, allocations: 98.45 kB / 0.6106 GB, free: 5.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008852/0.7947, allocations: 0.6383 MB / 0.6112 GB, free: 5.027 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005596/0.7953, allocations: 101.7 kB / 0.6113 GB, free: 4.922 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004097/0.7957, allocations: 0.5429 MB / 0.6118 GB, free: 4.375 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001527/0.7972, allocations: 1.374 MB / 0.6132 GB, free: 3.02 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00101/0.7982, allocations: 0.6316 MB / 0.6138 GB, free: 2.383 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.7984, allocations: 337.9 kB / 0.6141 GB, free: 2.047 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003104/0.8015, allocations: 1.744 MB / 0.6158 GB, free: 308 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003885/0.8054, allocations: 2.254 MB / 0.618 GB, free: 13.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007545/0.8129, allocations: 4.332 MB / 0.6223 GB, free: 9.434 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.651e-05/0.813, allocations: 4 kB / 0.6223 GB, free: 9.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008514/0.8215, allocations: 4.576 MB / 0.6267 GB, free: 4.895 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.8215, allocations: 12 kB / 0.6268 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.901e-05/0.8215, allocations: 15.98 kB / 0.6268 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.47e-05/0.8216, allocations: 24 kB / 0.6268 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003648/0.8252, allocations: 0.7864 MB / 0.6276 GB, free: 4.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-05/0.8253, allocations: 40.61 kB / 0.6276 GB, free: 4.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002389/0.8277, allocations: 341.8 kB / 0.6279 GB, free: 3.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003518/0.828, allocations: 147.9 kB / 0.6281 GB, free: 3.586 MB / 494.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.001629/0.8297, allocations: 0.7622 MB / 0.6288 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006416/0.8303, allocations: 198.9 kB / 0.629 GB, free: 2.664 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009914/0.8402, allocations: 5.152 MB / 0.634 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-05/0.8402, allocations: 43.94 kB / 0.6341 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/0.8403, allocations: 4.812 kB / 0.6341 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.471e-05/0.8403, allocations: 19.92 kB / 0.6341 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004743/0.8451, allocations: 2.209 MB / 0.6362 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.278e-05/0.8451, allocations: 4 kB / 0.6363 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003782/0.8488, allocations: 0.7263 MB / 0.637 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.439e-05/0.8489, allocations: 12 kB / 0.637 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003164/0.8492, allocations: 95.95 kB / 0.6371 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-05/0.8492, allocations: 20 kB / 0.6371 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.8492, allocations: 2.625 kB / 0.6371 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/0.8611, allocations: 7.204 MB / 0.6441 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005648/0.8617, allocations: 233.8 kB / 0.6443 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004583/0.8621, allocations: 87.88 kB / 0.6444 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002865/0.865, allocations: 223.8 kB / 0.6446 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006529/0.8656, allocations: 330.8 kB / 0.645 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004174/0.8661, allocations: 179.8 kB / 0.6451 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007346/0.8668, allocations: 0.5012 MB / 0.6456 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8668, allocations: 0 / 0.6456 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002862/0.8697, allocations: 1.112 MB / 0.6467 GB, free: 0.5664 MB / 0.4981 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.001153/0.8708, allocations: 438.9 kB / 0.6471 GB, free: 188 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007531/0.8783, allocations: 4.12 MB / 0.6511 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/0.8784, allocations: 5 kB / 0.6512 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003658/0.882, allocations: 2.111 MB / 0.6532 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005045/0.8871, allocations: 1.033 MB / 0.6542 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/0.8998, allocations: 6.769 MB / 0.6608 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001334/0.9012, allocations: 1.267 MB / 0.6621 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001598/0.9028, allocations: 319.3 kB / 0.6624 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of SimCode: time 1.182e-06/0.9028, allocations: 0 / 0.6624 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of Templates: time 0.07065/0.9734, allocations: 45.56 MB / 0.7069 GB, free: 3.191 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.386606260202825]