Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.001742/0.001742, allocations: 112.3 kB / 18.5 MB, free: 4.582 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.002053/0.002053, allocations: 197 kB / 21.45 MB, free: 1.633 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 63.89 kB / 373.8 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09773/0.09963, allocations: 53.32 MB / 427.2 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2292/0.3288, allocations: 50.88 MB / 478 MB, free: 9.418 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007353/0.3362, allocations: 5.225 MB / 483.3 MB, free: 5.176 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003158/0.3365, allocations: 7.438 kB / 483.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.3375, allocations: 252.9 kB / 483.5 MB, free: 4.969 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001005/0.3385, allocations: 368.3 kB / 483.9 MB, free: 4.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02424/0.3628, allocations: 7.148 MB / 491 MB, free: 15.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001977/0.3647, allocations: 1.092 MB / 492.1 MB, free: 15.18 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.365, allocations: 104.5 kB / 492.2 MB, free: 15.12 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009199/0.3742, allocations: 3.62 MB / 495.8 MB, free: 12.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009098/0.3751, allocations: 432.4 kB / 496.3 MB, free: 11.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001321/0.3753, allocations: 56 kB / 496.3 MB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02161/0.3969, allocations: 10.12 MB / 0.4946 GB, free: 1.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003398/0.3972, allocations: 223.4 kB / 0.4948 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004988/0.3977, allocations: 310.8 kB / 0.4951 GB, free: 1.047 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.4102, allocations: 5.53 MB / 0.5005 GB, free: 11.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4102, allocations: 0 / 0.5005 GB, free: 11.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4102, allocations: 3.938 kB / 0.5005 GB, free: 11.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.335e-06/0.4102, allocations: 0 / 0.5005 GB, free: 11.5 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003192/0.4134, allocations: 1.405 MB / 0.5018 GB, free: 10.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.4134, allocations: 12.03 kB / 0.5019 GB, free: 10.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003523/0.4138, allocations: 67.66 kB / 0.5019 GB, free: 9.965 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005443/0.4143, allocations: 366.2 kB / 0.5023 GB, free: 9.566 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.4144, allocations: 29 kB / 0.5023 GB, free: 9.535 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-05/0.4144, allocations: 44 kB / 0.5023 GB, free: 9.492 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.4159, allocations: 0.5881 MB / 0.5029 GB, free: 8.898 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.4159, allocations: 7.938 kB / 0.5029 GB, free: 8.891 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.677e-05/0.4159, allocations: 16.62 kB / 0.5029 GB, free: 8.875 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.387e-05/0.4159, allocations: 12 kB / 0.5029 GB, free: 8.863 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.4174, allocations: 0.7417 MB / 0.5037 GB, free: 8.125 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01759/0.435, allocations: 11.95 MB / 0.5153 GB, free: 10.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001344/0.4364, allocations: 0.505 MB / 0.5158 GB, free: 9.586 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000402/0.4368, allocations: 244.5 kB / 0.5161 GB, free: 9.348 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01616/0.4529, allocations: 11.89 MB / 0.5277 GB, free: 11.15 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.33e-05/0.453, allocations: 39.88 kB / 0.5277 GB, free: 11.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.374e-06/0.453, allocations: 4 kB / 0.5277 GB, free: 11.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.006154/0.4591, allocations: 2.124 MB / 0.5298 GB, free: 8.887 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.4592, allocations: 59.97 kB / 0.5299 GB, free: 8.816 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003992/0.4596, allocations: 318.9 kB / 0.5302 GB, free: 8.492 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.597e-05/0.4596, allocations: 37.7 kB / 0.5302 GB, free: 8.449 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.4598, allocations: 196.8 kB / 0.5304 GB, free: 8.254 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001749/0.46, allocations: 206.2 kB / 0.5306 GB, free: 8.051 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.4602, allocations: 114.2 kB / 0.5307 GB, free: 7.934 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.4603, allocations: 346.8 kB / 0.531 GB, free: 7.586 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004258/0.4608, allocations: 245 kB / 0.5313 GB, free: 7.348 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007007/0.4615, allocations: 335.3 kB / 0.5316 GB, free: 6.984 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.4628, allocations: 0.6073 MB / 0.5322 GB, free: 6.344 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4628, allocations: 0 / 0.5322 GB, free: 6.344 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001945/0.4647, allocations: 0.7519 MB / 0.5329 GB, free: 5.578 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.4647, allocations: 8.625 kB / 0.5329 GB, free: 5.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.4647, allocations: 7.953 kB / 0.5329 GB, free: 5.566 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000499/0.4652, allocations: 110.8 kB / 0.533 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005202/0.4657, allocations: 123.8 kB / 0.5331 GB, free: 5.328 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002947/0.4687, allocations: 3.472 MB / 0.5365 GB, free: 1.555 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/0.469, allocations: 19.95 kB / 0.5366 GB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.211e-05/0.4691, allocations: 32.19 kB / 0.5366 GB, free: 1.504 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.0002767/0.4693, allocations: 197.6 kB / 0.5368 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002983/0.4696, allocations: 43.77 kB / 0.5368 GB, free: 1.258 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.4714, allocations: 0.8151 MB / 0.5376 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.4714, allocations: 11.98 kB / 0.5376 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.4714, allocations: 0 / 0.5376 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001258/0.4726, allocations: 0.7518 MB / 0.5384 GB, free: 15.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.4748, allocations: 1.301 MB / 0.5396 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4748, allocations: 0 / 0.5396 GB, free: 14.21 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004696/0.4753, allocations: 99.88 kB / 0.5397 GB, free: 14.11 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009582/0.4763, allocations: 148.7 kB / 0.5399 GB, free: 13.96 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.602e-05/0.4763, allocations: 19.94 kB / 0.5399 GB, free: 13.94 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004801/0.4768, allocations: 0.6504 MB / 0.5405 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4768, allocations: 8.016 kB / 0.5405 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001958/0.4788, allocations: 0.9094 MB / 0.5414 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.4789, allocations: 113 kB / 0.5415 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.504e-05/0.479, allocations: 12 kB / 0.5415 GB, free: 12.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004064/0.4794, allocations: 19.98 kB / 0.5416 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.289e-05/0.4794, allocations: 32.39 kB / 0.5416 GB, free: 12.13 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.775e-05/0.4795, allocations: 31.97 kB / 0.5416 GB, free: 12.1 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003055/0.4798, allocations: 253.9 kB / 0.5419 GB, free: 11.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4798, allocations: 0 / 0.5419 GB, free: 11.85 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003561/0.4834, allocations: 1.341 MB / 0.5432 GB, free: 10.51 MB / 462.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.00532/0.4887, allocations: 1.713 MB / 0.5448 GB, free: 8.793 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.4903, allocations: 0.784 MB / 0.5456 GB, free: 7.98 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4903, allocations: 0 / 0.5456 GB, free: 7.98 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000607/0.4909, allocations: 283.2 kB / 0.5459 GB, free: 7.703 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.4924, allocations: 281.8 kB / 0.5461 GB, free: 7.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.4944, allocations: 1.101 MB / 0.5472 GB, free: 6.289 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.4949, allocations: 0.8287 MB / 0.548 GB, free: 5.434 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004869/0.4953, allocations: 148.2 kB / 0.5482 GB, free: 5.285 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001581/0.4955, allocations: 55.42 kB / 0.5482 GB, free: 5.234 MB / 462.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4955, allocations: 0 / 0.5482 GB, free: 5.234 MB / 462.1 MB Notification: Performance of Templates: time 0.06731/0.5628, allocations: 45.29 MB / 0.5924 GB, free: 7.957 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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: 12.909777410328388]