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.001545/0.001545, allocations: 121.4 kB / 19.17 MB, free: 3.898 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.001614/0.001614, allocations: 203.9 kB / 22.12 MB, free: 0.9609 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.417/1.417, allocations: 207.6 MB / 232.5 MB, free: 3.961 MB / 174.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_PsychrometricData",fmuType="cs",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.001759/0.001759, allocations: 52.55 kB / 343 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1021, allocations: 49.13 MB / 392.1 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3692/0.4713, allocations: 153.6 MB / 0.5329 GB, free: 8.996 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.4729, allocations: 0.9637 MB / 0.5338 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.712e-05/0.473, allocations: 0 / 0.5338 GB, free: 8.059 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004288/0.4735, allocations: 83.98 kB / 0.5339 GB, free: 7.977 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006299/0.4741, allocations: 290.6 kB / 0.5342 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003444/0.4775, allocations: 1.311 MB / 0.5355 GB, free: 6.379 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00524/0.4828, allocations: 5.608 MB / 0.541 GB, free: 0.75 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002913/0.4831, allocations: 192 kB / 0.5411 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003458/0.4865, allocations: 2.257 MB / 0.5433 GB, free: 14.28 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003429/0.4899, allocations: 2.041 MB / 0.5453 GB, free: 12.23 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006801/0.4906, allocations: 244 kB / 0.5456 GB, free: 12 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003973/0.4946, allocations: 1.97 MB / 0.5475 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001509/0.4961, allocations: 1.231 MB / 0.5487 GB, free: 8.789 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002768/0.4989, allocations: 1.564 MB / 0.5502 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006508/0.5054, allocations: 4.642 MB / 0.5548 GB, free: 2.562 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.5054, allocations: 0 / 0.5548 GB, free: 2.562 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5054, allocations: 4 kB / 0.5548 GB, free: 2.559 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.1e-05/0.5055, allocations: 0 / 0.5548 GB, free: 2.559 MB / 430.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.009401/0.5149, allocations: 3.565 MB / 0.5582 GB, free: 14.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/0.5149, allocations: 12.03 kB / 0.5583 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001174/0.515, allocations: 62.94 kB / 0.5583 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005913/0.5156, allocations: 378 kB / 0.5587 GB, free: 14.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001866/0.5175, allocations: 335.4 kB / 0.559 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002833/0.5203, allocations: 1.355 MB / 0.5603 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.5205, allocations: 176.9 kB / 0.5605 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004386/0.5209, allocations: 244 kB / 0.5607 GB, free: 12.33 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006949/0.5279, allocations: 3.823 MB / 0.5645 GB, free: 8.461 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.529e-05/0.5279, allocations: 3.984 kB / 0.5645 GB, free: 8.457 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000429/0.5284, allocations: 112 kB / 0.5646 GB, free: 8.348 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-05/0.5284, allocations: 60 kB / 0.5646 GB, free: 8.289 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01052/0.5389, allocations: 5.986 MB / 0.5705 GB, free: 2.285 MB / 446.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.0219/0.5608, allocations: 11.23 MB / 0.5814 GB, free: 6.207 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007424/0.5682, allocations: 4.78 MB / 0.5861 GB, free: 1.41 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003491/0.5717, allocations: 2.244 MB / 0.5883 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006384/0.5724, allocations: 439.3 kB / 0.5887 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/0.5725, allocations: 90.62 kB / 0.5888 GB, free: 14.55 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 7.224e-06/0.5725, allocations: 4 kB / 0.5888 GB, free: 14.55 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.01012/0.5826, allocations: 5.821 MB / 0.5945 GB, free: 8.707 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.033e-05/0.5827, allocations: 98.34 kB / 0.5946 GB, free: 8.598 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.5839, allocations: 0.8713 MB / 0.5954 GB, free: 7.719 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003709/0.5842, allocations: 105.7 kB / 0.5955 GB, free: 7.609 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004119/0.5846, allocations: 0.5359 MB / 0.5961 GB, free: 7.066 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00123/0.5859, allocations: 1.367 MB / 0.5974 GB, free: 5.688 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009631/0.5868, allocations: 0.6216 MB / 0.598 GB, free: 5.059 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.587, allocations: 361.9 kB / 0.5983 GB, free: 4.699 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002924/0.5899, allocations: 1.74 MB / 0.6 GB, free: 2.957 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003453/0.5934, allocations: 2.258 MB / 0.6022 GB, free: 0.5469 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007147/0.6005, allocations: 4.329 MB / 0.6065 GB, free: 12.04 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.597e-05/0.6006, allocations: 8 kB / 0.6065 GB, free: 12.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008649/0.6092, allocations: 4.595 MB / 0.611 GB, free: 7.414 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.142e-05/0.6092, allocations: 14.66 kB / 0.611 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.939e-05/0.6093, allocations: 12 kB / 0.611 GB, free: 7.391 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.921e-05/0.6093, allocations: 28 kB / 0.611 GB, free: 7.363 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003682/0.613, allocations: 0.7944 MB / 0.6118 GB, free: 6.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-05/0.6131, allocations: 31.88 kB / 0.6118 GB, free: 6.539 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/0.6155, allocations: 373.5 kB / 0.6122 GB, free: 6.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003784/0.6159, allocations: 147.9 kB / 0.6123 GB, free: 6.027 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.001615/0.6175, allocations: 0.7621 MB / 0.6131 GB, free: 5.254 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008014/0.6183, allocations: 214.8 kB / 0.6133 GB, free: 5.043 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01059/0.6289, allocations: 5.167 MB / 0.6183 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-05/0.6289, allocations: 47.88 kB / 0.6184 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.767e-05/0.629, allocations: 0 / 0.6184 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.816e-05/0.629, allocations: 23.91 kB / 0.6184 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005693/0.6347, allocations: 2.816 MB / 0.6211 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.649e-05/0.6347, allocations: 7.984 kB / 0.6211 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00365/0.6384, allocations: 0.7293 MB / 0.6219 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.549e-05/0.6385, allocations: 19.98 kB / 0.6219 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000485/0.6389, allocations: 91.95 kB / 0.622 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.863e-05/0.639, allocations: 15.94 kB / 0.622 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.639, allocations: 0 / 0.622 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01287/0.6519, allocations: 7.234 MB / 0.629 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007179/0.6526, allocations: 326.9 kB / 0.6294 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007432/0.6533, allocations: 88.62 kB / 0.6294 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003576/0.6569, allocations: 223.7 kB / 0.6297 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009979/0.6579, allocations: 314.9 kB / 0.63 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007223/0.6586, allocations: 175.9 kB / 0.6301 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001167/0.6598, allocations: 0.6863 MB / 0.6308 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6598, allocations: 0 / 0.6308 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003683/0.6635, allocations: 1.089 MB / 0.6319 GB, free: 1.855 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.01528/0.6787, allocations: 8.158 MB / 0.6398 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00779/0.6865, allocations: 4.118 MB / 0.6438 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/0.6865, allocations: 9 kB / 0.6439 GB, free: 5.52 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003763/0.6903, allocations: 2.107 MB / 0.6459 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006564/0.6969, allocations: 1.243 MB / 0.6471 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2088/0.9056, allocations: 24.66 MB / 0.6712 GB, free: 197.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009193/0.9065, allocations: 1.843 MB / 0.673 GB, free: 196 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003557/0.9101, allocations: 1.777 MB / 0.6747 GB, free: 194.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/0.9114, allocations: 0.8898 MB / 0.6756 GB, free: 193.4 MB / 0.5137 GB Notification: Performance of SimCode: time 9.22e-07/0.9114, allocations: 4 kB / 0.6756 GB, free: 193.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09902/1.01, allocations: 84.13 MB / 0.7578 GB, free: 109.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.28, allocations: 15.73 kB / 0.7578 GB, free: 109 MB / 0.5137 GB " [Timeout remaining time 646] (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: 17.0755939540104]