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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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: translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|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.|x",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData") translateModel(Modelica.Media.Examples.PsychrometricData,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|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.|x",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 112.3 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 187 kB / 18.67 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 47.94 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2696, allocations: 49.43 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.PsychrometricData): time 0.1667/0.4364, allocations: 151.8 MB / 0.5403 GB, free: 416 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.2842/0.7206, allocations: 0.6999 MB / 0.541 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002121/0.7209, allocations: 1.688 kB / 0.541 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004455/0.7213, allocations: 79.53 kB / 0.541 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000845/0.7223, allocations: 289 kB / 0.5413 GB, free: 1.695 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003405/0.7257, allocations: 1.119 MB / 0.5424 GB, free: 1.664 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00487/0.7306, allocations: 5.597 MB / 0.5479 GB, free: 1.641 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000367/0.7309, allocations: 258.8 kB / 0.5481 GB, free: 1.578 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003704/0.7347, allocations: 2.174 MB / 0.5502 GB, free: 1.578 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003543/0.7382, allocations: 1.964 MB / 0.5522 GB, free: 1.578 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008024/0.739, allocations: 237.4 kB / 0.5524 GB, free: 1.578 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004838/0.7439, allocations: 1.731 MB / 0.5541 GB, free: 1.562 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001544/0.7455, allocations: 1.225 MB / 0.5553 GB, free: 1.555 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00342/0.7489, allocations: 1.566 MB / 0.5568 GB, free: 1.551 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006406/0.7553, allocations: 4.534 MB / 0.5612 GB, free: 1.086 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.7554, allocations: 0.9375 kB / 0.5612 GB, free: 1.086 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.7554, allocations: 0 / 0.5612 GB, free: 1.086 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000113/0.7555, allocations: 0 / 0.5612 GB, free: 1.086 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.01027/0.7658, allocations: 3.49 MB / 0.5646 GB, free: 16.04 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.7658, allocations: 11.03 kB / 0.5646 GB, free: 16.04 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/0.7679, allocations: 322.7 kB / 0.565 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.7707, allocations: 1.346 MB / 0.5663 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.7709, allocations: 181.2 kB / 0.5664 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004632/0.7713, allocations: 239.9 kB / 0.5667 GB, free: 15.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006721/0.7781, allocations: 3.821 MB / 0.5704 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.487e-05/0.7781, allocations: 1 kB / 0.5704 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004217/0.7786, allocations: 114.3 kB / 0.5705 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.21e-05/0.7786, allocations: 62.86 kB / 0.5706 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009526/0.7882, allocations: 5.985 MB / 0.5764 GB, free: 15.4 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.02199/0.8102, allocations: 11.21 MB / 0.5874 GB, free: 7.703 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006596/0.8168, allocations: 5.032 MB / 0.5923 GB, free: 4.324 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003635/0.8205, allocations: 2.409 MB / 0.5946 GB, free: 2.547 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000647/0.8212, allocations: 432.8 kB / 0.595 GB, free: 2.082 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/0.8213, allocations: 94.53 kB / 0.5951 GB, free: 2.016 MB / 478.1 MB Notification: Performance of pre-optimization done (n=390): time 5.641e-06/0.8213, allocations: 0 / 0.5951 GB, free: 2.016 MB / 478.1 MB Notification: Performance of matching and sorting (n=390): time 0.0111/0.8324, allocations: 5.817 MB / 0.6008 GB, free: 13.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/0.8325, allocations: 91.22 kB / 0.6009 GB, free: 13.17 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.8339, allocations: 0.8788 MB / 0.6018 GB, free: 12.29 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007377/0.8347, allocations: 106.4 kB / 0.6019 GB, free: 12.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004242/0.8351, allocations: 0.5226 MB / 0.6024 GB, free: 11.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001597/0.8367, allocations: 1.298 MB / 0.6036 GB, free: 10.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001627/0.8383, allocations: 0.6301 MB / 0.6043 GB, free: 9.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.8386, allocations: 358.9 kB / 0.6046 GB, free: 9.375 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003302/0.8419, allocations: 1.741 MB / 0.6063 GB, free: 7.633 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003797/0.8457, allocations: 2.263 MB / 0.6085 GB, free: 5.234 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007711/0.8534, allocations: 4.324 MB / 0.6127 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.878e-05/0.8535, allocations: 4.938 kB / 0.6127 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of matching and sorting (n=450) (initialization): time 0.009214/0.8627, allocations: 4.587 MB / 0.6172 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.8628, allocations: 8 kB / 0.6172 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/0.8628, allocations: 12 kB / 0.6172 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.43e-05/0.8629, allocations: 28.88 kB / 0.6173 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003945/0.8668, allocations: 0.7961 MB / 0.618 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-05/0.8669, allocations: 34.97 kB / 0.6181 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002781/0.8697, allocations: 365.5 kB / 0.6184 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006564/0.8704, allocations: 147.9 kB / 0.6186 GB, free: 10.94 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.002175/0.8726, allocations: 0.7595 MB / 0.6193 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001094/0.8737, allocations: 206.6 kB / 0.6195 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/0.8845, allocations: 5.162 MB / 0.6245 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.63e-05/0.8846, allocations: 40.78 kB / 0.6246 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.169e-05/0.8846, allocations: 3.938 kB / 0.6246 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.367e-05/0.8847, allocations: 20.61 kB / 0.6246 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005394/0.8901, allocations: 2.82 MB / 0.6274 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.968e-05/0.8902, allocations: 0.8125 kB / 0.6274 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003739/0.8939, allocations: 0.7274 MB / 0.6281 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.657e-05/0.894, allocations: 16.88 kB / 0.6281 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005559/0.8946, allocations: 91.95 kB / 0.6282 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.849e-05/0.8946, allocations: 12.88 kB / 0.6282 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.8946, allocations: 3.938 kB / 0.6282 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01238/0.907, allocations: 7.225 MB / 0.6352 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000727/0.9078, allocations: 315 kB / 0.6355 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006574/0.9085, allocations: 87.83 kB / 0.6356 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003354/0.9118, allocations: 218.8 kB / 0.6358 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008059/0.9127, allocations: 323 kB / 0.6361 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007555/0.9134, allocations: 179.8 kB / 0.6363 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001222/0.9147, allocations: 0.6874 MB / 0.637 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9147, allocations: 0 / 0.637 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003839/0.9185, allocations: 1.073 MB / 0.638 GB, free: 7.082 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.001758/0.9203, allocations: 450.7 kB / 0.6385 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007987/0.9283, allocations: 4.297 MB / 0.6427 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.658e-05/0.9284, allocations: 9.75 kB / 0.6427 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004222/0.9326, allocations: 2.27 MB / 0.6449 GB, free: 272 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007017/0.9396, allocations: 1.248 MB / 0.6461 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/0.9538, allocations: 6.749 MB / 0.6527 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001652/0.9555, allocations: 1.848 MB / 0.6545 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002258/0.9578, allocations: 331.3 kB / 0.6548 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of SimCode: time 1.183e-06/0.9578, allocations: 4 kB / 0.6548 GB, free: 6.059 MB / 0.5294 GB Notification: Performance of Templates: time 0.06852/1.026, allocations: 46.56 MB / 0.7003 GB, free: 7.656 MB / 0.5762 GB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.makefile (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 & ./Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.PsychrometricData.pipe 2>&1) 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) Reference file matches