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 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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=500,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=500,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] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001685/0.001685, allocations: 112.6 kB / 18.78 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001651/0.001651, allocations: 215.9 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.47/1.47, allocations: 230.4 MB / 251.1 MB, free: 8.426 MB / 206.1 MB 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.002007/0.002007, allocations: 71.83 kB / 369 MB, free: 6.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2462/0.2482, allocations: 53.31 MB / 422.3 MB, free: 7.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.07344/0.3217, allocations: 66 MB / 488.3 MB, free: 5.609 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007255/0.3289, allocations: 5.48 MB / 493.8 MB, free: 116 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000276/0.3292, allocations: 11.94 kB / 493.8 MB, free: 104 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009973/0.3302, allocations: 365.9 kB / 494.1 MB, free: 15.74 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009477/0.3311, allocations: 0.505 MB / 494.6 MB, free: 15.23 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01801/0.3492, allocations: 7.477 MB / 0.4903 GB, free: 7.766 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002026/0.3512, allocations: 1.555 MB / 0.4919 GB, free: 6.203 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003031/0.3515, allocations: 160.9 kB / 0.492 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008996/0.3524, allocations: 0.6308 MB / 0.4926 GB, free: 5.402 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008301/0.3532, allocations: 0.6112 MB / 0.4932 GB, free: 4.789 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.3533, allocations: 84 kB / 0.4933 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01872/0.372, allocations: 10.41 MB / 0.5035 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004619/0.3725, allocations: 327.2 kB / 0.5038 GB, free: 9.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006045/0.3731, allocations: 438.3 kB / 0.5042 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0122/0.3853, allocations: 5.974 MB / 0.51 GB, free: 3.547 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3853, allocations: 4 kB / 0.51 GB, free: 3.543 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3853, allocations: 0 / 0.51 GB, free: 3.543 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.3853, allocations: 0 / 0.51 GB, free: 3.543 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.003826/0.3892, allocations: 1.612 MB / 0.5116 GB, free: 1.875 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3892, allocations: 8.031 kB / 0.5116 GB, free: 1.867 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000442/0.3896, allocations: 87.56 kB / 0.5117 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006813/0.3903, allocations: 452.9 kB / 0.5121 GB, free: 1.301 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.142e-05/0.3904, allocations: 49.31 kB / 0.5122 GB, free: 1.254 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000107/0.3905, allocations: 67.94 kB / 0.5122 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001815/0.3923, allocations: 0.8069 MB / 0.513 GB, free: 380 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.3923, allocations: 4 kB / 0.513 GB, free: 376 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-05/0.3924, allocations: 27.94 kB / 0.5131 GB, free: 348 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.3924, allocations: 16 kB / 0.5131 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.3944, allocations: 1.024 MB / 0.5141 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01846/0.4129, allocations: 12.78 MB / 0.5266 GB, free: 384 kB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.4146, allocations: 0.7061 MB / 0.5272 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005986/0.4152, allocations: 390.6 kB / 0.5276 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.016/0.4312, allocations: 12.23 MB / 0.5396 GB, free: 0.6602 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.585e-05/0.4313, allocations: 43.59 kB / 0.5396 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of pre-optimization done (n=78): time 2.024e-06/0.4313, allocations: 4 kB / 0.5396 GB, free: 0.6055 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.1973/0.6286, allocations: 3.38 MB / 0.5429 GB, free: 123.2 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.6286, allocations: 62.91 kB / 0.543 GB, free: 123.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003636/0.6289, allocations: 359.7 kB / 0.5433 GB, free: 123 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/0.629, allocations: 41.67 kB / 0.5434 GB, free: 122.9 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.6291, allocations: 244.4 kB / 0.5436 GB, free: 122.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/0.6293, allocations: 320.2 kB / 0.5439 GB, free: 122.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/0.6295, allocations: 168 kB / 0.5441 GB, free: 122.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 7.153e-05/0.6296, allocations: 359.5 kB / 0.5444 GB, free: 122.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005524/0.6301, allocations: 368.6 kB / 0.5447 GB, free: 122 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008828/0.631, allocations: 494.5 kB / 0.5452 GB, free: 121.8 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.6326, allocations: 0.9011 MB / 0.5461 GB, free: 121.3 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.6326, allocations: 1.438 kB / 0.5461 GB, free: 121.3 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002391/0.635, allocations: 1.118 MB / 0.5472 GB, free: 120.9 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.635, allocations: 7.906 kB / 0.5472 GB, free: 120.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.635, allocations: 3.688 kB / 0.5472 GB, free: 120.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007654/0.6358, allocations: 159.5 kB / 0.5474 GB, free: 120.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006939/0.6365, allocations: 191 kB / 0.5475 GB, free: 120.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.6384, allocations: 4.12 MB / 0.5516 GB, free: 116.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/0.6388, allocations: 15.78 kB / 0.5516 GB, free: 116.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.359e-05/0.6389, allocations: 46.28 kB / 0.5516 GB, free: 116.7 MB / 462.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.0003368/0.6392, allocations: 229.5 kB / 0.5518 GB, free: 116.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003776/0.6396, allocations: 66.7 kB / 0.5519 GB, free: 116.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/0.6416, allocations: 1.287 MB / 0.5532 GB, free: 115.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.6416, allocations: 7.906 kB / 0.5532 GB, free: 115.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.6416, allocations: 0 / 0.5532 GB, free: 115.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001415/0.643, allocations: 1.32 MB / 0.5545 GB, free: 115 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002517/0.6456, allocations: 1.963 MB / 0.5564 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.6456, allocations: 2.031 kB / 0.5564 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006405/0.6462, allocations: 163.7 kB / 0.5565 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001664/0.6479, allocations: 296.9 kB / 0.5568 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/0.6479, allocations: 30.72 kB / 0.5568 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004516/0.6484, allocations: 1.288 MB / 0.5581 GB, free: 112.7 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.6484, allocations: 3.281 kB / 0.5581 GB, free: 112.7 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.6505, allocations: 1.42 MB / 0.5595 GB, free: 112 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.9e-05/0.6506, allocations: 135.8 kB / 0.5596 GB, free: 111.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.744e-05/0.6507, allocations: 24.75 kB / 0.5596 GB, free: 111.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005095/0.6512, allocations: 31.53 kB / 0.5597 GB, free: 111.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.893e-05/0.6513, allocations: 52.58 kB / 0.5597 GB, free: 111.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.432e-05/0.6514, allocations: 43.66 kB / 0.5598 GB, free: 111.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002355/0.6516, allocations: 278.1 kB / 0.56 GB, free: 111.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6516, allocations: 0 / 0.56 GB, free: 111.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002865/0.6545, allocations: 1.424 MB / 0.5614 GB, free: 110.9 MB / 462.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.004129/0.6586, allocations: 1.744 MB / 0.5631 GB, free: 109.3 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001676/0.6603, allocations: 1.113 MB / 0.5642 GB, free: 108.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.6603, allocations: 4 kB / 0.5642 GB, free: 108.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007091/0.661, allocations: 478.8 kB / 0.5647 GB, free: 107.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.6626, allocations: 399.3 kB / 0.5651 GB, free: 107.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002118/0.6647, allocations: 1.678 MB / 0.5667 GB, free: 105.7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.665, allocations: 0.9148 MB / 0.5676 GB, free: 104.8 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005912/0.6656, allocations: 209.8 kB / 0.5678 GB, free: 104.6 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.6657, allocations: 83.41 kB / 0.5679 GB, free: 104.5 MB / 462.1 MB Notification: Performance of SimCode: time 4.01e-07/0.6657, allocations: 0 / 0.5679 GB, free: 104.5 MB / 462.1 MB Notification: Performance of Templates: time 0.05085/0.7166, allocations: 50.46 MB / 0.6171 GB, free: 54.14 MB / 462.1 MB 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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] Reference file matches