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.001739/0.001739, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001723/0.001723, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.396/1.396, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.001515/0.001515, allocations: 47.91 kB / 377.8 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2357, allocations: 53.36 MB / 431.1 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3908/0.6265, allocations: 155.3 MB / 0.5726 GB, free: 13.07 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.000969/0.6274, allocations: 0.6944 MB / 0.5733 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.093e-05/0.6275, allocations: 6.688 kB / 0.5733 GB, free: 13.01 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003394/0.6278, allocations: 83.45 kB / 0.5734 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005128/0.6284, allocations: 299.1 kB / 0.5737 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002381/0.6307, allocations: 1.139 MB / 0.5748 GB, free: 12.71 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003918/0.6347, allocations: 5.669 MB / 0.5803 GB, free: 11.98 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.6349, allocations: 95.98 kB / 0.5804 GB, free: 11.92 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002984/0.6379, allocations: 2.272 MB / 0.5826 GB, free: 11.83 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003028/0.6409, allocations: 2.06 MB / 0.5847 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005638/0.6415, allocations: 239.1 kB / 0.5849 GB, free: 11.29 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00346/0.6449, allocations: 1.83 MB / 0.5867 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001213/0.6461, allocations: 1.243 MB / 0.5879 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002086/0.6482, allocations: 1.564 MB / 0.5894 GB, free: 9.859 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005005/0.6532, allocations: 4.566 MB / 0.5939 GB, free: 7.633 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6532, allocations: 4 kB / 0.5939 GB, free: 7.629 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.6532, allocations: 0 / 0.5939 GB, free: 7.629 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.037e-05/0.6533, allocations: 1.406 kB / 0.5939 GB, free: 7.629 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.008821/0.6621, allocations: 3.49 MB / 0.5973 GB, free: 5.551 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.6622, allocations: 9.531 kB / 0.5973 GB, free: 5.551 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005366/0.6627, allocations: 371.5 kB / 0.5977 GB, free: 5.285 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.6644, allocations: 341 kB / 0.598 GB, free: 5.059 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003387/0.6678, allocations: 1.333 MB / 0.5993 GB, free: 3.703 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.668, allocations: 180.9 kB / 0.5995 GB, free: 3.523 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004365/0.6684, allocations: 244 kB / 0.5997 GB, free: 3.285 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00658/0.675, allocations: 3.823 MB / 0.6034 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.005e-05/0.675, allocations: 0 / 0.6034 GB, free: 15.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003494/0.6754, allocations: 120 kB / 0.6035 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.646e-05/0.6754, allocations: 56 kB / 0.6036 GB, free: 15.24 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009087/0.6845, allocations: 5.986 MB / 0.6094 GB, free: 9.238 MB / 478.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.02092/0.7055, allocations: 11.25 MB / 0.6204 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007157/0.7126, allocations: 4.787 MB / 0.6251 GB, free: 8.453 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003437/0.716, allocations: 2.243 MB / 0.6273 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004401/0.7165, allocations: 132.3 kB / 0.6274 GB, free: 6.094 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/0.7166, allocations: 94.62 kB / 0.6275 GB, free: 5.992 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 4.93e-06/0.7166, allocations: 0 / 0.6275 GB, free: 5.992 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.009827/0.7264, allocations: 5.828 MB / 0.6332 GB, free: 144 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/0.7265, allocations: 94.45 kB / 0.6333 GB, free: 36 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.7277, allocations: 0.8674 MB / 0.6341 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003941/0.7281, allocations: 105.7 kB / 0.6342 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004836/0.7286, allocations: 0.5331 MB / 0.6348 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001461/0.73, allocations: 1.37 MB / 0.6361 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/0.731, allocations: 0.6254 MB / 0.6367 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000216/0.7313, allocations: 353.9 kB / 0.637 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002889/0.7341, allocations: 1.751 MB / 0.6388 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003383/0.7375, allocations: 2.258 MB / 0.641 GB, free: 8.012 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006756/0.7443, allocations: 4.329 MB / 0.6452 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.339e-05/0.7443, allocations: 4 kB / 0.6452 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007899/0.7522, allocations: 4.599 MB / 0.6497 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.7522, allocations: 8 kB / 0.6497 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/0.7522, allocations: 12 kB / 0.6497 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.61e-05/0.7523, allocations: 31.94 kB / 0.6497 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003677/0.756, allocations: 0.7921 MB / 0.6505 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.141e-05/0.7561, allocations: 39.8 kB / 0.6505 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002369/0.7584, allocations: 373.5 kB / 0.6509 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003488/0.7588, allocations: 148.4 kB / 0.651 GB, free: 13.48 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.00156/0.7603, allocations: 0.7505 MB / 0.6518 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007346/0.7611, allocations: 222.7 kB / 0.652 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009735/0.7708, allocations: 5.167 MB / 0.657 GB, free: 7.301 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-05/0.7708, allocations: 47.88 kB / 0.6571 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.274e-05/0.7709, allocations: 0 / 0.6571 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.433e-05/0.7709, allocations: 20.61 kB / 0.6571 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004887/0.7758, allocations: 2.799 MB / 0.6598 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/0.7758, allocations: 0 / 0.6598 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003515/0.7793, allocations: 0.7294 MB / 0.6605 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.713e-05/0.7794, allocations: 16 kB / 0.6606 GB, free: 3.746 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003095/0.7797, allocations: 88.53 kB / 0.6606 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.257e-05/0.7797, allocations: 19.88 kB / 0.6607 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.7797, allocations: 0 / 0.6607 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01185/0.7916, allocations: 7.235 MB / 0.6677 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006294/0.7922, allocations: 249.8 kB / 0.668 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004965/0.7927, allocations: 91.88 kB / 0.6681 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002952/0.7956, allocations: 223.7 kB / 0.6683 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006354/0.7963, allocations: 326.8 kB / 0.6686 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005013/0.7968, allocations: 179.9 kB / 0.6687 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001005/0.7978, allocations: 0.6785 MB / 0.6694 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7978, allocations: 0 / 0.6694 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002873/0.8007, allocations: 1.093 MB / 0.6705 GB, free: 9.539 MB / 0.5294 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.0135/0.8142, allocations: 8.117 MB / 0.6784 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007628/0.8218, allocations: 4.122 MB / 0.6824 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/0.8218, allocations: 9.062 kB / 0.6824 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003664/0.8255, allocations: 2.107 MB / 0.6845 GB, free: 11.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006421/0.8319, allocations: 1.259 MB / 0.6857 GB, free: 9.887 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04547/0.8773, allocations: 24.65 MB / 0.7098 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00198/0.8793, allocations: 1.846 MB / 0.7116 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005552/0.8849, allocations: 1.775 MB / 0.7133 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002013/0.8869, allocations: 0.8858 MB / 0.7142 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of SimCode: time 1.243e-06/0.8869, allocations: 8 kB / 0.7142 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3271/1.214, allocations: 86.88 MB / 0.799 GB, free: 248.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.02/18.23, allocations: 11.34 kB / 0.7991 GB, free: 248.7 MB / 0.6075 GB " [Timeout remaining time 642] (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: 20.799887059023604]