Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001296/0.001296, allocations: 118.6 kB / 18.5 MB, free: 4.543 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.001365/0.001365, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 55.91 kB / 373.8 MB, free: 9.887 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09512/0.09702, allocations: 53.32 MB / 427.2 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2437/0.3407, allocations: 66.02 MB / 493.2 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008032/0.3487, allocations: 5.476 MB / 498.6 MB, free: 12.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005252/0.3493, allocations: 5.844 kB / 498.6 MB, free: 12.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.3504, allocations: 358.9 kB / 499 MB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001248/0.3516, allocations: 0.523 MB / 499.5 MB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01865/0.3703, allocations: 7.458 MB / 0.4951 GB, free: 6.805 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001899/0.3722, allocations: 1.553 MB / 0.4966 GB, free: 5.934 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002831/0.3725, allocations: 164.4 kB / 0.4968 GB, free: 5.836 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008674/0.3733, allocations: 0.6307 MB / 0.4974 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007512/0.3741, allocations: 0.6014 MB / 0.498 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.3742, allocations: 84.06 kB / 0.4981 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01811/0.3923, allocations: 10.41 MB / 0.5082 GB, free: 12.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005093/0.3928, allocations: 327.1 kB / 0.5085 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007218/0.3935, allocations: 438.4 kB / 0.5089 GB, free: 12.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01314/0.4067, allocations: 5.974 MB / 0.5148 GB, free: 6.145 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.4067, allocations: 0 / 0.5148 GB, free: 6.145 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4067, allocations: 0 / 0.5148 GB, free: 6.145 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.4067, allocations: 4 kB / 0.5148 GB, free: 6.141 MB / 414.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.003834/0.4105, allocations: 1.612 MB / 0.5164 GB, free: 4.473 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.4106, allocations: 12.03 kB / 0.5164 GB, free: 4.461 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004394/0.411, allocations: 83.56 kB / 0.5165 GB, free: 4.379 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000663/0.4117, allocations: 453 kB / 0.5169 GB, free: 3.898 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.885e-05/0.4117, allocations: 45.94 kB / 0.5169 GB, free: 3.855 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000111/0.4118, allocations: 67.95 kB / 0.517 GB, free: 3.789 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.4136, allocations: 0.8107 MB / 0.5178 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.427e-05/0.4137, allocations: 0 / 0.5178 GB, free: 2.969 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.676e-05/0.4137, allocations: 28 kB / 0.5178 GB, free: 2.941 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.538e-05/0.4138, allocations: 12 kB / 0.5178 GB, free: 2.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.4157, allocations: 1.028 MB / 0.5188 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01875/0.4345, allocations: 12.78 MB / 0.5313 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001835/0.4363, allocations: 0.7104 MB / 0.532 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006284/0.4369, allocations: 386.6 kB / 0.5324 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01642/0.4534, allocations: 12.24 MB / 0.5443 GB, free: 3.266 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.379e-05/0.4534, allocations: 51.22 kB / 0.5444 GB, free: 3.207 MB / 446.1 MB Notification: Performance of pre-optimization done (n=78): time 2.275e-06/0.4534, allocations: 0 / 0.5444 GB, free: 3.207 MB / 446.1 MB Notification: Performance of matching and sorting (n=88): time 0.01019/0.4636, allocations: 3.376 MB / 0.5477 GB, free: 15.76 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.4637, allocations: 60.41 kB / 0.5477 GB, free: 15.69 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004432/0.4641, allocations: 364.5 kB / 0.5481 GB, free: 15.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.355e-05/0.4642, allocations: 41.7 kB / 0.5481 GB, free: 15.28 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.4644, allocations: 237.2 kB / 0.5483 GB, free: 15.04 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/0.4646, allocations: 325.2 kB / 0.5486 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.4649, allocations: 162.6 kB / 0.5488 GB, free: 14.56 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.4651, allocations: 362.8 kB / 0.5492 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000628/0.4657, allocations: 369.8 kB / 0.5495 GB, free: 13.83 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009889/0.4667, allocations: 496.2 kB / 0.55 GB, free: 13.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.4685, allocations: 0.8982 MB / 0.5509 GB, free: 12.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.4686, allocations: 0.6875 kB / 0.5509 GB, free: 12.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002733/0.4713, allocations: 1.121 MB / 0.5519 GB, free: 11.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.4713, allocations: 11.94 kB / 0.552 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4713, allocations: 0 / 0.552 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000858/0.4722, allocations: 167.5 kB / 0.5521 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007929/0.473, allocations: 187.8 kB / 0.5523 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003806/0.4768, allocations: 4.124 MB / 0.5563 GB, free: 6.434 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004119/0.4772, allocations: 23.98 kB / 0.5563 GB, free: 6.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.4773, allocations: 43.98 kB / 0.5564 GB, free: 6.367 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.0003595/0.4776, allocations: 221.6 kB / 0.5566 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004034/0.4781, allocations: 63.67 kB / 0.5567 GB, free: 6.078 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002653/0.4807, allocations: 1.288 MB / 0.5579 GB, free: 4.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.4807, allocations: 8 kB / 0.5579 GB, free: 4.742 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.4807, allocations: 0 / 0.5579 GB, free: 4.742 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002037/0.4828, allocations: 1.316 MB / 0.5592 GB, free: 3.301 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003356/0.4861, allocations: 1.964 MB / 0.5611 GB, free: 1.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4861, allocations: 0 / 0.5611 GB, free: 1.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007265/0.4868, allocations: 159.8 kB / 0.5613 GB, free: 1.113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001862/0.4887, allocations: 297.3 kB / 0.5616 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.475e-05/0.4888, allocations: 31.98 kB / 0.5616 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000963/0.4897, allocations: 1.289 MB / 0.5629 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4897, allocations: 0 / 0.5629 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002737/0.4925, allocations: 1.426 MB / 0.5642 GB, free: 13.99 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001476/0.4926, allocations: 128.8 kB / 0.5644 GB, free: 13.85 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.679e-05/0.4927, allocations: 20.12 kB / 0.5644 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005412/0.4933, allocations: 35.97 kB / 0.5644 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.4934, allocations: 56.88 kB / 0.5645 GB, free: 13.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.527e-05/0.4935, allocations: 47.95 kB / 0.5645 GB, free: 13.69 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003366/0.4938, allocations: 275 kB / 0.5648 GB, free: 13.42 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4938, allocations: 0 / 0.5648 GB, free: 13.42 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003723/0.4975, allocations: 1.427 MB / 0.5662 GB, free: 11.99 MB / 478.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.005574/0.5031, allocations: 1.748 MB / 0.5679 GB, free: 10.24 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002277/0.5054, allocations: 1.109 MB / 0.569 GB, free: 9.098 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5054, allocations: 0 / 0.569 GB, free: 9.098 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009406/0.5063, allocations: 483.9 kB / 0.5694 GB, free: 8.621 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.5083, allocations: 382.5 kB / 0.5698 GB, free: 8.246 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.5113, allocations: 1.684 MB / 0.5714 GB, free: 6.527 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.5119, allocations: 0.9167 MB / 0.5723 GB, free: 5.582 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007167/0.5126, allocations: 201.1 kB / 0.5725 GB, free: 5.383 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002213/0.5128, allocations: 83.41 kB / 0.5726 GB, free: 5.305 MB / 478.1 MB Notification: Performance of SimCode: time 6.82e-07/0.5128, allocations: 0 / 0.5726 GB, free: 5.305 MB / 478.1 MB Notification: Performance of Templates: time 0.07363/0.5865, allocations: 50.3 MB / 0.6217 GB, free: 3.031 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 20.195862639695406]