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.00159/0.00159, allocations: 110 kB / 20.43 MB, free: 1.453 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.00196/0.00196, allocations: 213.9 kB / 23.74 MB, free: 4.66 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.406/1.406, allocations: 230.5 MB / 257.4 MB, free: 8.004 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: "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 59.89 kB / 377.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2353, allocations: 53.41 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.4203/0.6556, allocations: 155.3 MB / 0.5727 GB, free: 13.04 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.657, allocations: 0.7002 MB / 0.5734 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.6572, allocations: 7.828 kB / 0.5734 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.6576, allocations: 82.59 kB / 0.5735 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006794/0.6583, allocations: 296.7 kB / 0.5737 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.6612, allocations: 1.148 MB / 0.5749 GB, free: 12.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004262/0.6654, allocations: 5.665 MB / 0.5804 GB, free: 11.95 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000291/0.6657, allocations: 99.81 kB / 0.5805 GB, free: 11.88 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00371/0.6694, allocations: 2.273 MB / 0.5827 GB, free: 11.78 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003973/0.6734, allocations: 2.053 MB / 0.5847 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001264/0.6747, allocations: 238.8 kB / 0.5849 GB, free: 11.24 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0048/0.6795, allocations: 1.833 MB / 0.5867 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002127/0.6816, allocations: 1.242 MB / 0.5879 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003646/0.6852, allocations: 1.573 MB / 0.5895 GB, free: 9.797 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007603/0.6929, allocations: 4.565 MB / 0.5939 GB, free: 7.562 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.6929, allocations: 0 / 0.5939 GB, free: 7.562 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6929, allocations: 0 / 0.5939 GB, free: 7.562 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001451/0.693, allocations: 2.969 kB / 0.5939 GB, free: 7.562 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.01159/0.7046, allocations: 3.481 MB / 0.5973 GB, free: 5.488 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.7046, allocations: 14.03 kB / 0.5974 GB, free: 5.484 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001263/0.7059, allocations: 366.9 kB / 0.5977 GB, free: 5.223 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00269/0.7086, allocations: 337.3 kB / 0.598 GB, free: 4.965 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00421/0.7128, allocations: 1.337 MB / 0.5993 GB, free: 3.609 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.713, allocations: 184.9 kB / 0.5995 GB, free: 3.426 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008574/0.7139, allocations: 244 kB / 0.5997 GB, free: 3.188 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009571/0.7235, allocations: 3.827 MB / 0.6035 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.891e-05/0.7235, allocations: 0 / 0.6035 GB, free: 15.31 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007615/0.7243, allocations: 112 kB / 0.6036 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-05/0.7244, allocations: 56 kB / 0.6036 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01132/0.7357, allocations: 5.986 MB / 0.6095 GB, free: 9.145 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.02602/0.7617, allocations: 11.26 MB / 0.6205 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008569/0.7703, allocations: 4.783 MB / 0.6252 GB, free: 8.352 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004248/0.7746, allocations: 2.24 MB / 0.6273 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006012/0.7752, allocations: 136.1 kB / 0.6275 GB, free: 5.992 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.7753, allocations: 94.61 kB / 0.6276 GB, free: 5.891 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 7.083e-06/0.7753, allocations: 0 / 0.6276 GB, free: 5.891 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.01233/0.7876, allocations: 5.828 MB / 0.6333 GB, free: 40 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.316e-05/0.7877, allocations: 94.47 kB / 0.6333 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001366/0.7891, allocations: 0.8713 MB / 0.6342 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005921/0.7897, allocations: 101.7 kB / 0.6343 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004695/0.7902, allocations: 0.5353 MB / 0.6348 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001556/0.7917, allocations: 1.369 MB / 0.6362 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001324/0.793, allocations: 0.6255 MB / 0.6368 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002013/0.7932, allocations: 357.9 kB / 0.6371 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003309/0.7965, allocations: 1.744 MB / 0.6388 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003842/0.8004, allocations: 2.258 MB / 0.641 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007558/0.8079, allocations: 4.329 MB / 0.6452 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.282e-05/0.808, allocations: 4 kB / 0.6452 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.009431/0.8174, allocations: 4.602 MB / 0.6497 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.547e-05/0.8174, allocations: 12.94 kB / 0.6498 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-05/0.8175, allocations: 8 kB / 0.6498 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.601e-05/0.8175, allocations: 31.94 kB / 0.6498 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003992/0.8215, allocations: 0.7957 MB / 0.6506 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.238e-05/0.8216, allocations: 31.92 kB / 0.6506 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/0.8244, allocations: 369.5 kB / 0.651 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006153/0.825, allocations: 144.4 kB / 0.6511 GB, free: 13.39 MB / 0.5137 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.002266/0.8273, allocations: 0.7583 MB / 0.6518 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001111/0.8284, allocations: 218.8 kB / 0.652 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/0.8402, allocations: 5.171 MB / 0.6571 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-05/0.8402, allocations: 47.94 kB / 0.6571 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/0.8402, allocations: 0 / 0.6571 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-05/0.8403, allocations: 20.61 kB / 0.6572 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0059/0.8462, allocations: 2.796 MB / 0.6599 GB, free: 4.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-05/0.8462, allocations: 3.938 kB / 0.6599 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003915/0.8501, allocations: 0.7294 MB / 0.6606 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-05/0.8502, allocations: 12 kB / 0.6606 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006657/0.8509, allocations: 92.45 kB / 0.6607 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.145e-05/0.8509, allocations: 15.94 kB / 0.6607 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.8509, allocations: 4 kB / 0.6607 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/0.8648, allocations: 7.231 MB / 0.6678 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007178/0.8655, allocations: 249.8 kB / 0.668 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006375/0.8661, allocations: 87.88 kB / 0.6681 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003086/0.8692, allocations: 227.7 kB / 0.6683 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007617/0.87, allocations: 322.8 kB / 0.6686 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006232/0.8706, allocations: 179.9 kB / 0.6688 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001152/0.8718, allocations: 0.6863 MB / 0.6695 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8718, allocations: 0 / 0.6695 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003387/0.8752, allocations: 1.089 MB / 0.6705 GB, free: 9.445 MB / 0.5294 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.01515/0.8903, allocations: 8.119 MB / 0.6785 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008957/0.8993, allocations: 4.117 MB / 0.6825 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/0.8993, allocations: 5 kB / 0.6825 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004313/0.9036, allocations: 2.108 MB / 0.6845 GB, free: 11.05 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006669/0.9103, allocations: 1.244 MB / 0.6858 GB, free: 9.809 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0429/0.9532, allocations: 24.67 MB / 0.7098 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001909/0.9551, allocations: 1.841 MB / 0.7116 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006248/0.9613, allocations: 1.771 MB / 0.7134 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002378/0.9637, allocations: 0.8898 MB / 0.7142 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/0.9637, allocations: 3.938 kB / 0.7142 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3338/1.298, allocations: 86.86 MB / 0.7991 GB, free: 248.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.3/17.6, allocations: 10.31 kB / 0.7991 GB, free: 248.3 MB / 0.6075 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 52.5] 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: 20.180862868903205]