Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001738/0.001738, allocations: 112.4 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002201/0.002201, allocations: 204.1 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.478/1.478, allocations: 230.4 MB / 258.1 MB, free: 8.148 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 71.83 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2457, allocations: 53.31 MB / 432.1 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.0797/0.3254, allocations: 66.37 MB / 498.4 MB, free: 4.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007475/0.3329, allocations: 5.511 MB / 0.4921 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000258/0.3332, allocations: 4 kB / 0.4921 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.3342, allocations: 361.9 kB / 0.4925 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009123/0.3351, allocations: 0.5088 MB / 0.493 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01829/0.3534, allocations: 7.483 MB / 0.5003 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002069/0.3555, allocations: 1.551 MB / 0.5018 GB, free: 5.371 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002927/0.3558, allocations: 152.9 kB / 0.5019 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009463/0.3567, allocations: 0.6347 MB / 0.5026 GB, free: 4.578 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008661/0.3576, allocations: 0.5995 MB / 0.5031 GB, free: 3.977 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.3577, allocations: 84 kB / 0.5032 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0205/0.3782, allocations: 10.41 MB / 0.5134 GB, free: 9.473 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006527/0.3788, allocations: 327.1 kB / 0.5137 GB, free: 9.152 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007869/0.3796, allocations: 442.4 kB / 0.5141 GB, free: 8.719 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0141/0.3937, allocations: 5.966 MB / 0.5199 GB, free: 2.738 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3937, allocations: 0 / 0.5199 GB, free: 2.738 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3937, allocations: 4 kB / 0.5199 GB, free: 2.734 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.3937, allocations: 3.938 kB / 0.52 GB, free: 2.73 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003905/0.3976, allocations: 1.612 MB / 0.5215 GB, free: 1.059 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.3977, allocations: 12.03 kB / 0.5215 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004429/0.3981, allocations: 87.56 kB / 0.5216 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007437/0.3989, allocations: 453 kB / 0.5221 GB, free: 492 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.3989, allocations: 53.25 kB / 0.5221 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.399, allocations: 67.95 kB / 0.5222 GB, free: 372 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001813/0.4008, allocations: 0.8069 MB / 0.523 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/0.4009, allocations: 0 / 0.523 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.87e-05/0.4009, allocations: 28 kB / 0.523 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.401, allocations: 15.98 kB / 0.523 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.403, allocations: 1.036 MB / 0.524 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2175/0.6205, allocations: 12.76 MB / 0.5365 GB, free: 107.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001993/0.6224, allocations: 0.7109 MB / 0.5372 GB, free: 107.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005365/0.623, allocations: 389.6 kB / 0.5375 GB, free: 107.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01261/0.6356, allocations: 12.24 MB / 0.5495 GB, free: 94.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.218e-05/0.6356, allocations: 44.47 kB / 0.5495 GB, free: 94.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.785e-06/0.6356, allocations: 0 / 0.5495 GB, free: 94.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.009051/0.6447, allocations: 3.39 MB / 0.5528 GB, free: 93.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/0.6447, allocations: 60.22 kB / 0.5529 GB, free: 93.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.6451, allocations: 349.9 kB / 0.5532 GB, free: 93.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.384e-05/0.6452, allocations: 45.55 kB / 0.5533 GB, free: 93.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.6453, allocations: 244.2 kB / 0.5535 GB, free: 93.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.6455, allocations: 321.7 kB / 0.5538 GB, free: 92.88 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.6457, allocations: 166.6 kB / 0.554 GB, free: 92.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.287e-05/0.6458, allocations: 361.7 kB / 0.5543 GB, free: 92.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004715/0.6462, allocations: 373.9 kB / 0.5547 GB, free: 92.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008002/0.647, allocations: 496.3 kB / 0.5552 GB, free: 92.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/0.6485, allocations: 0.8955 MB / 0.556 GB, free: 91.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.6485, allocations: 4.844 kB / 0.556 GB, free: 91.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002225/0.6507, allocations: 1.115 MB / 0.5571 GB, free: 91.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.6507, allocations: 3.969 kB / 0.5571 GB, free: 91.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.6507, allocations: 6.031 kB / 0.5571 GB, free: 91.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007514/0.6515, allocations: 169.7 kB / 0.5573 GB, free: 91.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006922/0.6522, allocations: 188.5 kB / 0.5575 GB, free: 91.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.6541, allocations: 4.122 MB / 0.5615 GB, free: 86.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004027/0.6545, allocations: 19.91 kB / 0.5615 GB, free: 86.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.161e-05/0.6546, allocations: 46.98 kB / 0.5616 GB, free: 86.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003026/0.6549, allocations: 222.5 kB / 0.5618 GB, free: 86.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003621/0.6552, allocations: 65.14 kB / 0.5618 GB, free: 86.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001993/0.6572, allocations: 1.275 MB / 0.5631 GB, free: 85.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.6572, allocations: 10.19 kB / 0.5631 GB, free: 85.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.6572, allocations: 0 / 0.5631 GB, free: 85.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001451/0.6587, allocations: 1.324 MB / 0.5644 GB, free: 84.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/0.6612, allocations: 1.961 MB / 0.5663 GB, free: 83.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.6612, allocations: 4 kB / 0.5663 GB, free: 83.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006418/0.6619, allocations: 167.7 kB / 0.5665 GB, free: 83.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001622/0.6635, allocations: 292.6 kB / 0.5667 GB, free: 82.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/0.6635, allocations: 31.97 kB / 0.5668 GB, free: 82.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004545/0.664, allocations: 1.293 MB / 0.568 GB, free: 81.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.664, allocations: 3.562 kB / 0.568 GB, free: 81.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.6661, allocations: 1.42 MB / 0.5694 GB, free: 79.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.171e-05/0.6661, allocations: 120.8 kB / 0.5695 GB, free: 79.79 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.544e-05/0.6662, allocations: 28.05 kB / 0.5696 GB, free: 79.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004999/0.6667, allocations: 35.2 kB / 0.5696 GB, free: 79.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.6668, allocations: 52.92 kB / 0.5697 GB, free: 79.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.127e-05/0.6669, allocations: 43.97 kB / 0.5697 GB, free: 79.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002167/0.6671, allocations: 283 kB / 0.57 GB, free: 79.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6671, allocations: 0 / 0.57 GB, free: 79.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00294/0.67, allocations: 1.43 MB / 0.5714 GB, free: 78.11 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004104/0.6741, allocations: 1.744 MB / 0.5731 GB, free: 76.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001635/0.6758, allocations: 1.12 MB / 0.5742 GB, free: 75.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.6758, allocations: 4 kB / 0.5742 GB, free: 75.35 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007078/0.6765, allocations: 471.2 kB / 0.5746 GB, free: 74.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.6782, allocations: 383.2 kB / 0.575 GB, free: 74.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002128/0.6804, allocations: 1.7 MB / 0.5766 GB, free: 72.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002726/0.6806, allocations: 0.9145 MB / 0.5775 GB, free: 71.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005499/0.6812, allocations: 205.2 kB / 0.5777 GB, free: 71.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.6813, allocations: 79.42 kB / 0.5778 GB, free: 71.6 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.6813, allocations: 0 / 0.5778 GB, free: 71.6 MB / 446.1 MB Notification: Performance of Templates: time 0.05065/0.732, allocations: 50.6 MB / 0.6272 GB, free: 21.12 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.MoistAir2.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: 29.351750668603927]