Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 115.8 kB / 17.74 MB, free: 5.355 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.001189/0.001189, allocations: 185.5 kB / 18.67 MB, free: 4.434 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.325/1.325, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 52.06 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.2852, allocations: 49.43 MB / 401.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05846/0.3437, allocations: 50.55 MB / 452 MB, free: 6.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006315/0.3501, allocations: 5.191 MB / 457.2 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002757/0.3504, allocations: 4 kB / 457.2 MB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007414/0.3512, allocations: 250.5 kB / 457.4 MB, free: 0.6992 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006574/0.3519, allocations: 362 kB / 457.8 MB, free: 352 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0177/0.3696, allocations: 7.106 MB / 464.9 MB, free: 9.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001436/0.371, allocations: 1.091 MB / 466 MB, free: 8.148 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002674/0.3713, allocations: 149.5 kB / 466.1 MB, free: 8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006603/0.3779, allocations: 3.601 MB / 469.7 MB, free: 4.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006423/0.3786, allocations: 394.7 kB / 470.1 MB, free: 4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.3788, allocations: 59.94 kB / 470.1 MB, free: 3.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01801/0.3968, allocations: 9.932 MB / 480.1 MB, free: 9.996 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003747/0.3972, allocations: 219.5 kB / 480.3 MB, free: 9.781 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004679/0.3977, allocations: 303 kB / 480.6 MB, free: 9.484 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01316/0.4108, allocations: 5.505 MB / 486.1 MB, free: 3.969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.4109, allocations: 0 / 486.1 MB, free: 3.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.127e-06/0.4109, allocations: 0 / 486.1 MB, free: 3.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.996e-05/0.4109, allocations: 7.938 kB / 486.1 MB, free: 3.961 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.004354/0.4153, allocations: 1.357 MB / 487.5 MB, free: 2.555 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.4154, allocations: 8.031 kB / 487.5 MB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004511/0.4158, allocations: 55.52 kB / 487.5 MB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005935/0.4164, allocations: 370.1 kB / 487.9 MB, free: 2.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/0.4165, allocations: 33 kB / 487.9 MB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.266e-05/0.4166, allocations: 43.91 kB / 488 MB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.418, allocations: 0.5881 MB / 488.5 MB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.4181, allocations: 7.938 kB / 488.5 MB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.813e-05/0.4181, allocations: 16 kB / 488.6 MB, free: 1.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.357e-05/0.4182, allocations: 15.94 kB / 488.6 MB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001338/0.4195, allocations: 0.7495 MB / 489.3 MB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01583/0.4353, allocations: 11.96 MB / 0.4895 GB, free: 2.594 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.4366, allocations: 0.5272 MB / 0.4901 GB, free: 2.059 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/0.437, allocations: 259.7 kB / 0.4903 GB, free: 1.805 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01382/0.4508, allocations: 11.89 MB / 0.5019 GB, free: 3.605 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.767e-05/0.4509, allocations: 43 kB / 0.502 GB, free: 3.555 MB / 430.1 MB Notification: Performance of pre-optimization done (n=50): time 2.354e-06/0.4509, allocations: 0 / 0.502 GB, free: 3.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=55): time 0.005597/0.4565, allocations: 2.116 MB / 0.504 GB, free: 1.344 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.4566, allocations: 67.89 kB / 0.5041 GB, free: 1.266 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003522/0.4569, allocations: 315 kB / 0.5044 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.457, allocations: 37.7 kB / 0.5044 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.4571, allocations: 200.3 kB / 0.5046 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.4573, allocations: 189.2 kB / 0.5048 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.4574, allocations: 118.1 kB / 0.5049 GB, free: 412 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4576, allocations: 354.8 kB / 0.5052 GB, free: 48 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003688/0.4579, allocations: 237.1 kB / 0.5055 GB, free: 15.81 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005898/0.4585, allocations: 335.3 kB / 0.5058 GB, free: 15.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.4597, allocations: 0.6111 MB / 0.5064 GB, free: 14.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4597, allocations: 0 / 0.5064 GB, free: 14.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001777/0.4615, allocations: 0.7441 MB / 0.5071 GB, free: 14.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.4615, allocations: 12.16 kB / 0.5071 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.4615, allocations: 8 kB / 0.5071 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004935/0.462, allocations: 102.5 kB / 0.5072 GB, free: 13.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/0.4625, allocations: 131.8 kB / 0.5074 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002555/0.4651, allocations: 3.468 MB / 0.5107 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003377/0.4654, allocations: 20.22 kB / 0.5108 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.95e-05/0.4655, allocations: 31.98 kB / 0.5108 GB, free: 9.965 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0002926/0.4658, allocations: 193.6 kB / 0.511 GB, free: 9.766 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003346/0.4662, allocations: 51.53 kB / 0.511 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.4677, allocations: 0.8111 MB / 0.5118 GB, free: 8.871 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.284e-06/0.4677, allocations: 8 kB / 0.5118 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4677, allocations: 3.984 kB / 0.5118 GB, free: 8.859 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001082/0.4688, allocations: 0.7558 MB / 0.5126 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.471, allocations: 1.305 MB / 0.5138 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.471, allocations: 0 / 0.5138 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000442/0.4714, allocations: 103.9 kB / 0.5139 GB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009286/0.4724, allocations: 148.5 kB / 0.5141 GB, free: 6.414 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.4724, allocations: 23.98 kB / 0.5141 GB, free: 6.391 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004053/0.4728, allocations: 0.6484 MB / 0.5147 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4729, allocations: 0 / 0.5147 GB, free: 5.719 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.4745, allocations: 0.9094 MB / 0.5156 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001194/0.4747, allocations: 108.6 kB / 0.5157 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.255e-05/0.4748, allocations: 19.98 kB / 0.5158 GB, free: 4.637 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/0.4752, allocations: 19.98 kB / 0.5158 GB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.4753, allocations: 36.33 kB / 0.5158 GB, free: 4.582 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.548e-05/0.4753, allocations: 23.98 kB / 0.5158 GB, free: 4.559 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002823/0.4756, allocations: 261.9 kB / 0.5161 GB, free: 4.301 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4756, allocations: 3.938 kB / 0.5161 GB, free: 4.297 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003634/0.4793, allocations: 1.312 MB / 0.5174 GB, free: 2.984 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006227/0.4855, allocations: 1.675 MB / 0.519 GB, free: 1.305 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.4873, allocations: 0.7998 MB / 0.5198 GB, free: 484 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/0.4873, allocations: 4 kB / 0.5198 GB, free: 480 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006149/0.488, allocations: 291.8 kB / 0.5201 GB, free: 188 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001606/0.4896, allocations: 279.5 kB / 0.5203 GB, free: 15.91 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002012/0.4916, allocations: 1.13 MB / 0.5214 GB, free: 14.74 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/0.4921, allocations: 0.8404 MB / 0.5223 GB, free: 13.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.4923, allocations: 71.41 kB / 0.5223 GB, free: 13.81 MB / 462.1 MB Notification: Performance of SimCode: time 6.72e-07/0.4923, allocations: 0 / 0.5223 GB, free: 13.81 MB / 462.1 MB Notification: Performance of Templates: time 0.2305/0.7228, allocations: 33.85 MB / 0.5554 GB, free: 123.9 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches