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.001478/0.001478, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001624/0.001624, allocations: 212.6 kB / 24.51 MB, free: 3.941 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.391/1.391, allocations: 230.6 MB / 258.3 MB, free: 7.75 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: "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_PsychrometricData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_PsychrometricData",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 51.92 kB / 378.5 MB, free: 2.945 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2515/0.2538, allocations: 53.36 MB / 431.9 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.386/0.6398, allocations: 133.4 MB / 0.552 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009537/0.6408, allocations: 0.6528 MB / 0.5527 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.218e-05/0.6409, allocations: 4.844 kB / 0.5527 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000328/0.6412, allocations: 77 kB / 0.5527 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004954/0.6417, allocations: 298.5 kB / 0.553 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.644, allocations: 1.142 MB / 0.5541 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003565/0.6476, allocations: 5.668 MB / 0.5597 GB, free: 15.64 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002144/0.6478, allocations: 91.05 kB / 0.5598 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002951/0.6508, allocations: 2.309 MB / 0.562 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003005/0.6538, allocations: 2.056 MB / 0.564 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007231/0.6545, allocations: 235.8 kB / 0.5642 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003459/0.6579, allocations: 1.566 MB / 0.5658 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001302/0.6592, allocations: 1.246 MB / 0.567 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002758/0.662, allocations: 1.407 MB / 0.5684 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005094/0.6671, allocations: 4.545 MB / 0.5728 GB, free: 15.1 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.6671, allocations: 0 / 0.5728 GB, free: 15.1 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6671, allocations: 0 / 0.5728 GB, free: 15.1 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.226e-05/0.6672, allocations: 0 / 0.5728 GB, free: 15.1 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.009621/0.6768, allocations: 3.483 MB / 0.5762 GB, free: 13.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.6769, allocations: 10.5 kB / 0.5762 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.344e-05/0.677, allocations: 65.94 kB / 0.5763 GB, free: 13.97 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006388/0.6776, allocations: 370.2 kB / 0.5766 GB, free: 13.86 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/0.6795, allocations: 337.1 kB / 0.577 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002723/0.6822, allocations: 1.341 MB / 0.5783 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.6824, allocations: 180.2 kB / 0.5784 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004185/0.6828, allocations: 241.2 kB / 0.5787 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0076/0.6904, allocations: 5.938 MB / 0.5845 GB, free: 9.449 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.789e-05/0.6904, allocations: 0 / 0.5845 GB, free: 9.449 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004337/0.6909, allocations: 118.4 kB / 0.5846 GB, free: 9.445 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/0.6909, allocations: 59.22 kB / 0.5846 GB, free: 9.445 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008792/0.6997, allocations: 5.991 MB / 0.5905 GB, free: 7.812 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.01862/0.7183, allocations: 7.634 MB / 0.5979 GB, free: 2.234 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006865/0.7252, allocations: 4.776 MB / 0.6026 GB, free: 13.45 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003315/0.7285, allocations: 2.248 MB / 0.6048 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004208/0.7289, allocations: 111 kB / 0.6049 GB, free: 11.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.727e-05/0.729, allocations: 97.06 kB / 0.605 GB, free: 10.98 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 6.262e-06/0.729, allocations: 0 / 0.605 GB, free: 10.98 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.01009/0.7391, allocations: 5.825 MB / 0.6107 GB, free: 5.137 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.006e-05/0.7392, allocations: 90.47 kB / 0.6108 GB, free: 5.035 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.7404, allocations: 0.8774 MB / 0.6116 GB, free: 4.148 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004137/0.7408, allocations: 101.7 kB / 0.6117 GB, free: 4.043 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004153/0.7413, allocations: 0.5325 MB / 0.6122 GB, free: 3.508 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001261/0.7425, allocations: 1.366 MB / 0.6136 GB, free: 2.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/0.7435, allocations: 0.6255 MB / 0.6142 GB, free: 1.527 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.7437, allocations: 357.9 kB / 0.6145 GB, free: 1.172 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002865/0.7466, allocations: 1.744 MB / 0.6162 GB, free: 15.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00329/0.7499, allocations: 2.266 MB / 0.6184 GB, free: 13.01 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006549/0.7564, allocations: 4.324 MB / 0.6227 GB, free: 8.555 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.368e-05/0.7564, allocations: 4 kB / 0.6227 GB, free: 8.551 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007863/0.7643, allocations: 4.602 MB / 0.6272 GB, free: 3.988 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.7643, allocations: 12 kB / 0.6272 GB, free: 3.977 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.195e-05/0.7643, allocations: 12.06 kB / 0.6272 GB, free: 3.965 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.281e-05/0.7644, allocations: 31.94 kB / 0.6272 GB, free: 3.934 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003704/0.7681, allocations: 0.788 MB / 0.628 GB, free: 3.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.907e-05/0.7681, allocations: 32.48 kB / 0.628 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/0.7705, allocations: 369.5 kB / 0.6284 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003234/0.7708, allocations: 144.6 kB / 0.6285 GB, free: 2.66 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.001493/0.7723, allocations: 0.7576 MB / 0.6293 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006223/0.7729, allocations: 218.8 kB / 0.6295 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009204/0.7821, allocations: 5.173 MB / 0.6345 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.505e-05/0.7822, allocations: 44 kB / 0.6346 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.7822, allocations: 0 / 0.6346 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.94e-05/0.7822, allocations: 19.92 kB / 0.6346 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004417/0.7866, allocations: 2.464 MB / 0.637 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.7866, allocations: 0 / 0.637 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003548/0.7902, allocations: 0.7308 MB / 0.6377 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-05/0.7902, allocations: 12 kB / 0.6377 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003233/0.7906, allocations: 96.39 kB / 0.6378 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.566e-05/0.7906, allocations: 16 kB / 0.6378 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7906, allocations: 0 / 0.6378 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01224/0.8028, allocations: 7.229 MB / 0.6449 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006417/0.8035, allocations: 253.8 kB / 0.6451 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006433/0.8041, allocations: 87.83 kB / 0.6452 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003227/0.8073, allocations: 223.8 kB / 0.6454 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007987/0.8081, allocations: 334.7 kB / 0.6457 GB, free: 1.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006104/0.8088, allocations: 171.9 kB / 0.6459 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00103/0.8098, allocations: 0.6863 MB / 0.6466 GB, free: 232 kB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.8098, allocations: 2.625 kB / 0.6466 GB, free: 232 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003464/0.8132, allocations: 1.085 MB / 0.6476 GB, free: 15.14 MB / 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.01374/0.827, allocations: 8.119 MB / 0.6556 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007441/0.8344, allocations: 4.125 MB / 0.6596 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/0.8344, allocations: 9 kB / 0.6596 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003764/0.8382, allocations: 2.11 MB / 0.6617 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00615/0.8444, allocations: 1.242 MB / 0.6629 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04495/0.8893, allocations: 24.66 MB / 0.6869 GB, free: 6.457 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/0.8908, allocations: 1.26 MB / 0.6882 GB, free: 5.152 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005522/0.8963, allocations: 1.775 MB / 0.6899 GB, free: 3.371 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002121/0.8985, allocations: 0.8898 MB / 0.6908 GB, free: 2.48 MB / 0.545 GB Notification: Performance of SimCode: time 1.182e-06/0.8985, allocations: 0 / 0.6908 GB, free: 2.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3252/1.224, allocations: 90.34 MB / 0.779 GB, free: 289.7 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.44/17.67, allocations: 6.297 kB / 0.779 GB, free: 289.7 MB / 0.6231 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 52.5] 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: 20.48778812494129]