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.001588/0.001588, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001693/0.001693, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.403/1.403, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.001597/0.001597, allocations: 47.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1021, allocations: 53.34 MB / 426.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.372/0.474, allocations: 155.2 MB / 0.5679 GB, free: 5.188 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.4754, allocations: 0.6945 MB / 0.5686 GB, free: 4.496 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.4756, allocations: 7.938 kB / 0.5686 GB, free: 4.488 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003943/0.476, allocations: 79.48 kB / 0.5686 GB, free: 4.41 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007059/0.4767, allocations: 298.6 kB / 0.5689 GB, free: 4.117 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003405/0.4801, allocations: 1.126 MB / 0.57 GB, free: 2.996 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005645/0.4857, allocations: 5.597 MB / 0.5755 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000392/0.4861, allocations: 192 kB / 0.5757 GB, free: 13.17 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003737/0.4899, allocations: 2.257 MB / 0.5779 GB, free: 10.91 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003791/0.4936, allocations: 2.053 MB / 0.5799 GB, free: 8.848 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.4948, allocations: 236 kB / 0.5801 GB, free: 8.617 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00474/0.4995, allocations: 1.814 MB / 0.5819 GB, free: 6.801 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00214/0.5016, allocations: 1.224 MB / 0.5831 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003362/0.505, allocations: 1.565 MB / 0.5846 GB, free: 4.004 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006929/0.5119, allocations: 4.572 MB / 0.5891 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.5119, allocations: 0 / 0.5891 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5119, allocations: 0 / 0.5891 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001106/0.512, allocations: 0 / 0.5891 GB, free: 15.42 MB / 0.4981 GB 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.009623/0.5217, allocations: 3.557 MB / 0.5925 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.5217, allocations: 12.03 kB / 0.5926 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006046/0.5223, allocations: 374 kB / 0.5929 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.5242, allocations: 331.4 kB / 0.5932 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/0.5269, allocations: 1.34 MB / 0.5945 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/0.527, allocations: 184.9 kB / 0.5947 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004498/0.5275, allocations: 244 kB / 0.5949 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00654/0.534, allocations: 3.823 MB / 0.5987 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/0.5341, allocations: 0 / 0.5987 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003661/0.5344, allocations: 112 kB / 0.5988 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.564e-05/0.5345, allocations: 56 kB / 0.5988 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009291/0.5438, allocations: 5.99 MB / 0.6047 GB, free: 15.23 MB / 0.5137 GB 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.02234/0.5661, allocations: 11.23 MB / 0.6157 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1862/0.7523, allocations: 4.779 MB / 0.6203 GB, free: 177 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003788/0.7561, allocations: 2.24 MB / 0.6225 GB, free: 176.9 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006323/0.7567, allocations: 440.2 kB / 0.6229 GB, free: 176.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.942e-05/0.7568, allocations: 96.84 kB / 0.623 GB, free: 176.4 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=390): time 6.182e-06/0.7568, allocations: 1.078 kB / 0.623 GB, free: 176.4 MB / 0.5137 GB Notification: Performance of matching and sorting (n=390): time 0.0108/0.7676, allocations: 5.825 MB / 0.6287 GB, free: 174.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.7676, allocations: 91.72 kB / 0.6288 GB, free: 174.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.7688, allocations: 0.875 MB / 0.6297 GB, free: 174.6 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004355/0.7692, allocations: 102.3 kB / 0.6298 GB, free: 174.5 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.7695, allocations: 0.5273 MB / 0.6303 GB, free: 174.1 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009355/0.7705, allocations: 1.365 MB / 0.6316 GB, free: 173.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009525/0.7714, allocations: 0.6293 MB / 0.6322 GB, free: 172.9 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.545e-05/0.7715, allocations: 356.1 kB / 0.6326 GB, free: 172.6 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002904/0.7744, allocations: 1.742 MB / 0.6343 GB, free: 172.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003288/0.7777, allocations: 2.261 MB / 0.6365 GB, free: 171.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006441/0.7841, allocations: 4.333 MB / 0.6407 GB, free: 169.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/0.7842, allocations: 6.938 kB / 0.6407 GB, free: 169.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007529/0.7917, allocations: 4.594 MB / 0.6452 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.7917, allocations: 13.88 kB / 0.6452 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.603e-05/0.7917, allocations: 16.11 kB / 0.6452 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.436e-05/0.7918, allocations: 27.97 kB / 0.6452 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003452/0.7952, allocations: 0.7918 MB / 0.646 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.985e-05/0.7953, allocations: 31 kB / 0.6461 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/0.7975, allocations: 376.3 kB / 0.6464 GB, free: 168.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000269/0.7978, allocations: 144.8 kB / 0.6465 GB, free: 168 MB / 0.5137 GB 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.001234/0.799, allocations: 0.759 MB / 0.6473 GB, free: 167.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005154/0.7995, allocations: 216.1 kB / 0.6475 GB, free: 167.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007256/0.8068, allocations: 5.177 MB / 0.6526 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.177e-05/0.8068, allocations: 43.66 kB / 0.6526 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.8068, allocations: 1.938 kB / 0.6526 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.119e-05/0.8069, allocations: 19.92 kB / 0.6526 GB, free: 164.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/0.8103, allocations: 2.826 MB / 0.6554 GB, free: 162.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.8103, allocations: 0 / 0.6554 GB, free: 162.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003059/0.8134, allocations: 0.7308 MB / 0.6561 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.56e-05/0.8134, allocations: 12 kB / 0.6561 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002215/0.8136, allocations: 99.08 kB / 0.6562 GB, free: 162 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.31e-05/0.8136, allocations: 16 kB / 0.6562 GB, free: 162 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.8136, allocations: 3.938 kB / 0.6562 GB, free: 162 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008411/0.822, allocations: 7.223 MB / 0.6633 GB, free: 154.7 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005273/0.8226, allocations: 334.9 kB / 0.6636 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003543/0.8229, allocations: 79.89 kB / 0.6637 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002813/0.8257, allocations: 223.6 kB / 0.6639 GB, free: 154.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005328/0.8263, allocations: 310.9 kB / 0.6642 GB, free: 153.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003375/0.8266, allocations: 180.7 kB / 0.6643 GB, free: 153.6 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006658/0.8273, allocations: 0.6824 MB / 0.665 GB, free: 152.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.8273, allocations: 4 kB / 0.665 GB, free: 152.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002278/0.8296, allocations: 1.093 MB / 0.6661 GB, free: 151.8 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.00919/0.8387, allocations: 8.123 MB / 0.674 GB, free: 143.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005522/0.8443, allocations: 4.121 MB / 0.678 GB, free: 139.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.8443, allocations: 9 kB / 0.678 GB, free: 139.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002609/0.8469, allocations: 2.103 MB / 0.6801 GB, free: 137.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005235/0.8521, allocations: 1.258 MB / 0.6813 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03087/0.883, allocations: 24.65 MB / 0.7054 GB, free: 111 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009159/0.8839, allocations: 1.848 MB / 0.7072 GB, free: 109.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003937/0.8878, allocations: 1.768 MB / 0.7089 GB, free: 107.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/0.8892, allocations: 0.8858 MB / 0.7098 GB, free: 106.4 MB / 0.5137 GB Notification: Performance of SimCode: time 8.42e-07/0.8892, allocations: 4 kB / 0.7098 GB, free: 106.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/0.9972, allocations: 83.85 MB / 0.7917 GB, free: 22.88 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.57, allocations: 7.875 kB / 0.7917 GB, free: 22.88 MB / 0.5137 GB " [Timeout remaining time 645] (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: 17.11569866212085]