Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 107 kB / 21.18 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 205.2 kB / 24.47 MB, free: 3.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 258.2 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Media.Examples.PsychrometricData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 47.92 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.214, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3551/0.5691, allocations: 133.5 MB / 0.5526 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009337/0.57, allocations: 0.6567 MB / 0.5532 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.586e-05/0.5701, allocations: 3.469 kB / 0.5532 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003103/0.5704, allocations: 76.08 kB / 0.5533 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004971/0.5709, allocations: 296 kB / 0.5536 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002267/0.5732, allocations: 1.138 MB / 0.5547 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003286/0.5765, allocations: 5.669 MB / 0.5602 GB, free: 15.63 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.5766, allocations: 95.58 kB / 0.5603 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/0.5788, allocations: 2.308 MB / 0.5626 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.5809, allocations: 2.046 MB / 0.5646 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004943/0.5814, allocations: 239.6 kB / 0.5648 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002604/0.584, allocations: 1.563 MB / 0.5663 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009519/0.585, allocations: 1.247 MB / 0.5675 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00162/0.5866, allocations: 1.406 MB / 0.5689 GB, free: 15.53 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003792/0.5904, allocations: 4.552 MB / 0.5734 GB, free: 15.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.5904, allocations: 0 / 0.5734 GB, free: 15.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5904, allocations: 0 / 0.5734 GB, free: 15.09 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.43e-05/0.5904, allocations: 0 / 0.5734 GB, free: 15.09 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.009107/0.5995, allocations: 3.482 MB / 0.5768 GB, free: 13.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.5996, allocations: 7.531 kB / 0.5768 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/0.6014, allocations: 341.3 kB / 0.5771 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003214/0.6046, allocations: 1.329 MB / 0.5784 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001009/0.6047, allocations: 180.3 kB / 0.5786 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003807/0.6051, allocations: 244.8 kB / 0.5788 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006759/0.6119, allocations: 5.945 MB / 0.5846 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.87e-05/0.6119, allocations: 2.344 kB / 0.5846 GB, free: 9.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003599/0.6123, allocations: 118.7 kB / 0.5847 GB, free: 9.566 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.154e-05/0.6123, allocations: 56.03 kB / 0.5848 GB, free: 9.566 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007675/0.62, allocations: 5.871 MB / 0.5905 GB, free: 8.031 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.01866/0.6386, allocations: 7.313 MB / 0.5976 GB, free: 3.137 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007147/0.6458, allocations: 4.773 MB / 0.6023 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003468/0.6492, allocations: 2.237 MB / 0.6045 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004084/0.6497, allocations: 115.1 kB / 0.6046 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.63e-05/0.6497, allocations: 94.62 kB / 0.6047 GB, free: 11.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 8.466e-06/0.6498, allocations: 3.984 kB / 0.6047 GB, free: 11.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.009925/0.6597, allocations: 5.804 MB / 0.6104 GB, free: 6.078 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.503e-05/0.6598, allocations: 90.47 kB / 0.6104 GB, free: 5.977 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007891/0.6605, allocations: 0.6383 MB / 0.6111 GB, free: 5.324 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003197/0.6609, allocations: 105.7 kB / 0.6112 GB, free: 5.215 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/0.6613, allocations: 0.5491 MB / 0.6117 GB, free: 4.664 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001187/0.6624, allocations: 1.37 MB / 0.613 GB, free: 3.312 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/0.6635, allocations: 0.6255 MB / 0.6137 GB, free: 2.68 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.6636, allocations: 342 kB / 0.614 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002988/0.6666, allocations: 1.744 MB / 0.6157 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003444/0.6701, allocations: 2.258 MB / 0.6179 GB, free: 14.19 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006812/0.6769, allocations: 4.332 MB / 0.6221 GB, free: 9.723 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/0.6769, allocations: 1.125 kB / 0.6221 GB, free: 9.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007724/0.6846, allocations: 4.578 MB / 0.6266 GB, free: 5.184 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.6846, allocations: 8 kB / 0.6266 GB, free: 5.176 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.6846, allocations: 12 kB / 0.6266 GB, free: 5.164 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.223e-05/0.6847, allocations: 28 kB / 0.6266 GB, free: 5.137 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00395/0.6886, allocations: 0.7924 MB / 0.6274 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.713e-05/0.6887, allocations: 40.27 kB / 0.6274 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/0.691, allocations: 349.8 kB / 0.6278 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003141/0.6913, allocations: 143.9 kB / 0.6279 GB, free: 3.871 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.001424/0.6927, allocations: 0.759 MB / 0.6287 GB, free: 3.148 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005624/0.6933, allocations: 198.9 kB / 0.6288 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009319/0.7026, allocations: 5.144 MB / 0.6339 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.941e-05/0.7026, allocations: 40.88 kB / 0.6339 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.7027, allocations: 3.938 kB / 0.6339 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.963e-05/0.7027, allocations: 23.92 kB / 0.6339 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003877/0.7066, allocations: 2.203 MB / 0.6361 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.245e-06/0.7066, allocations: 0 / 0.6361 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003819/0.7104, allocations: 0.7308 MB / 0.6368 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.692e-05/0.7104, allocations: 24 kB / 0.6368 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000245/0.7107, allocations: 91.95 kB / 0.6369 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.847e-05/0.7107, allocations: 16 kB / 0.6369 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7107, allocations: 0 / 0.6369 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01142/0.7221, allocations: 7.206 MB / 0.644 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003991/0.7225, allocations: 229.9 kB / 0.6442 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003553/0.7229, allocations: 87.88 kB / 0.6443 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002836/0.7257, allocations: 215.8 kB / 0.6445 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006292/0.7263, allocations: 330.8 kB / 0.6448 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000391/0.7267, allocations: 183.8 kB / 0.645 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006711/0.7274, allocations: 0.4987 MB / 0.6455 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7274, allocations: 0 / 0.6455 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002483/0.7299, allocations: 1.12 MB / 0.6465 GB, free: 0.8633 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.001003/0.7309, allocations: 430.6 kB / 0.647 GB, free: 500 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006734/0.7376, allocations: 4.12 MB / 0.651 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.7376, allocations: 6.625 kB / 0.651 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003318/0.7409, allocations: 2.114 MB / 0.6531 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004346/0.7453, allocations: 1.033 MB / 0.6541 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/0.7577, allocations: 6.67 MB / 0.6606 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.759, allocations: 1.259 MB / 0.6618 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004797/0.7638, allocations: 1.746 MB / 0.6635 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001069/0.7649, allocations: 291.3 kB / 0.6638 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of SimCode: time 9.62e-07/0.7649, allocations: 0 / 0.6638 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of Templates: time 0.09552/0.8604, allocations: 64.05 MB / 0.7263 GB, free: 256 kB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.sim & ./Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 7.595092955001746]