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.004762/0.004762, allocations: 113.2 kB / 21.97 MB, free: 5.25 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.001338/0.001338, allocations: 206.4 kB / 25.27 MB, free: 3.238 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.305/1.305, allocations: 207.6 MB / 236 MB, free: 9.98 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="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.001606/0.001606, allocations: 54.89 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2252/0.2268, allocations: 49.15 MB / 397.1 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.1694/0.3962, allocations: 153.6 MB / 0.5379 GB, free: 9.117 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001582/0.3978, allocations: 0.9605 MB / 0.5388 GB, free: 8.156 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.932e-05/0.3979, allocations: 3.938 kB / 0.5388 GB, free: 8.152 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000345/0.3982, allocations: 91.48 kB / 0.5389 GB, free: 8.062 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005665/0.3988, allocations: 290.6 kB / 0.5392 GB, free: 7.777 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003433/0.4022, allocations: 1.316 MB / 0.5405 GB, free: 6.461 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005376/0.4076, allocations: 5.673 MB / 0.546 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.4078, allocations: 104.2 kB / 0.5461 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003636/0.4114, allocations: 2.274 MB / 0.5483 GB, free: 14.36 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003818/0.4152, allocations: 2.049 MB / 0.5503 GB, free: 12.31 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007233/0.416, allocations: 236 kB / 0.5505 GB, free: 12.08 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00476/0.4207, allocations: 1.989 MB / 0.5525 GB, free: 10.09 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001847/0.4226, allocations: 1.247 MB / 0.5537 GB, free: 8.84 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002736/0.4253, allocations: 1.565 MB / 0.5552 GB, free: 7.27 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006221/0.4315, allocations: 4.646 MB / 0.5598 GB, free: 2.609 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.4315, allocations: 0 / 0.5598 GB, free: 2.609 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4315, allocations: 0 / 0.5598 GB, free: 2.609 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.659e-05/0.4316, allocations: 0 / 0.5598 GB, free: 2.609 MB / 478.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.1611/0.5927, allocations: 3.495 MB / 0.5632 GB, free: 162.6 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.5927, allocations: 13.98 kB / 0.5632 GB, free: 162.6 MB / 478.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.533e-05/0.5928, allocations: 63.69 kB / 0.5633 GB, free: 162.6 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005318/0.5933, allocations: 373.5 kB / 0.5636 GB, free: 162.4 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/0.595, allocations: 336.2 kB / 0.5639 GB, free: 162.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/0.5977, allocations: 1.333 MB / 0.5652 GB, free: 161.8 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.5978, allocations: 183.2 kB / 0.5654 GB, free: 161.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003797/0.5982, allocations: 242.4 kB / 0.5656 GB, free: 161.7 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005966/0.6042, allocations: 3.827 MB / 0.5694 GB, free: 160.6 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/0.6042, allocations: 0 / 0.5694 GB, free: 160.6 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003278/0.6045, allocations: 114 kB / 0.5695 GB, free: 160.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.194e-05/0.6046, allocations: 58.78 kB / 0.5695 GB, free: 160.5 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007593/0.6122, allocations: 5.985 MB / 0.5754 GB, free: 158.6 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.01616/0.6283, allocations: 11.26 MB / 0.5864 GB, free: 149.7 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004938/0.6333, allocations: 4.789 MB / 0.5911 GB, free: 144.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002323/0.6356, allocations: 2.243 MB / 0.5932 GB, free: 142.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003399/0.6359, allocations: 134.9 kB / 0.5934 GB, free: 142.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.58e-05/0.636, allocations: 94.62 kB / 0.5935 GB, free: 142.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 5.46e-06/0.636, allocations: 0 / 0.5935 GB, free: 142.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.006999/0.643, allocations: 5.822 MB / 0.5992 GB, free: 136.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.643, allocations: 102.1 kB / 0.5993 GB, free: 136.4 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007082/0.6437, allocations: 0.8694 MB / 0.6001 GB, free: 135.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000263/0.644, allocations: 105.7 kB / 0.6002 GB, free: 135.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.6442, allocations: 0.5196 MB / 0.6007 GB, free: 135 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005847/0.6448, allocations: 1.372 MB / 0.602 GB, free: 133.6 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007073/0.6455, allocations: 0.6294 MB / 0.6027 GB, free: 133 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.73e-05/0.6455, allocations: 357.9 kB / 0.603 GB, free: 132.6 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/0.6475, allocations: 1.748 MB / 0.6047 GB, free: 130.9 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/0.6497, allocations: 2.254 MB / 0.6069 GB, free: 128.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004486/0.6542, allocations: 4.336 MB / 0.6111 GB, free: 123.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/0.6542, allocations: 7.938 kB / 0.6112 GB, free: 123.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.00548/0.6597, allocations: 4.591 MB / 0.6156 GB, free: 119.3 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.6597, allocations: 12.03 kB / 0.6157 GB, free: 119.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.6597, allocations: 12 kB / 0.6157 GB, free: 119.3 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.019e-05/0.6598, allocations: 31.98 kB / 0.6157 GB, free: 119.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00301/0.6628, allocations: 0.784 MB / 0.6165 GB, free: 118.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.231e-05/0.6628, allocations: 35.92 kB / 0.6165 GB, free: 118.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.6647, allocations: 370 kB / 0.6168 GB, free: 118.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/0.665, allocations: 147.9 kB / 0.617 GB, free: 117.9 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.001078/0.666, allocations: 0.7583 MB / 0.6177 GB, free: 117.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004473/0.6665, allocations: 218.8 kB / 0.6179 GB, free: 117 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006655/0.6731, allocations: 5.176 MB / 0.623 GB, free: 111.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/0.6732, allocations: 47.94 kB / 0.623 GB, free: 111.7 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.6732, allocations: 1.312 kB / 0.623 GB, free: 111.7 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.882e-05/0.6732, allocations: 19.92 kB / 0.6231 GB, free: 111.7 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003042/0.6762, allocations: 2.803 MB / 0.6258 GB, free: 108.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.6762, allocations: 0 / 0.6258 GB, free: 108.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002863/0.6791, allocations: 0.7255 MB / 0.6265 GB, free: 108.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/0.6791, allocations: 16 kB / 0.6265 GB, free: 108.1 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001837/0.6793, allocations: 91.97 kB / 0.6266 GB, free: 108 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-05/0.6793, allocations: 15.98 kB / 0.6266 GB, free: 108 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6793, allocations: 3.938 kB / 0.6266 GB, free: 108 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007633/0.687, allocations: 7.226 MB / 0.6337 GB, free: 100.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003289/0.6873, allocations: 250.8 kB / 0.6339 GB, free: 100.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003171/0.6876, allocations: 83.88 kB / 0.634 GB, free: 100.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002471/0.6901, allocations: 227.8 kB / 0.6342 GB, free: 100.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004488/0.6905, allocations: 326.8 kB / 0.6345 GB, free: 99.83 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002844/0.6908, allocations: 179.9 kB / 0.6347 GB, free: 99.66 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005856/0.6914, allocations: 0.6824 MB / 0.6354 GB, free: 98.98 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.6914, allocations: 0 / 0.6354 GB, free: 98.98 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0018/0.6932, allocations: 1.089 MB / 0.6364 GB, free: 97.89 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.008772/0.702, allocations: 8.147 MB / 0.6444 GB, free: 89.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004997/0.707, allocations: 4.122 MB / 0.6484 GB, free: 85.57 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/0.707, allocations: 9 kB / 0.6484 GB, free: 85.56 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002252/0.7092, allocations: 2.111 MB / 0.6505 GB, free: 83.45 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004852/0.7141, allocations: 1.251 MB / 0.6517 GB, free: 82.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02681/0.7409, allocations: 24.65 MB / 0.6758 GB, free: 56.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008131/0.7417, allocations: 1.845 MB / 0.6776 GB, free: 55.04 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003619/0.7453, allocations: 1.771 MB / 0.6793 GB, free: 53.27 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001244/0.7466, allocations: 0.8937 MB / 0.6802 GB, free: 52.37 MB / 478.1 MB Notification: Performance of SimCode: time 7.52e-07/0.7466, allocations: 0 / 0.6802 GB, free: 52.37 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.265/1.012, allocations: 87.17 MB / 0.7653 GB, free: 165.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.92/16.94, allocations: 4.438 kB / 0.7653 GB, free: 165.4 MB / 494.1 MB " [Timeout remaining time 643] (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: 19.56640111102024]