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.001525/0.001525, allocations: 114 kB / 21.18 MB, free: 0.5898 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.001716/0.001716, allocations: 213.5 kB / 24.47 MB, free: 3.996 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.441/1.441, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.002014/0.002014, allocations: 71.83 kB / 378.7 MB, free: 2.898 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2522, 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.07472/0.3269, allocations: 66.37 MB / 498.4 MB, free: 4.805 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007363/0.3343, allocations: 5.507 MB / 0.4921 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003301/0.3346, allocations: 7.938 kB / 0.4921 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.3356, allocations: 361.9 kB / 0.4925 GB, free: 14.92 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009899/0.3366, allocations: 0.5089 MB / 0.493 GB, free: 14.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01796/0.3545, allocations: 7.476 MB / 0.5003 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002166/0.3567, allocations: 1.551 MB / 0.5018 GB, free: 5.375 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003098/0.357, allocations: 152.9 kB / 0.5019 GB, free: 5.219 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.3582, allocations: 0.6308 MB / 0.5025 GB, free: 4.586 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009174/0.3591, allocations: 0.6112 MB / 0.5031 GB, free: 3.973 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.3592, allocations: 80 kB / 0.5032 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01847/0.3777, allocations: 10.41 MB / 0.5134 GB, free: 9.469 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004798/0.3782, allocations: 327.2 kB / 0.5137 GB, free: 9.148 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006122/0.3788, allocations: 438.3 kB / 0.5141 GB, free: 8.719 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01337/0.3922, allocations: 5.974 MB / 0.52 GB, free: 2.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3922, allocations: 0 / 0.52 GB, free: 2.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3922, allocations: 0 / 0.52 GB, free: 2.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.3922, allocations: 0 / 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.004136/0.3963, allocations: 1.612 MB / 0.5215 GB, free: 1.059 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3964, allocations: 11.97 kB / 0.5215 GB, free: 1.047 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004437/0.3968, allocations: 87.56 kB / 0.5216 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007546/0.3976, allocations: 453 kB / 0.5221 GB, free: 492 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/0.3976, allocations: 45.31 kB / 0.5221 GB, free: 448 kB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.3977, allocations: 67.95 kB / 0.5222 GB, free: 380 kB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.3995, allocations: 0.8069 MB / 0.523 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.3996, allocations: 0 / 0.523 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-05/0.3996, allocations: 35.94 kB / 0.523 GB, free: 15.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.3996, allocations: 16 kB / 0.523 GB, free: 15.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001916/0.4016, allocations: 1.028 MB / 0.524 GB, free: 14.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2159/0.6175, allocations: 12.77 MB / 0.5365 GB, free: 107.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/0.6195, allocations: 0.7061 MB / 0.5372 GB, free: 107.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005557/0.6201, allocations: 394.6 kB / 0.5375 GB, free: 107.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01204/0.6321, allocations: 12.24 MB / 0.5495 GB, free: 94.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.6321, allocations: 44.69 kB / 0.5495 GB, free: 94.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 3.186e-06/0.6321, allocations: 0 / 0.5495 GB, free: 94.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.008769/0.6409, allocations: 3.377 MB / 0.5528 GB, free: 93.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.6409, allocations: 67.09 kB / 0.5529 GB, free: 93.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/0.6413, allocations: 363 kB / 0.5532 GB, free: 93.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-05/0.6414, allocations: 45.48 kB / 0.5533 GB, free: 93.26 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.6415, allocations: 244 kB / 0.5535 GB, free: 93.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.6416, allocations: 325.3 kB / 0.5538 GB, free: 92.87 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001923/0.6418, allocations: 162.7 kB / 0.554 GB, free: 92.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.965e-05/0.6419, allocations: 361.9 kB / 0.5543 GB, free: 92.46 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004563/0.6423, allocations: 371.8 kB / 0.5547 GB, free: 92.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000747/0.6431, allocations: 496.2 kB / 0.5552 GB, free: 92.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.6445, allocations: 0.8967 MB / 0.556 GB, free: 91.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.6445, allocations: 0 / 0.556 GB, free: 91.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002212/0.6467, allocations: 1.114 MB / 0.5571 GB, free: 91.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.6467, allocations: 11.31 kB / 0.5571 GB, free: 91.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.6467, allocations: 0.8438 kB / 0.5571 GB, free: 91.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000753/0.6475, allocations: 168.8 kB / 0.5573 GB, free: 91.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006743/0.6482, allocations: 186 kB / 0.5575 GB, free: 91.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001845/0.65, allocations: 4.13 MB / 0.5615 GB, free: 86.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000435/0.6504, allocations: 15.94 kB / 0.5615 GB, free: 86.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.101e-05/0.6505, allocations: 43.64 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.0003138/0.6508, allocations: 232.7 kB / 0.5618 GB, free: 86.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000376/0.6512, allocations: 66.58 kB / 0.5618 GB, free: 86.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.6531, allocations: 1.278 MB / 0.5631 GB, free: 85.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.6531, allocations: 7.125 kB / 0.5631 GB, free: 85.85 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.6531, allocations: 0 / 0.5631 GB, free: 85.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001397/0.6545, allocations: 1.32 MB / 0.5644 GB, free: 84.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002604/0.6571, allocations: 1.963 MB / 0.5663 GB, free: 83.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.6572, allocations: 4 kB / 0.5663 GB, free: 83.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000617/0.6578, allocations: 171.5 kB / 0.5665 GB, free: 83.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001569/0.6593, allocations: 296.1 kB / 0.5668 GB, free: 82.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.863e-05/0.6594, allocations: 27.98 kB / 0.5668 GB, free: 82.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004825/0.6599, allocations: 1.289 MB / 0.568 GB, free: 81.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6599, allocations: 0 / 0.568 GB, free: 81.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/0.662, allocations: 1.42 MB / 0.5694 GB, free: 79.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.6622, allocations: 128.9 kB / 0.5695 GB, free: 79.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.2e-05/0.6623, allocations: 16 kB / 0.5696 GB, free: 79.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004915/0.6627, allocations: 39.84 kB / 0.5696 GB, free: 79.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/0.6628, allocations: 56.92 kB / 0.5697 GB, free: 79.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-05/0.6629, allocations: 47.97 kB / 0.5697 GB, free: 79.61 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002269/0.6631, allocations: 279 kB / 0.57 GB, free: 79.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6631, allocations: 0 / 0.57 GB, free: 79.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003221/0.6663, allocations: 1.422 MB / 0.5714 GB, free: 78.1 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.004583/0.6709, allocations: 1.749 MB / 0.5731 GB, free: 76.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001855/0.6728, allocations: 1.112 MB / 0.5741 GB, free: 75.35 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.6728, allocations: 4 kB / 0.5742 GB, free: 75.34 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007323/0.6735, allocations: 479.9 kB / 0.5746 GB, free: 74.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/0.6753, allocations: 392.2 kB / 0.575 GB, free: 74.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.6776, allocations: 1.739 MB / 0.5767 GB, free: 72.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.6779, allocations: 0.9145 MB / 0.5776 GB, free: 71.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.6781, allocations: 91.41 kB / 0.5777 GB, free: 71.73 MB / 446.1 MB Notification: Performance of SimCode: time 8.52e-07/0.6781, allocations: 0 / 0.5777 GB, free: 71.73 MB / 446.1 MB Notification: Performance of Templates: time 0.04265/0.7208, allocations: 41.22 MB / 0.6179 GB, free: 30.51 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 -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: 19.590925116091967]