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.006073/0.006073, allocations: 101.5 kB / 21.96 MB, free: 5.203 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.001563/0.001563, allocations: 217.5 kB / 25.26 MB, free: 3.137 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.306/1.306, allocations: 207.7 MB / 236.1 MB, free: 9.809 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.001739/0.001739, allocations: 49.48 kB / 348 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2355/0.2373, allocations: 49.16 MB / 397.1 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.1542/0.3915, allocations: 131.6 MB / 0.5164 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.393, allocations: 0.9021 MB / 0.5173 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.3932, allocations: 4 kB / 0.5173 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003538/0.3935, allocations: 71.52 kB / 0.5173 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006405/0.3941, allocations: 294.6 kB / 0.5176 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003601/0.3978, allocations: 1.321 MB / 0.5189 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005415/0.4032, allocations: 5.665 MB / 0.5244 GB, free: 6.758 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.4034, allocations: 100.2 kB / 0.5245 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003846/0.4072, allocations: 2.296 MB / 0.5268 GB, free: 4.332 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003673/0.4109, allocations: 2.057 MB / 0.5288 GB, free: 2.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009/0.4118, allocations: 240 kB / 0.529 GB, free: 2.035 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004199/0.416, allocations: 1.716 MB / 0.5307 GB, free: 324 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00173/0.4177, allocations: 1.247 MB / 0.5319 GB, free: 15.07 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002687/0.4204, allocations: 1.406 MB / 0.5333 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006516/0.4269, allocations: 4.623 MB / 0.5378 GB, free: 9.02 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.4269, allocations: 0 / 0.5378 GB, free: 9.02 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.599e-06/0.4269, allocations: 4 kB / 0.5378 GB, free: 9.016 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001161/0.4271, allocations: 0 / 0.5378 GB, free: 9.016 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.009987/0.437, allocations: 3.493 MB / 0.5412 GB, free: 5.473 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.4371, allocations: 19.92 kB / 0.5412 GB, free: 5.453 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.186e-05/0.4372, allocations: 69.06 kB / 0.5413 GB, free: 5.383 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005504/0.4377, allocations: 374 kB / 0.5416 GB, free: 5.008 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001787/0.4395, allocations: 327.4 kB / 0.542 GB, free: 4.688 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002765/0.4423, allocations: 1.34 MB / 0.5433 GB, free: 3.32 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.4424, allocations: 184.9 kB / 0.5434 GB, free: 3.137 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004149/0.4428, allocations: 240 kB / 0.5437 GB, free: 2.902 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007951/0.4508, allocations: 5.936 MB / 0.5495 GB, free: 12.4 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.913e-05/0.4508, allocations: 0 / 0.5495 GB, free: 12.4 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003681/0.4512, allocations: 116 kB / 0.5496 GB, free: 12.29 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.758e-05/0.4513, allocations: 56 kB / 0.5496 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009337/0.4606, allocations: 5.994 MB / 0.5555 GB, free: 6.219 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.1935/0.6541, allocations: 7.64 MB / 0.5629 GB, free: 158.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007146/0.6612, allocations: 4.779 MB / 0.5676 GB, free: 156.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003205/0.6644, allocations: 2.241 MB / 0.5698 GB, free: 155.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004063/0.6648, allocations: 109.9 kB / 0.5699 GB, free: 155.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.687e-05/0.6649, allocations: 95.5 kB / 0.57 GB, free: 155.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 6.622e-06/0.6649, allocations: 0 / 0.57 GB, free: 155.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.008531/0.6734, allocations: 5.826 MB / 0.5757 GB, free: 154.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.6735, allocations: 91.78 kB / 0.5758 GB, free: 154.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000932/0.6744, allocations: 0.8711 MB / 0.5766 GB, free: 153.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003648/0.6748, allocations: 105 kB / 0.5767 GB, free: 153.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002321/0.675, allocations: 0.5267 MB / 0.5772 GB, free: 153.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006915/0.6757, allocations: 1.371 MB / 0.5786 GB, free: 152.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008244/0.6765, allocations: 0.6276 MB / 0.5792 GB, free: 152.1 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.998e-05/0.6766, allocations: 361.1 kB / 0.5795 GB, free: 151.8 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002208/0.6788, allocations: 1.745 MB / 0.5812 GB, free: 151 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002353/0.6812, allocations: 2.263 MB / 0.5834 GB, free: 149.6 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004484/0.6857, allocations: 4.324 MB / 0.5877 GB, free: 147.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.6857, allocations: 4 kB / 0.5877 GB, free: 147.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.005551/0.6912, allocations: 4.6 MB / 0.5922 GB, free: 142.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.6912, allocations: 8 kB / 0.5922 GB, free: 142.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.6913, allocations: 15.75 kB / 0.5922 GB, free: 142.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.202e-05/0.6913, allocations: 28 kB / 0.5922 GB, free: 142.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003112/0.6944, allocations: 0.7958 MB / 0.593 GB, free: 141.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.023e-05/0.6944, allocations: 27.94 kB / 0.593 GB, free: 141.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/0.6964, allocations: 366.6 kB / 0.5934 GB, free: 141.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002358/0.6967, allocations: 143.9 kB / 0.5935 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.001116/0.6978, allocations: 0.7621 MB / 0.5942 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000452/0.6982, allocations: 226.6 kB / 0.5945 GB, free: 140.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00671/0.705, allocations: 5.174 MB / 0.5995 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/0.705, allocations: 40 kB / 0.5996 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/0.705, allocations: 3.5 kB / 0.5996 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.873e-05/0.705, allocations: 23.91 kB / 0.5996 GB, free: 135 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/0.7083, allocations: 2.457 MB / 0.602 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.7083, allocations: 0 / 0.602 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003004/0.7113, allocations: 0.7293 MB / 0.6027 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-05/0.7113, allocations: 15.94 kB / 0.6027 GB, free: 131.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001992/0.7115, allocations: 91.41 kB / 0.6028 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.395e-05/0.7116, allocations: 18.72 kB / 0.6028 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7116, allocations: 4 kB / 0.6028 GB, free: 131.7 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008215/0.7198, allocations: 7.223 MB / 0.6099 GB, free: 124.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007293/0.7205, allocations: 256.2 kB / 0.6101 GB, free: 124.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003735/0.7209, allocations: 91.81 kB / 0.6102 GB, free: 124.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002592/0.7235, allocations: 217.6 kB / 0.6104 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004887/0.724, allocations: 334.4 kB / 0.6107 GB, free: 123.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003221/0.7243, allocations: 175.9 kB / 0.6109 GB, free: 123.4 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0006229/0.7249, allocations: 0.6902 MB / 0.6116 GB, free: 122.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.7249, allocations: 3.938 kB / 0.6116 GB, free: 122.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001857/0.7268, allocations: 1.085 MB / 0.6126 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.00883/0.7356, allocations: 8.146 MB / 0.6206 GB, free: 113.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005148/0.7407, allocations: 4.129 MB / 0.6246 GB, free: 109.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.7407, allocations: 5 kB / 0.6246 GB, free: 109.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002339/0.7431, allocations: 2.099 MB / 0.6267 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.004766/0.7479, allocations: 1.248 MB / 0.6279 GB, free: 106 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02763/0.7755, allocations: 24.66 MB / 0.652 GB, free: 80.72 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008036/0.7763, allocations: 1.256 MB / 0.6532 GB, free: 79.42 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003791/0.7801, allocations: 1.775 MB / 0.6549 GB, free: 77.64 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001289/0.7814, allocations: 0.8898 MB / 0.6558 GB, free: 76.75 MB / 478.1 MB Notification: Performance of SimCode: time 9.11e-07/0.7814, allocations: 0 / 0.6558 GB, free: 76.75 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/0.8908, allocations: 90.61 MB / 0.7443 GB, free: 1.891 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16/16.89, allocations: 12 kB / 0.7443 GB, free: 1.879 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.686907163937576]