Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001339/0.001339, allocations: 107.6 kB / 21.18 MB, free: 0.6094 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.001414/0.001414, allocations: 215 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.325/1.325, allocations: 207.7 MB / 235.3 MB, free: 9.812 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 50.59 kB / 347.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2366, allocations: 49.16 MB / 396.3 MB, free: 8.883 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.1596/0.3962, allocations: 131.7 MB / 0.5157 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.3979, allocations: 0.9098 MB / 0.5166 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001684/0.3981, allocations: 3.938 kB / 0.5166 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.3985, allocations: 75.52 kB / 0.5167 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006465/0.3991, allocations: 290.7 kB / 0.5169 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00363/0.4027, allocations: 1.318 MB / 0.5182 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005335/0.4081, allocations: 5.649 MB / 0.5237 GB, free: 6.695 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002576/0.4083, allocations: 96.2 kB / 0.5238 GB, free: 6.574 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003833/0.4122, allocations: 2.308 MB / 0.5261 GB, free: 4.262 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004127/0.4163, allocations: 2.209 MB / 0.5282 GB, free: 2.047 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001057/0.4173, allocations: 240 kB / 0.5285 GB, free: 1.812 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004465/0.4218, allocations: 1.673 MB / 0.5301 GB, free: 140 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002081/0.4239, allocations: 1.228 MB / 0.5313 GB, free: 14.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003402/0.4273, allocations: 1.406 MB / 0.5327 GB, free: 13.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007718/0.435, allocations: 4.627 MB / 0.5372 GB, free: 8.855 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.435, allocations: 0 / 0.5372 GB, free: 8.855 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.435, allocations: 0 / 0.5372 GB, free: 8.855 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001937/0.4352, allocations: 4 kB / 0.5372 GB, free: 8.852 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.01185/0.4471, allocations: 3.497 MB / 0.5406 GB, free: 5.305 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.4471, allocations: 11.98 kB / 0.5406 GB, free: 5.293 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000657/0.4478, allocations: 377.9 kB / 0.541 GB, free: 4.914 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/0.4496, allocations: 335.4 kB / 0.5413 GB, free: 4.586 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003574/0.4532, allocations: 1.336 MB / 0.5426 GB, free: 3.223 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/0.4533, allocations: 180.9 kB / 0.5428 GB, free: 3.043 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004325/0.4538, allocations: 240 kB / 0.543 GB, free: 2.809 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007879/0.4617, allocations: 5.939 MB / 0.5488 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.685e-05/0.4617, allocations: 0 / 0.5488 GB, free: 12.3 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00038/0.4621, allocations: 116 kB / 0.5489 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.705e-05/0.4621, allocations: 60 kB / 0.549 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009988/0.4721, allocations: 5.885 MB / 0.5547 GB, free: 6.227 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.1838/0.6559, allocations: 7.643 MB / 0.5622 GB, free: 158.1 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007089/0.663, allocations: 4.771 MB / 0.5668 GB, free: 156.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003397/0.6664, allocations: 2.239 MB / 0.569 GB, free: 155.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004168/0.6668, allocations: 110.5 kB / 0.5691 GB, free: 155.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.373e-05/0.6669, allocations: 104.1 kB / 0.5692 GB, free: 155.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 6.943e-06/0.6669, allocations: 1.078 kB / 0.5692 GB, free: 155.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.008816/0.6757, allocations: 5.823 MB / 0.5749 GB, free: 154.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.273e-05/0.6758, allocations: 94.25 kB / 0.575 GB, free: 154.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009578/0.6767, allocations: 0.8824 MB / 0.5759 GB, free: 153.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003959/0.6771, allocations: 108.4 kB / 0.576 GB, free: 153.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/0.6774, allocations: 0.526 MB / 0.5765 GB, free: 153.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007188/0.6781, allocations: 1.373 MB / 0.5778 GB, free: 152.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007763/0.6789, allocations: 0.6231 MB / 0.5784 GB, free: 152.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.611e-05/0.6789, allocations: 357.4 kB / 0.5788 GB, free: 151.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002256/0.6812, allocations: 1.745 MB / 0.5805 GB, free: 150.9 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00241/0.6836, allocations: 2.267 MB / 0.5827 GB, free: 149.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004831/0.6884, allocations: 4.325 MB / 0.5869 GB, free: 147.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/0.6885, allocations: 4 kB / 0.5869 GB, free: 147.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00591/0.6944, allocations: 4.601 MB / 0.5914 GB, free: 142.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.6944, allocations: 8 kB / 0.5914 GB, free: 142.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-05/0.6944, allocations: 12 kB / 0.5914 GB, free: 142.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.532e-05/0.6944, allocations: 27.56 kB / 0.5915 GB, free: 142.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003146/0.6976, allocations: 0.789 MB / 0.5922 GB, free: 141.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.961e-05/0.6976, allocations: 35.92 kB / 0.5923 GB, free: 141.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/0.6997, allocations: 367.4 kB / 0.5926 GB, free: 141.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002439/0.6999, allocations: 143.9 kB / 0.5928 GB, free: 141.2 MB / 478.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.001189/0.7011, allocations: 0.759 MB / 0.5935 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005026/0.7016, allocations: 226.7 kB / 0.5937 GB, free: 140.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006957/0.7086, allocations: 5.18 MB / 0.5988 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.212e-05/0.7086, allocations: 40 kB / 0.5988 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.7086, allocations: 0 / 0.5988 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.919e-05/0.7086, allocations: 23.86 kB / 0.5988 GB, free: 134.9 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003483/0.7121, allocations: 2.467 MB / 0.6012 GB, free: 132.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.7121, allocations: 3.984 kB / 0.6012 GB, free: 132.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002971/0.7151, allocations: 0.7254 MB / 0.602 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.951e-05/0.7151, allocations: 19.92 kB / 0.602 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/0.7153, allocations: 87.97 kB / 0.6021 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.351e-05/0.7153, allocations: 12.77 kB / 0.6021 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7153, allocations: 0 / 0.6021 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008404/0.7237, allocations: 7.234 MB / 0.6091 GB, free: 124.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005136/0.7243, allocations: 249.8 kB / 0.6094 GB, free: 124.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003509/0.7246, allocations: 91.81 kB / 0.6095 GB, free: 124.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002627/0.7272, allocations: 223.2 kB / 0.6097 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004982/0.7277, allocations: 329.5 kB / 0.61 GB, free: 123.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003242/0.7281, allocations: 183.4 kB / 0.6102 GB, free: 123.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006427/0.7287, allocations: 0.6854 MB / 0.6108 GB, free: 122.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.7287, allocations: 0 / 0.6108 GB, free: 122.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001922/0.7306, allocations: 1.089 MB / 0.6119 GB, free: 121.6 MB / 478.1 MB 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.009295/0.7399, allocations: 8.139 MB / 0.6198 GB, free: 113.4 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005384/0.7453, allocations: 4.119 MB / 0.6239 GB, free: 109.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.7453, allocations: 9 kB / 0.6239 GB, free: 109.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00251/0.7478, allocations: 2.111 MB / 0.6259 GB, free: 107.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005033/0.7529, allocations: 1.252 MB / 0.6272 GB, free: 106 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0299/0.7828, allocations: 24.63 MB / 0.6512 GB, free: 80.71 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008378/0.7836, allocations: 1.264 MB / 0.6525 GB, free: 79.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004088/0.7877, allocations: 1.771 MB / 0.6542 GB, free: 77.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/0.789, allocations: 0.8898 MB / 0.6551 GB, free: 76.73 MB / 478.1 MB Notification: Performance of SimCode: time 1.914e-06/0.789, allocations: 0 / 0.6551 GB, free: 76.73 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/0.9052, allocations: 89.75 MB / 0.7427 GB, free: 2.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.59, allocations: 15.86 kB / 0.7427 GB, free: 2.715 MB / 494.1 MB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 18.207575389184058]