Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.PsychrometricData.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001495/0.001495, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001678/0.001678, allocations: 214.8 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 230.5 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_PsychrometricData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_PsychrometricData",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001777/0.001777, allocations: 59.91 kB / 378.5 MB, free: 2.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2449, allocations: 53.4 MB / 431.9 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3845/0.6294, allocations: 133.4 MB / 0.5521 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.6304, allocations: 0.6525 MB / 0.5527 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.93e-05/0.6305, allocations: 3.656 kB / 0.5527 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003798/0.6309, allocations: 75.72 kB / 0.5528 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005766/0.6315, allocations: 299 kB / 0.5531 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002521/0.634, allocations: 1.143 MB / 0.5542 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003761/0.6378, allocations: 5.659 MB / 0.5597 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002659/0.638, allocations: 98.62 kB / 0.5598 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003304/0.6413, allocations: 2.304 MB / 0.5621 GB, free: 15.59 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003168/0.6445, allocations: 2.054 MB / 0.5641 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007419/0.6453, allocations: 236 kB / 0.5643 GB, free: 15.58 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003607/0.6489, allocations: 1.571 MB / 0.5658 GB, free: 15.56 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001419/0.6503, allocations: 1.248 MB / 0.567 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002732/0.653, allocations: 1.405 MB / 0.5684 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005247/0.6583, allocations: 4.545 MB / 0.5729 GB, free: 15.11 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.6583, allocations: 0 / 0.5729 GB, free: 15.11 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.6583, allocations: 0 / 0.5729 GB, free: 15.11 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.533e-05/0.6583, allocations: 0 / 0.5729 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.009502/0.6679, allocations: 3.481 MB / 0.5763 GB, free: 13.96 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.6679, allocations: 8.312 kB / 0.5763 GB, free: 13.96 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.485e-05/0.668, allocations: 63.22 kB / 0.5763 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006005/0.6686, allocations: 383.5 kB / 0.5767 GB, free: 13.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001871/0.6704, allocations: 331.7 kB / 0.577 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002712/0.6732, allocations: 1.332 MB / 0.5783 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.6733, allocations: 186.9 kB / 0.5785 GB, free: 13.21 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003978/0.6737, allocations: 249.3 kB / 0.5787 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007205/0.6809, allocations: 5.938 MB / 0.5845 GB, free: 9.422 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.858e-05/0.6809, allocations: 3.984 kB / 0.5845 GB, free: 9.418 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003813/0.6813, allocations: 118.8 kB / 0.5846 GB, free: 9.418 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.157e-05/0.6813, allocations: 55.84 kB / 0.5847 GB, free: 9.418 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008093/0.6894, allocations: 5.993 MB / 0.5905 GB, free: 7.719 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.01896/0.7084, allocations: 7.643 MB / 0.598 GB, free: 2.102 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007662/0.716, allocations: 4.771 MB / 0.6027 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003903/0.7199, allocations: 2.24 MB / 0.6049 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005108/0.7205, allocations: 115 kB / 0.605 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.7206, allocations: 96.97 kB / 0.6051 GB, free: 10.86 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 6.442e-06/0.7206, allocations: 0 / 0.6051 GB, free: 10.86 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.01063/0.7312, allocations: 5.825 MB / 0.6107 GB, free: 5.012 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.319e-05/0.7313, allocations: 92.62 kB / 0.6108 GB, free: 4.91 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/0.7326, allocations: 0.8752 MB / 0.6117 GB, free: 4.023 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004432/0.733, allocations: 105.7 kB / 0.6118 GB, free: 3.914 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004549/0.7335, allocations: 0.5289 MB / 0.6123 GB, free: 3.379 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001399/0.7349, allocations: 1.364 MB / 0.6136 GB, free: 2.035 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/0.7359, allocations: 0.6294 MB / 0.6142 GB, free: 1.398 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.7361, allocations: 357.9 kB / 0.6146 GB, free: 1.043 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002866/0.7389, allocations: 1.745 MB / 0.6163 GB, free: 15.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003272/0.7422, allocations: 2.256 MB / 0.6185 GB, free: 12.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006629/0.7488, allocations: 4.336 MB / 0.6227 GB, free: 8.426 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.251e-05/0.7489, allocations: 4 kB / 0.6227 GB, free: 8.422 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007858/0.7567, allocations: 4.593 MB / 0.6272 GB, free: 3.867 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.536e-05/0.7568, allocations: 8 kB / 0.6272 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/0.7568, allocations: 12 kB / 0.6272 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.844e-05/0.7568, allocations: 32.75 kB / 0.6273 GB, free: 3.816 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003816/0.7606, allocations: 0.7918 MB / 0.628 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.421e-05/0.7607, allocations: 37.05 kB / 0.6281 GB, free: 3.039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002542/0.7633, allocations: 365.5 kB / 0.6284 GB, free: 2.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004706/0.7637, allocations: 148.8 kB / 0.6286 GB, free: 2.535 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.001752/0.7655, allocations: 0.7531 MB / 0.6293 GB, free: 1.816 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008869/0.7664, allocations: 218.8 kB / 0.6295 GB, free: 1.602 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009321/0.7757, allocations: 5.173 MB / 0.6346 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.641e-05/0.7757, allocations: 43.98 kB / 0.6346 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.7757, allocations: 0 / 0.6346 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.382e-05/0.7758, allocations: 19.92 kB / 0.6346 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004816/0.7806, allocations: 2.463 MB / 0.637 GB, free: 9.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/0.7806, allocations: 4 kB / 0.637 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003917/0.7845, allocations: 0.7309 MB / 0.6378 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.916e-05/0.7846, allocations: 16 kB / 0.6378 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003316/0.7849, allocations: 103.9 kB / 0.6379 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-05/0.7849, allocations: 17.58 kB / 0.6379 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7849, allocations: 2.438 kB / 0.6379 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/0.7969, allocations: 7.223 MB / 0.6449 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006813/0.7975, allocations: 253.8 kB / 0.6452 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004583/0.798, allocations: 87.81 kB / 0.6453 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002829/0.8008, allocations: 223.8 kB / 0.6455 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006562/0.8015, allocations: 325.4 kB / 0.6458 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004213/0.8019, allocations: 179.9 kB / 0.646 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009425/0.8028, allocations: 0.6824 MB / 0.6466 GB, free: 108 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.8028, allocations: 4 kB / 0.6466 GB, free: 104 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002644/0.8055, allocations: 1.089 MB / 0.6477 GB, free: 15.01 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.01286/0.8183, allocations: 8.108 MB / 0.6556 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00804/0.8264, allocations: 4.12 MB / 0.6596 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/0.8264, allocations: 9 kB / 0.6596 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003873/0.8303, allocations: 2.105 MB / 0.6617 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006431/0.8367, allocations: 1.261 MB / 0.6629 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04733/0.884, allocations: 24.66 MB / 0.687 GB, free: 6.332 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001663/0.8857, allocations: 1.265 MB / 0.6882 GB, free: 5.023 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005844/0.8915, allocations: 1.771 MB / 0.69 GB, free: 3.246 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00211/0.8937, allocations: 0.8898 MB / 0.6908 GB, free: 2.355 MB / 0.545 GB Notification: Performance of SimCode: time 1.202e-06/0.8937, allocations: 0 / 0.6908 GB, free: 2.355 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3335/1.227, allocations: 90.27 MB / 0.779 GB, free: 289.2 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.45/17.68, allocations: 6.5 kB / 0.779 GB, free: 289.2 MB / 0.6231 GB " [Timeout remaining time 642] (rm -f Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.PsychrometricData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.PsychrometricData_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_PsychrometricData_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_PsychrometricData.fmu > Modelica_trunk_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.466331779025495]