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.000812/0.000812, allocations: 79.69 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.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.000802/0.000802, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8278/0.8278, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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 1.062e-06/1.062e-06, allocations: 0 / 324.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.796e-06/9.858e-06, allocations: 4.953 kB / 324.6 MB, free: 15.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.2628/0.2628, allocations: 133.6 MB / 458.1 MB, free: 5.445 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007516/0.2636, allocations: 0.6577 MB / 458.8 MB, free: 5.434 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.919e-05/0.2636, allocations: 5.844 kB / 458.8 MB, free: 5.434 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003135/0.2639, allocations: 72.78 kB / 458.8 MB, free: 5.434 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004304/0.2644, allocations: 310.1 kB / 459.1 MB, free: 5.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001871/0.2662, allocations: 1.151 MB / 460.3 MB, free: 5.383 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002427/0.2687, allocations: 5.694 MB / 466 MB, free: 5.074 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.2688, allocations: 89.06 kB / 466.1 MB, free: 5.012 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.2706, allocations: 2.966 MB / 469 MB, free: 4.883 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.272, allocations: 2.102 MB / 471.1 MB, free: 4.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002532/0.2722, allocations: 235.8 kB / 471.4 MB, free: 4.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.2739, allocations: 1.536 MB / 472.9 MB, free: 4.707 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000632/0.2745, allocations: 1.276 MB / 474.2 MB, free: 4.605 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008024/0.2753, allocations: 1.264 MB / 475.5 MB, free: 4.523 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002567/0.2779, allocations: 4.968 MB / 480.4 MB, free: 4.188 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2779, allocations: 0 / 480.4 MB, free: 4.188 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2779, allocations: 0 / 480.4 MB, free: 4.188 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.324e-05/0.2779, allocations: 3 kB / 480.4 MB, free: 4.188 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.003895/0.2818, allocations: 3.467 MB / 483.9 MB, free: 3.109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.576e-05/0.2819, allocations: 12 kB / 483.9 MB, free: 3.109 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003175/0.2822, allocations: 373.8 kB / 484.3 MB, free: 3.059 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008851/0.2831, allocations: 333 kB / 484.6 MB, free: 2.938 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001435/0.2845, allocations: 1.331 MB / 485.9 MB, free: 2.652 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.306e-05/0.2846, allocations: 181.1 kB / 486.1 MB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.2848, allocations: 243.1 kB / 486.3 MB, free: 2.641 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003747/0.2885, allocations: 5.945 MB / 492.3 MB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.2886, allocations: 1.5 kB / 492.3 MB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000226/0.2888, allocations: 113 kB / 492.4 MB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.2888, allocations: 59.97 kB / 492.5 MB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004829/0.2937, allocations: 5.871 MB / 498.3 MB, free: 14.66 MB / 426.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.0095/0.3032, allocations: 7.643 MB / 0.4941 GB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00415/0.3073, allocations: 4.774 MB / 0.4988 GB, free: 7.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002205/0.3095, allocations: 2.244 MB / 0.501 GB, free: 5.402 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002738/0.3098, allocations: 111.6 kB / 0.5011 GB, free: 5.293 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.117e-05/0.3098, allocations: 94.62 kB / 0.5012 GB, free: 5.191 MB / 426.7 MB Notification: Performance of pre-optimization done (n=390): time 4.578e-06/0.3098, allocations: 0 / 0.5012 GB, free: 5.191 MB / 426.7 MB Notification: Performance of matching and sorting (n=390): time 0.005679/0.3155, allocations: 5.825 MB / 0.5068 GB, free: 15.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.3156, allocations: 93.56 kB / 0.5069 GB, free: 15.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007955/0.3164, allocations: 0.8935 MB / 0.5078 GB, free: 14.34 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001768/0.3165, allocations: 101.7 kB / 0.5079 GB, free: 14.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.3167, allocations: 0.5306 MB / 0.5084 GB, free: 13.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006027/0.3174, allocations: 1.359 MB / 0.5098 GB, free: 12.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005767/0.3179, allocations: 0.6255 MB / 0.5104 GB, free: 11.72 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.966e-05/0.318, allocations: 357.9 kB / 0.5107 GB, free: 11.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.3197, allocations: 1.744 MB / 0.5124 GB, free: 9.621 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002029/0.3217, allocations: 2.261 MB / 0.5146 GB, free: 7.211 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003826/0.3255, allocations: 4.329 MB / 0.5188 GB, free: 2.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.664e-06/0.3256, allocations: 4 kB / 0.5188 GB, free: 2.746 MB / 442.7 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.004499/0.3301, allocations: 4.594 MB / 0.5233 GB, free: 14.19 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.3301, allocations: 8 kB / 0.5233 GB, free: 14.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.3301, allocations: 16.06 kB / 0.5234 GB, free: 14.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.3301, allocations: 28 kB / 0.5234 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.3318, allocations: 0.7839 MB / 0.5241 GB, free: 13.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.656e-05/0.3318, allocations: 38.17 kB / 0.5242 GB, free: 13.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001/0.3328, allocations: 369.5 kB / 0.5245 GB, free: 13.01 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.333, allocations: 147.9 kB / 0.5247 GB, free: 12.86 MB / 458.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.0007529/0.3337, allocations: 0.7619 MB / 0.5254 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003007/0.334, allocations: 218.8 kB / 0.5256 GB, free: 11.92 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005125/0.3391, allocations: 5.171 MB / 0.5307 GB, free: 6.715 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/0.3392, allocations: 44 kB / 0.5307 GB, free: 6.672 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3392, allocations: 0 / 0.5307 GB, free: 6.672 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-05/0.3392, allocations: 23.86 kB / 0.5307 GB, free: 6.648 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.3415, allocations: 2.464 MB / 0.5331 GB, free: 4.242 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.3416, allocations: 3.125 kB / 0.5332 GB, free: 4.242 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/0.3431, allocations: 0.7308 MB / 0.5339 GB, free: 3.551 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.3431, allocations: 12 kB / 0.5339 GB, free: 3.539 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001455/0.3433, allocations: 91.95 kB / 0.534 GB, free: 3.449 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.079e-05/0.3433, allocations: 12 kB / 0.534 GB, free: 3.438 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3433, allocations: 4 kB / 0.534 GB, free: 3.434 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006701/0.35, allocations: 7.234 MB / 0.541 GB, free: 12.16 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002196/0.3502, allocations: 253.8 kB / 0.5413 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.3504, allocations: 83.83 kB / 0.5414 GB, free: 11.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001178/0.3516, allocations: 224.4 kB / 0.5416 GB, free: 11.61 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003459/0.3519, allocations: 330.7 kB / 0.5419 GB, free: 11.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002089/0.3521, allocations: 179.8 kB / 0.5421 GB, free: 11.11 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000518/0.3527, allocations: 0.6863 MB / 0.5427 GB, free: 10.43 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3527, allocations: 0 / 0.5427 GB, free: 10.43 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001616/0.3543, allocations: 1.089 MB / 0.5438 GB, free: 9.336 MB / 474.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.007244/0.3615, allocations: 8.137 MB / 0.5517 GB, free: 1.207 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003841/0.3654, allocations: 4.12 MB / 0.5558 GB, free: 13.14 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.3654, allocations: 5 kB / 0.5558 GB, free: 13.14 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002005/0.3674, allocations: 2.114 MB / 0.5578 GB, free: 11.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002622/0.37, allocations: 1.239 MB / 0.5591 GB, free: 9.875 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02332/0.3933, allocations: 24.49 MB / 0.583 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007417/0.394, allocations: 1.264 MB / 0.5842 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002939/0.397, allocations: 1.771 MB / 0.5859 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/0.398, allocations: 0.8908 MB / 0.5868 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of SimCode: time 9.82e-07/0.398, allocations: 0 / 0.5868 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2107/0.6087, allocations: 89.09 MB / 0.6738 GB, free: 257.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.027/9.636, allocations: 4 kB / 0.6738 GB, free: 257.5 MB / 0.5573 GB " [Timeout remaining time 650] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins/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: 11.369544678367674]