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.001329/0.001329, allocations: 101.5 kB / 21.21 MB, free: 0.6523 MB / 14.72 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.001298/0.001298, allocations: 184.6 kB / 24.49 MB, free: 3.961 MB / 14.72 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 1.332/1.332, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.PsychrometricData,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_PsychrometricData",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 43.92 kB / 371.2 MB, free: 9.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2316, allocations: 52.19 MB / 423.4 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3751/0.6067, allocations: 130.5 MB / 0.5409 GB, free: 1.312 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001051/0.6077, allocations: 0.6564 MB / 0.5415 GB, free: 1.312 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.317e-05/0.6078, allocations: 6.562 kB / 0.5415 GB, free: 1.312 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003273/0.6082, allocations: 72.22 kB / 0.5416 GB, free: 1.312 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005189/0.6087, allocations: 295.6 kB / 0.5419 GB, free: 1.309 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002442/0.6111, allocations: 1.135 MB / 0.543 GB, free: 1.273 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00357/0.6147, allocations: 5.667 MB / 0.5485 GB, free: 1.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.6149, allocations: 95.78 kB / 0.5486 GB, free: 1.188 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002936/0.6178, allocations: 2.296 MB / 0.5509 GB, free: 1.188 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002803/0.6206, allocations: 2.055 MB / 0.5529 GB, free: 1.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005829/0.6212, allocations: 238.4 kB / 0.5531 GB, free: 1.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002693/0.6239, allocations: 1.526 MB / 0.5546 GB, free: 1.164 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001043/0.6249, allocations: 1.248 MB / 0.5558 GB, free: 1.152 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002046/0.627, allocations: 1.407 MB / 0.5572 GB, free: 1.152 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004169/0.6311, allocations: 4.517 MB / 0.5616 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6311, allocations: 7.094 kB / 0.5616 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6311, allocations: 0 / 0.5616 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.598e-05/0.6312, allocations: 0 / 0.5616 GB, free: 0.7148 MB / 446.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.00823/0.6394, allocations: 3.471 MB / 0.565 GB, free: 15.65 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.6395, allocations: 11.81 kB / 0.565 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.147e-05/0.6395, allocations: 64.97 kB / 0.5651 GB, free: 15.64 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004604/0.64, allocations: 373.8 kB / 0.5654 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.6417, allocations: 338 kB / 0.5657 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00238/0.6441, allocations: 1.332 MB / 0.567 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.6442, allocations: 181.7 kB / 0.5672 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003557/0.6446, allocations: 246.8 kB / 0.5675 GB, free: 15.17 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007309/0.6519, allocations: 5.941 MB / 0.5733 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.468e-05/0.6519, allocations: 6.188 kB / 0.5733 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004226/0.6523, allocations: 109.5 kB / 0.5734 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.6524, allocations: 65.66 kB / 0.5734 GB, free: 12.4 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007617/0.66, allocations: 5.981 MB / 0.5793 GB, free: 11.95 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.01832/0.6783, allocations: 7.644 MB / 0.5867 GB, free: 9.566 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007868/0.6862, allocations: 4.773 MB / 0.5914 GB, free: 5.672 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003806/0.69, allocations: 2.244 MB / 0.5936 GB, free: 3.426 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004255/0.6904, allocations: 115 kB / 0.5937 GB, free: 3.312 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001121/0.6905, allocations: 94.62 kB / 0.5938 GB, free: 3.211 MB / 462.1 MB Notification: Performance of pre-optimization done (n=390): time 6.312e-06/0.6905, allocations: 0 / 0.5938 GB, free: 3.211 MB / 462.1 MB Notification: Performance of matching and sorting (n=390): time 0.0101/0.7006, allocations: 5.828 MB / 0.5995 GB, free: 13.36 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.072e-05/0.7007, allocations: 90.47 kB / 0.5996 GB, free: 13.26 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.7019, allocations: 0.8675 MB / 0.6004 GB, free: 12.39 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004009/0.7023, allocations: 105.7 kB / 0.6005 GB, free: 12.28 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/0.7027, allocations: 0.5307 MB / 0.601 GB, free: 11.74 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001191/0.7039, allocations: 1.368 MB / 0.6024 GB, free: 10.39 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/0.705, allocations: 0.6294 MB / 0.603 GB, free: 9.758 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001978/0.7052, allocations: 358.5 kB / 0.6033 GB, free: 9.402 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002878/0.708, allocations: 1.744 MB / 0.605 GB, free: 7.656 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003404/0.7114, allocations: 2.257 MB / 0.6072 GB, free: 5.254 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007293/0.7187, allocations: 4.333 MB / 0.6115 GB, free: 0.7891 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-05/0.7188, allocations: 4 kB / 0.6115 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.008134/0.7269, allocations: 4.595 MB / 0.616 GB, free: 12.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.7269, allocations: 8 kB / 0.616 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/0.727, allocations: 12 kB / 0.616 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.515e-05/0.727, allocations: 31.94 kB / 0.616 GB, free: 12.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00371/0.7307, allocations: 0.7919 MB / 0.6168 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.856e-05/0.7308, allocations: 38.27 kB / 0.6168 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002435/0.7332, allocations: 373.5 kB / 0.6172 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003414/0.7335, allocations: 144 kB / 0.6173 GB, free: 10.89 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.001671/0.7352, allocations: 0.758 MB / 0.618 GB, free: 10.17 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007263/0.7359, allocations: 218.8 kB / 0.6183 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009474/0.7454, allocations: 5.162 MB / 0.6233 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.78e-05/0.7454, allocations: 47.98 kB / 0.6233 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/0.7455, allocations: 0.8125 kB / 0.6233 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.247e-05/0.7455, allocations: 19.92 kB / 0.6234 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004609/0.7501, allocations: 2.462 MB / 0.6258 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.7501, allocations: 0 / 0.6258 GB, free: 2.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003527/0.7537, allocations: 0.7307 MB / 0.6265 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.304e-05/0.7537, allocations: 16 kB / 0.6265 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002515/0.7539, allocations: 99.89 kB / 0.6266 GB, free: 1.484 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-05/0.754, allocations: 13.64 kB / 0.6266 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.754, allocations: 4 kB / 0.6266 GB, free: 1.469 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01137/0.7653, allocations: 7.22 MB / 0.6337 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000747/0.7661, allocations: 249.8 kB / 0.6339 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005114/0.7666, allocations: 91.81 kB / 0.634 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00288/0.7695, allocations: 227.7 kB / 0.6342 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006321/0.7701, allocations: 326 kB / 0.6345 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000452/0.7705, allocations: 179.9 kB / 0.6347 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009361/0.7715, allocations: 0.6863 MB / 0.6354 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.7715, allocations: 0 / 0.6354 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002712/0.7742, allocations: 1.085 MB / 0.6364 GB, free: 7.383 MB / 0.4981 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.01231/0.7865, allocations: 8.117 MB / 0.6443 GB, free: 15.27 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.007129/0.7936, allocations: 4.121 MB / 0.6484 GB, free: 11.21 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/0.7936, allocations: 9.062 kB / 0.6484 GB, free: 11.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.003535/0.7972, allocations: 2.11 MB / 0.6504 GB, free: 9.176 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005448/0.8026, allocations: 1.246 MB / 0.6516 GB, free: 7.934 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03993/0.8426, allocations: 24.64 MB / 0.6757 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0013/0.8439, allocations: 1.264 MB / 0.677 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004653/0.8485, allocations: 1.768 MB / 0.6787 GB, free: 11.64 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00172/0.8502, allocations: 0.8898 MB / 0.6795 GB, free: 10.75 MB / 0.545 GB Notification: Performance of SimCode: time 9.32e-07/0.8502, allocations: 0 / 0.6795 GB, free: 10.75 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1401/0.9904, allocations: 90.2 MB / 0.7676 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.17/17.17, allocations: 3.75 kB / 0.7676 GB, free: 1.449 MB / 0.6231 GB " [Timeout remaining time 642] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/PsychrometricData/PsychrometricData.csv","/var/lib/jenkins1/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: 20.044879509950988]