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.001593/0.001593, allocations: 108.8 kB / 21.22 MB, free: 0.7305 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.00162/0.00162, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.345/1.345, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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.001407/0.001407, allocations: 43.94 kB / 371.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2459, allocations: 52.19 MB / 423.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.3803/0.6262, allocations: 152.3 MB / 0.5623 GB, free: 13.74 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.6272, allocations: 0.6953 MB / 0.5629 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.217e-05/0.6273, allocations: 3.188 kB / 0.563 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000395/0.6277, allocations: 89.62 kB / 0.563 GB, free: 13.65 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005235/0.6282, allocations: 291.5 kB / 0.5633 GB, free: 13.59 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002694/0.6309, allocations: 1.142 MB / 0.5644 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004003/0.6349, allocations: 5.667 MB / 0.57 GB, free: 12.65 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.6351, allocations: 102.2 kB / 0.5701 GB, free: 12.58 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003387/0.6385, allocations: 2.267 MB / 0.5723 GB, free: 12.52 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003646/0.6422, allocations: 2.052 MB / 0.5743 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009981/0.6432, allocations: 238.3 kB / 0.5745 GB, free: 12.47 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004494/0.6477, allocations: 1.793 MB / 0.5763 GB, free: 12.32 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002486/0.6502, allocations: 1.247 MB / 0.5775 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00346/0.6536, allocations: 1.563 MB / 0.579 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00599/0.6596, allocations: 4.551 MB / 0.5834 GB, free: 9.648 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.6596, allocations: 0 / 0.5834 GB, free: 9.648 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.6596, allocations: 4 kB / 0.5835 GB, free: 9.645 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.66e-05/0.6597, allocations: 0 / 0.5835 GB, free: 9.645 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.008881/0.6686, allocations: 3.468 MB / 0.5868 GB, free: 7.934 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.6686, allocations: 9.938 kB / 0.5868 GB, free: 7.934 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.095e-05/0.6687, allocations: 63.62 kB / 0.5869 GB, free: 7.926 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005221/0.6692, allocations: 374.1 kB / 0.5873 GB, free: 7.816 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001811/0.671, allocations: 339 kB / 0.5876 GB, free: 7.672 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002822/0.6738, allocations: 1.329 MB / 0.5889 GB, free: 7.141 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001045/0.6739, allocations: 182.7 kB / 0.5891 GB, free: 7.133 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003551/0.6743, allocations: 239.9 kB / 0.5893 GB, free: 7.129 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006376/0.6807, allocations: 3.834 MB / 0.593 GB, free: 5.52 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.221e-05/0.6807, allocations: 0 / 0.593 GB, free: 5.52 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004177/0.6811, allocations: 114.1 kB / 0.5931 GB, free: 5.488 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.281e-05/0.6812, allocations: 56 kB / 0.5932 GB, free: 5.434 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01036/0.6916, allocations: 5.979 MB / 0.599 GB, free: 0.6094 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.02147/0.713, allocations: 11.27 MB / 0.61 GB, free: 4.727 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007299/0.7203, allocations: 4.794 MB / 0.6147 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003457/0.7238, allocations: 2.237 MB / 0.6169 GB, free: 13.71 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004059/0.7242, allocations: 135.4 kB / 0.617 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001056/0.7243, allocations: 94.62 kB / 0.6171 GB, free: 13.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=390): time 4.999e-06/0.7243, allocations: 4 kB / 0.6171 GB, free: 13.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=390): time 0.00971/0.734, allocations: 5.828 MB / 0.6228 GB, free: 7.648 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.665e-05/0.7341, allocations: 94.45 kB / 0.6229 GB, free: 7.543 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001155/0.7353, allocations: 0.8636 MB / 0.6238 GB, free: 6.672 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003711/0.7356, allocations: 109.6 kB / 0.6239 GB, free: 6.559 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/0.736, allocations: 0.5302 MB / 0.6244 GB, free: 6.023 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001196/0.7372, allocations: 1.367 MB / 0.6257 GB, free: 4.676 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009658/0.7382, allocations: 0.6293 MB / 0.6263 GB, free: 4.039 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.7384, allocations: 361.7 kB / 0.6267 GB, free: 3.684 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002815/0.7412, allocations: 1.748 MB / 0.6284 GB, free: 1.934 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003212/0.7444, allocations: 2.258 MB / 0.6306 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00637/0.7508, allocations: 4.325 MB / 0.6348 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.7508, allocations: 8 kB / 0.6348 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of matching and sorting (n=450) (initialization): time 0.007881/0.7587, allocations: 4.591 MB / 0.6393 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.183e-05/0.7587, allocations: 8 kB / 0.6393 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/0.7587, allocations: 12 kB / 0.6393 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.09e-05/0.7588, allocations: 31.94 kB / 0.6393 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003592/0.7624, allocations: 0.7923 MB / 0.6401 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.327e-05/0.7624, allocations: 32.8 kB / 0.6401 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.7647, allocations: 373.5 kB / 0.6405 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003088/0.765, allocations: 151.9 kB / 0.6406 GB, free: 5.008 MB / 0.4981 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.001607/0.7667, allocations: 0.7505 MB / 0.6414 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006717/0.7673, allocations: 218.8 kB / 0.6416 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00919/0.7765, allocations: 5.175 MB / 0.6466 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.589e-05/0.7766, allocations: 40 kB / 0.6467 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.7766, allocations: 0 / 0.6467 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.532e-05/0.7766, allocations: 19.92 kB / 0.6467 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004704/0.7813, allocations: 2.803 MB / 0.6494 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.7813, allocations: 0 / 0.6494 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003384/0.7847, allocations: 0.7255 MB / 0.6501 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.267e-05/0.7847, allocations: 20 kB / 0.6502 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002405/0.785, allocations: 91.91 kB / 0.6503 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.975e-05/0.785, allocations: 16 kB / 0.6503 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.785, allocations: 3.984 kB / 0.6503 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/0.796, allocations: 7.231 MB / 0.6573 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000586/0.7966, allocations: 245.8 kB / 0.6576 GB, free: 3.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003838/0.797, allocations: 95.81 kB / 0.6577 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002685/0.7997, allocations: 219.8 kB / 0.6579 GB, free: 3.332 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006011/0.8003, allocations: 326.8 kB / 0.6582 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003751/0.8007, allocations: 179.9 kB / 0.6584 GB, free: 2.836 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0009005/0.8016, allocations: 0.6785 MB / 0.659 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8016, allocations: 0 / 0.659 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002415/0.804, allocations: 1.089 MB / 0.6601 GB, free: 1.07 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.01214/0.8161, allocations: 8.124 MB / 0.668 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006716/0.8228, allocations: 4.129 MB / 0.672 GB, free: 4.777 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.8228, allocations: 9.125 kB / 0.6721 GB, free: 4.77 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003242/0.8261, allocations: 2.107 MB / 0.6741 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005967/0.832, allocations: 1.239 MB / 0.6753 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04137/0.8734, allocations: 24.66 MB / 0.6994 GB, free: 8.148 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001568/0.875, allocations: 1.856 MB / 0.7012 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004573/0.8796, allocations: 1.771 MB / 0.7029 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001644/0.8812, allocations: 0.8898 MB / 0.7038 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/0.8812, allocations: 0 / 0.7038 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3081/1.189, allocations: 86.77 MB / 0.7886 GB, free: 261.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.58/17.77, allocations: 15.97 kB / 0.7886 GB, free: 261.7 MB / 0.6075 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.501215267984662]