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.001698/0.001698, allocations: 109.6 kB / 21.18 MB, free: 0.6992 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.002091/0.002091, allocations: 216.7 kB / 24.5 MB, free: 4.027 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.372/1.372, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.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="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.001827/0.001827, allocations: 51.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2482/0.25, allocations: 49.17 MB / 396.4 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.1795/0.4295, allocations: 153.6 MB / 0.5371 GB, free: 9.117 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.4314, allocations: 0.9644 MB / 0.538 GB, free: 8.152 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.4315, allocations: 0 / 0.538 GB, free: 8.152 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004306/0.432, allocations: 87.48 kB / 0.5381 GB, free: 8.066 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007555/0.4327, allocations: 290.6 kB / 0.5384 GB, free: 7.781 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003982/0.4367, allocations: 1.331 MB / 0.5397 GB, free: 6.453 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006195/0.4429, allocations: 5.673 MB / 0.5452 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002984/0.4432, allocations: 96.22 kB / 0.5453 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00471/0.4479, allocations: 2.269 MB / 0.5475 GB, free: 14.36 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004179/0.4521, allocations: 2.049 MB / 0.5495 GB, free: 12.31 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001117/0.4532, allocations: 236 kB / 0.5498 GB, free: 12.08 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0051/0.4583, allocations: 1.989 MB / 0.5517 GB, free: 10.09 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00202/0.4603, allocations: 1.243 MB / 0.5529 GB, free: 8.844 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003231/0.4636, allocations: 1.561 MB / 0.5545 GB, free: 7.277 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007321/0.4709, allocations: 4.651 MB / 0.559 GB, free: 2.613 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4709, allocations: 4 kB / 0.559 GB, free: 2.609 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4709, allocations: 0 / 0.559 GB, free: 2.609 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001439/0.471, allocations: 0 / 0.559 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.1845/0.6555, allocations: 3.495 MB / 0.5624 GB, free: 162.6 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.6556, allocations: 13.98 kB / 0.5624 GB, free: 162.6 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000684/0.6563, allocations: 371.3 kB / 0.5628 GB, free: 162.4 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001973/0.6582, allocations: 336.4 kB / 0.5631 GB, free: 162.2 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003469/0.6617, allocations: 1.329 MB / 0.5644 GB, free: 161.9 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001609/0.6619, allocations: 183.5 kB / 0.5646 GB, free: 161.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004645/0.6623, allocations: 246.7 kB / 0.5648 GB, free: 161.7 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007094/0.6694, allocations: 3.819 MB / 0.5685 GB, free: 160.6 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.858e-05/0.6695, allocations: 7.875 kB / 0.5685 GB, free: 160.6 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004101/0.6699, allocations: 114.9 kB / 0.5687 GB, free: 160.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.461e-05/0.6699, allocations: 57.75 kB / 0.5687 GB, free: 160.5 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008839/0.6788, allocations: 5.987 MB / 0.5746 GB, free: 158.7 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.01895/0.6977, allocations: 11.26 MB / 0.5856 GB, free: 149.7 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005922/0.7036, allocations: 4.793 MB / 0.5902 GB, free: 144.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002849/0.7065, allocations: 2.24 MB / 0.5924 GB, free: 142.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004731/0.707, allocations: 134.9 kB / 0.5925 GB, free: 142.6 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.907e-05/0.707, allocations: 98.61 kB / 0.5926 GB, free: 142.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 5.641e-06/0.707, allocations: 0 / 0.5926 GB, free: 142.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.008682/0.7157, allocations: 5.824 MB / 0.5983 GB, free: 136.6 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.7158, allocations: 94.03 kB / 0.5984 GB, free: 136.5 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000916/0.7167, allocations: 0.8748 MB / 0.5993 GB, free: 135.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004845/0.7172, allocations: 105.7 kB / 0.5994 GB, free: 135.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002372/0.7174, allocations: 0.5258 MB / 0.5999 GB, free: 135 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008727/0.7183, allocations: 1.369 MB / 0.6012 GB, free: 133.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009488/0.7192, allocations: 0.6294 MB / 0.6018 GB, free: 133 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.594e-05/0.7193, allocations: 357.9 kB / 0.6022 GB, free: 132.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/0.7217, allocations: 1.74 MB / 0.6039 GB, free: 130.9 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002679/0.7244, allocations: 2.254 MB / 0.6061 GB, free: 128.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005468/0.7298, allocations: 4.34 MB / 0.6103 GB, free: 124 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-05/0.7298, allocations: 4 kB / 0.6103 GB, free: 124 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.006953/0.7368, allocations: 4.599 MB / 0.6148 GB, free: 119.4 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.7368, allocations: 8 kB / 0.6148 GB, free: 119.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.7369, allocations: 15.98 kB / 0.6148 GB, free: 119.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.216e-05/0.7369, allocations: 28 kB / 0.6149 GB, free: 119.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003476/0.7404, allocations: 0.7884 MB / 0.6156 GB, free: 118.5 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.587e-05/0.7404, allocations: 35.92 kB / 0.6157 GB, free: 118.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002407/0.7428, allocations: 365.5 kB / 0.616 GB, free: 118.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004676/0.7433, allocations: 147.9 kB / 0.6162 GB, free: 118 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.00157/0.7449, allocations: 0.7582 MB / 0.6169 GB, free: 117.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008045/0.7457, allocations: 218.8 kB / 0.6171 GB, free: 117 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008541/0.7542, allocations: 5.18 MB / 0.6222 GB, free: 111.8 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-05/0.7543, allocations: 40 kB / 0.6222 GB, free: 111.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/0.7543, allocations: 0 / 0.6222 GB, free: 111.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.696e-05/0.7543, allocations: 19.92 kB / 0.6222 GB, free: 111.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004183/0.7585, allocations: 2.804 MB / 0.625 GB, free: 108.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-05/0.7585, allocations: 0 / 0.625 GB, free: 108.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003369/0.7619, allocations: 0.7255 MB / 0.6257 GB, free: 108.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.184e-05/0.7619, allocations: 16 kB / 0.6257 GB, free: 108.2 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004104/0.7624, allocations: 91.97 kB / 0.6258 GB, free: 108.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.699e-05/0.7624, allocations: 19.92 kB / 0.6258 GB, free: 108 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.7624, allocations: 4 kB / 0.6258 GB, free: 108 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009546/0.7719, allocations: 7.234 MB / 0.6329 GB, free: 100.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000469/0.7724, allocations: 245.8 kB / 0.6331 GB, free: 100.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004768/0.7729, allocations: 83.88 kB / 0.6332 GB, free: 100.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002735/0.7756, allocations: 223.8 kB / 0.6334 GB, free: 100.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005497/0.7762, allocations: 330.8 kB / 0.6337 GB, free: 99.89 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004244/0.7766, allocations: 179.9 kB / 0.6339 GB, free: 99.72 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007221/0.7773, allocations: 0.6824 MB / 0.6345 GB, free: 99.04 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7773, allocations: 0 / 0.6345 GB, free: 99.04 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002241/0.7796, allocations: 1.089 MB / 0.6356 GB, free: 97.95 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.009938/0.7895, allocations: 8.146 MB / 0.6436 GB, free: 89.76 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005669/0.7952, allocations: 4.133 MB / 0.6476 GB, free: 85.62 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.7952, allocations: 5 kB / 0.6476 GB, free: 85.62 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002686/0.7979, allocations: 2.099 MB / 0.6496 GB, free: 83.52 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0053/0.8032, allocations: 1.252 MB / 0.6509 GB, free: 82.27 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03234/0.8355, allocations: 24.66 MB / 0.675 GB, free: 56.99 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.8366, allocations: 1.845 MB / 0.6768 GB, free: 55.11 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004577/0.8412, allocations: 1.779 MB / 0.6785 GB, free: 53.32 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001688/0.8428, allocations: 0.8819 MB / 0.6794 GB, free: 52.44 MB / 478.1 MB Notification: Performance of SimCode: time 9.31e-07/0.8429, allocations: 4 kB / 0.6794 GB, free: 52.43 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2956/1.138, allocations: 87.14 MB / 0.7645 GB, free: 165.5 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.49/17.63, allocations: 6.75 kB / 0.7645 GB, free: 165.5 MB / 494.1 MB " [Timeout remaining time 642] (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: 20.160594569984823]