Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001538/0.001538, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001688/0.001688, allocations: 203.5 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.391/1.391, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_PsychrometricData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 47.92 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2347, allocations: 53.37 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3793/0.614, allocations: 133.5 MB / 0.5514 GB, free: 15.74 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.615, allocations: 0.651 MB / 0.552 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.001e-05/0.6151, allocations: 3.594 kB / 0.552 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.6154, allocations: 78.64 kB / 0.5521 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005327/0.6159, allocations: 293.6 kB / 0.5523 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002551/0.6185, allocations: 1.139 MB / 0.5535 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003872/0.6224, allocations: 5.669 MB / 0.559 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002426/0.6226, allocations: 91.19 kB / 0.5591 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003418/0.626, allocations: 2.303 MB / 0.5613 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003441/0.6295, allocations: 2.055 MB / 0.5633 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006342/0.6301, allocations: 238.9 kB / 0.5636 GB, free: 15.57 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003383/0.6335, allocations: 1.565 MB / 0.5651 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001214/0.6347, allocations: 1.246 MB / 0.5663 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002249/0.637, allocations: 1.403 MB / 0.5677 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004419/0.6414, allocations: 4.548 MB / 0.5721 GB, free: 15.11 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6414, allocations: 2.781 kB / 0.5721 GB, free: 15.11 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.6414, allocations: 0 / 0.5721 GB, free: 15.11 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.899e-05/0.6414, allocations: 0 / 0.5721 GB, free: 15.11 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.009205/0.6506, allocations: 3.483 MB / 0.5755 GB, free: 13.98 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.6507, allocations: 9.719 kB / 0.5755 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005405/0.6512, allocations: 373 kB / 0.5759 GB, free: 13.88 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001836/0.6531, allocations: 336.9 kB / 0.5762 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003347/0.6564, allocations: 1.341 MB / 0.5775 GB, free: 13.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.6565, allocations: 183.3 kB / 0.5777 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004238/0.657, allocations: 247.5 kB / 0.5779 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007191/0.6642, allocations: 5.938 MB / 0.5837 GB, free: 9.449 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.89e-05/0.6642, allocations: 2.375 kB / 0.5837 GB, free: 9.449 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003966/0.6646, allocations: 112.2 kB / 0.5838 GB, free: 9.449 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/0.6646, allocations: 58.59 kB / 0.5839 GB, free: 9.449 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008295/0.6729, allocations: 5.875 MB / 0.5896 GB, free: 7.801 MB / 462.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.02113/0.6941, allocations: 7.646 MB / 0.5971 GB, free: 2.383 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007611/0.7017, allocations: 4.767 MB / 0.6018 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003656/0.7053, allocations: 2.247 MB / 0.604 GB, free: 11.35 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004303/0.7058, allocations: 111 kB / 0.6041 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.935e-05/0.7059, allocations: 94.62 kB / 0.6041 GB, free: 11.14 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 5.78e-06/0.7059, allocations: 0 / 0.6041 GB, free: 11.14 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.01015/0.716, allocations: 5.831 MB / 0.6098 GB, free: 5.289 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.7161, allocations: 90.47 kB / 0.6099 GB, free: 5.188 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.7173, allocations: 0.8867 MB / 0.6108 GB, free: 4.289 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004966/0.7178, allocations: 105.7 kB / 0.6109 GB, free: 4.18 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004269/0.7182, allocations: 0.5293 MB / 0.6114 GB, free: 3.648 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001358/0.7196, allocations: 1.369 MB / 0.6127 GB, free: 2.297 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001018/0.7206, allocations: 0.6255 MB / 0.6134 GB, free: 1.664 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.7208, allocations: 357.9 kB / 0.6137 GB, free: 1.309 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002922/0.7237, allocations: 1.746 MB / 0.6154 GB, free: 15.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003433/0.7271, allocations: 2.266 MB / 0.6176 GB, free: 13.15 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006921/0.7341, allocations: 4.322 MB / 0.6218 GB, free: 8.691 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.028e-05/0.7341, allocations: 6.344 kB / 0.6218 GB, free: 8.688 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008358/0.7424, allocations: 4.594 MB / 0.6263 GB, free: 4.133 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.7425, allocations: 8.125 kB / 0.6263 GB, free: 4.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/0.7425, allocations: 16 kB / 0.6264 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.463e-05/0.7425, allocations: 31.94 kB / 0.6264 GB, free: 4.078 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003872/0.7464, allocations: 0.786 MB / 0.6272 GB, free: 3.336 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.851e-05/0.7465, allocations: 34.56 kB / 0.6272 GB, free: 3.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/0.749, allocations: 366.4 kB / 0.6275 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003268/0.7493, allocations: 147.9 kB / 0.6277 GB, free: 2.805 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.001548/0.7508, allocations: 0.7643 MB / 0.6284 GB, free: 2.074 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006705/0.7515, allocations: 218.8 kB / 0.6286 GB, free: 1.859 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009497/0.761, allocations: 5.169 MB / 0.6337 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.819e-05/0.7611, allocations: 47.94 kB / 0.6337 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.7611, allocations: 0 / 0.6337 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.91e-05/0.7611, allocations: 27.84 kB / 0.6338 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004689/0.7658, allocations: 2.46 MB / 0.6362 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.7658, allocations: 3.938 kB / 0.6362 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00359/0.7694, allocations: 0.7269 MB / 0.6369 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.213e-05/0.7694, allocations: 16 kB / 0.6369 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002665/0.7697, allocations: 91.95 kB / 0.637 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.096e-05/0.7697, allocations: 19.94 kB / 0.637 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.7697, allocations: 6.531 kB / 0.637 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/0.7813, allocations: 7.223 MB / 0.6441 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007211/0.7821, allocations: 249.8 kB / 0.6443 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004575/0.7825, allocations: 83.94 kB / 0.6444 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003035/0.7856, allocations: 223.7 kB / 0.6446 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007102/0.7863, allocations: 326.8 kB / 0.6449 GB, free: 1.223 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004893/0.7868, allocations: 179.9 kB / 0.6451 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001015/0.7878, allocations: 0.685 MB / 0.6457 GB, free: 376 kB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.7878, allocations: 4 kB / 0.6457 GB, free: 372 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003057/0.7908, allocations: 1.093 MB / 0.6468 GB, free: 15.27 MB / 0.5137 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.01318/0.804, allocations: 8.118 MB / 0.6547 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007542/0.8115, allocations: 4.12 MB / 0.6588 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/0.8116, allocations: 5.688 kB / 0.6588 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003577/0.8151, allocations: 2.106 MB / 0.6608 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005539/0.8207, allocations: 1.248 MB / 0.662 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03998/0.8607, allocations: 24.65 MB / 0.6861 GB, free: 6.602 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001339/0.862, allocations: 1.261 MB / 0.6873 GB, free: 5.297 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004896/0.8669, allocations: 1.775 MB / 0.6891 GB, free: 3.516 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001793/0.8687, allocations: 0.8898 MB / 0.6899 GB, free: 2.625 MB / 0.545 GB Notification: Performance of SimCode: time 1.363e-06/0.8687, allocations: 0 / 0.6899 GB, free: 2.625 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3246/1.193, allocations: 90.81 MB / 0.7786 GB, free: 292.3 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/15.48, allocations: 2.656 kB / 0.7786 GB, free: 292.3 MB / 0.6231 GB " [Timeout remaining time 644] (rm -f Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.PsychrometricData_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 18.057729215011932]