Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008332/0.0008332, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007833/0.0007833, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8464/0.8464, allocations: 173.3 MB / 200.4 MB, free: 9.445 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 318.4 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.041e-05, allocations: 2.281 kB / 318.4 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.1005/0.1005, allocations: 130.6 MB / 449.1 MB, free: 3.215 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009182/0.1014, allocations: 0.6632 MB / 449.7 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.086e-05/0.1015, allocations: 0 / 449.7 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.1019, allocations: 79.5 kB / 449.8 MB, free: 2.469 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004622/0.1023, allocations: 302.3 kB / 450.1 MB, free: 2.172 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002055/0.1044, allocations: 1.163 MB / 451.3 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1694/0.2738, allocations: 5.677 MB / 456.9 MB, free: 6.254 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.274, allocations: 90.91 kB / 457 MB, free: 6.195 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00326/0.2772, allocations: 2.966 MB / 460 MB, free: 6.195 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001877/0.2791, allocations: 2.103 MB / 462.1 MB, free: 6.188 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003796/0.2795, allocations: 239.7 kB / 462.3 MB, free: 6.188 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.2814, allocations: 1.488 MB / 463.8 MB, free: 6.148 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007001/0.2821, allocations: 1.27 MB / 465.1 MB, free: 6.059 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009599/0.2831, allocations: 1.264 MB / 466.3 MB, free: 5.977 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002718/0.2858, allocations: 4.947 MB / 471.3 MB, free: 5.668 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2858, allocations: 0.7812 kB / 471.3 MB, free: 5.668 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2858, allocations: 0 / 471.3 MB, free: 5.668 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.565e-05/0.2858, allocations: 0.8438 kB / 471.3 MB, free: 5.668 MB / 410.7 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.004007/0.2899, allocations: 3.454 MB / 474.8 MB, free: 4.652 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.2899, allocations: 9.797 kB / 474.8 MB, free: 4.652 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003259/0.2902, allocations: 376 kB / 475.1 MB, free: 4.602 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009164/0.2911, allocations: 335.7 kB / 475.5 MB, free: 4.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.2926, allocations: 1.328 MB / 476.8 MB, free: 4.211 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-05/0.2927, allocations: 181.5 kB / 477 MB, free: 4.203 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002389/0.2929, allocations: 249.7 kB / 477.2 MB, free: 4.195 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003548/0.2965, allocations: 5.942 MB / 483.1 MB, free: 1.434 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/0.2965, allocations: 0.7188 kB / 483.1 MB, free: 1.434 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002404/0.2967, allocations: 111.6 kB / 483.3 MB, free: 1.434 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.2968, allocations: 60.84 kB / 483.3 MB, free: 1.434 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004851/0.3016, allocations: 5.872 MB / 489.2 MB, free: 1.402 MB / 410.7 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.00956/0.3112, allocations: 7.637 MB / 496.8 MB, free: 64 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005209/0.3164, allocations: 4.874 MB / 0.4899 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002445/0.3188, allocations: 2.242 MB / 0.4921 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003175/0.3191, allocations: 111.9 kB / 0.4922 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.929e-05/0.3192, allocations: 101.1 kB / 0.4923 GB, free: 13.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 5.41e-06/0.3192, allocations: 1.031 kB / 0.4923 GB, free: 13.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.005991/0.3252, allocations: 5.822 MB / 0.498 GB, free: 7.254 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.3253, allocations: 91.44 kB / 0.4981 GB, free: 7.152 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006948/0.326, allocations: 0.8868 MB / 0.499 GB, free: 6.258 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001985/0.3262, allocations: 101.7 kB / 0.4991 GB, free: 6.152 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003721/0.3265, allocations: 0.5359 MB / 0.4996 GB, free: 5.613 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006553/0.3272, allocations: 1.357 MB / 0.5009 GB, free: 4.277 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006009/0.3278, allocations: 0.6263 MB / 0.5015 GB, free: 3.645 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.3279, allocations: 361.9 kB / 0.5019 GB, free: 3.285 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/0.3296, allocations: 1.741 MB / 0.5036 GB, free: 1.539 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002003/0.3316, allocations: 2.262 MB / 0.5058 GB, free: 15.12 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004227/0.3358, allocations: 4.332 MB / 0.51 GB, free: 10.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/0.3359, allocations: 7.469 kB / 0.51 GB, free: 10.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.004832/0.3407, allocations: 4.592 MB / 0.5145 GB, free: 6.133 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/0.3407, allocations: 8 kB / 0.5145 GB, free: 6.125 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.3407, allocations: 12 kB / 0.5145 GB, free: 6.113 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.869e-05/0.3408, allocations: 29.03 kB / 0.5146 GB, free: 6.086 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001777/0.3425, allocations: 0.7921 MB / 0.5153 GB, free: 5.344 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.506e-05/0.3426, allocations: 31.09 kB / 0.5154 GB, free: 5.316 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.3437, allocations: 366.6 kB / 0.5157 GB, free: 4.961 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000185/0.3439, allocations: 144.9 kB / 0.5158 GB, free: 4.82 MB / 442.7 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.0009575/0.3449, allocations: 0.7668 MB / 0.5166 GB, free: 4.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003273/0.3452, allocations: 218.8 kB / 0.5168 GB, free: 3.875 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005352/0.3505, allocations: 5.168 MB / 0.5218 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/0.3506, allocations: 41 kB / 0.5219 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.535e-06/0.3506, allocations: 0 / 0.5219 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.071e-05/0.3506, allocations: 20.95 kB / 0.5219 GB, free: 14.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.353, allocations: 2.469 MB / 0.5243 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.3531, allocations: 0 / 0.5243 GB, free: 12.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001622/0.3547, allocations: 0.7324 MB / 0.525 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.224e-05/0.3547, allocations: 13 kB / 0.525 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001379/0.3548, allocations: 91.97 kB / 0.5251 GB, free: 11.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.19e-05/0.3548, allocations: 16.78 kB / 0.5251 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3548, allocations: 0 / 0.5251 GB, free: 11.43 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00697/0.3618, allocations: 7.232 MB / 0.5322 GB, free: 4.156 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002367/0.362, allocations: 253.8 kB / 0.5325 GB, free: 3.906 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/0.3623, allocations: 88.03 kB / 0.5325 GB, free: 3.824 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.3635, allocations: 222.5 kB / 0.5327 GB, free: 3.613 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003595/0.3638, allocations: 331.5 kB / 0.5331 GB, free: 3.293 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000217/0.364, allocations: 175.9 kB / 0.5332 GB, free: 3.121 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005438/0.3646, allocations: 0.6834 MB / 0.5339 GB, free: 2.445 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3646, allocations: 0 / 0.5339 GB, free: 2.445 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001781/0.3664, allocations: 1.085 MB / 0.535 GB, free: 1.359 MB / 458.7 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.007768/0.3741, allocations: 8.139 MB / 0.5429 GB, free: 9.242 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004081/0.3782, allocations: 4.121 MB / 0.5469 GB, free: 5.184 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.3782, allocations: 9.781 kB / 0.5469 GB, free: 5.176 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00214/0.3804, allocations: 2.103 MB / 0.549 GB, free: 3.156 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/0.3831, allocations: 1.248 MB / 0.5502 GB, free: 1.973 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02407/0.4072, allocations: 24.49 MB / 0.5741 GB, free: 8.98 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008504/0.4081, allocations: 1.27 MB / 0.5754 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002987/0.411, allocations: 1.771 MB / 0.5771 GB, free: 5.891 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/0.4121, allocations: 0.8946 MB / 0.578 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of SimCode: time 8.12e-07/0.4121, allocations: 0 / 0.578 GB, free: 4.996 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2025/0.6147, allocations: 88.97 MB / 0.6649 GB, free: 272.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.541/10.16, allocations: 2.656 kB / 0.6649 GB, free: 272.7 MB / 0.5573 GB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 11.926024795509875]