Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 114.6 kB / 18.4 MB, free: 4.773 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00192/0.00192, allocations: 190.7 kB / 21.34 MB, free: 1.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 222.9 MB / 247 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 178] 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.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.0.0_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.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 55.91 kB / 358.7 MB, free: 8.293 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09031/0.09188, allocations: 49.44 MB / 408.1 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2621/0.354, allocations: 65.57 MB / 473.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008175/0.3623, allocations: 5.467 MB / 479.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005396/0.3628, allocations: 5.719 kB / 479.1 MB, free: 14.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.364, allocations: 345.5 kB / 479.5 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001156/0.3653, allocations: 0.5093 MB / 480 MB, free: 13.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01853/0.3838, allocations: 7.426 MB / 487.4 MB, free: 8.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002052/0.3859, allocations: 1.548 MB / 489 MB, free: 7.379 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003433/0.3862, allocations: 215.5 kB / 489.2 MB, free: 7.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009616/0.3872, allocations: 0.6322 MB / 489.8 MB, free: 6.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007838/0.388, allocations: 0.5615 MB / 490.4 MB, free: 6.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.3881, allocations: 84.16 kB / 490.5 MB, free: 6.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0194/0.4075, allocations: 10.2 MB / 0.4889 GB, free: 12.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000494/0.4081, allocations: 323.2 kB / 0.4892 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007309/0.4088, allocations: 442.3 kB / 0.4897 GB, free: 12.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01305/0.4219, allocations: 5.959 MB / 0.4955 GB, free: 6.215 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.4219, allocations: 0 / 0.4955 GB, free: 6.215 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.4219, allocations: 3.938 kB / 0.4955 GB, free: 6.211 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.4219, allocations: 0 / 0.4955 GB, free: 6.211 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003744/0.4257, allocations: 1.605 MB / 0.497 GB, free: 4.551 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.4257, allocations: 8.031 kB / 0.4971 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004404/0.4262, allocations: 87.56 kB / 0.4971 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006382/0.4268, allocations: 445 kB / 0.4976 GB, free: 3.98 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.337e-05/0.4269, allocations: 53.31 kB / 0.4976 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.427, allocations: 60 kB / 0.4977 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.4288, allocations: 0.8146 MB / 0.4985 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.4288, allocations: 0 / 0.4985 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.728e-05/0.4289, allocations: 28 kB / 0.4985 GB, free: 3.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.4289, allocations: 12 kB / 0.4985 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/0.4309, allocations: 1.024 MB / 0.4995 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01838/0.4493, allocations: 12.79 MB / 0.512 GB, free: 3.055 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/0.4512, allocations: 0.7415 MB / 0.5127 GB, free: 2.301 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006435/0.4519, allocations: 407.8 kB / 0.5131 GB, free: 1.902 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01611/0.468, allocations: 12.26 MB / 0.5251 GB, free: 3.266 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.32e-05/0.4681, allocations: 43.22 kB / 0.5251 GB, free: 3.215 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 4.809e-06/0.4681, allocations: 3.984 kB / 0.5251 GB, free: 3.211 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.01001/0.4781, allocations: 3.387 MB / 0.5284 GB, free: 15.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.4782, allocations: 64.41 kB / 0.5285 GB, free: 15.67 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004381/0.4786, allocations: 348.5 kB / 0.5288 GB, free: 15.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.247e-05/0.4787, allocations: 49.7 kB / 0.5289 GB, free: 15.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001786/0.4789, allocations: 241.2 kB / 0.5291 GB, free: 15.03 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002518/0.4792, allocations: 321.2 kB / 0.5294 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.4794, allocations: 162.6 kB / 0.5296 GB, free: 14.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.4796, allocations: 362.8 kB / 0.5299 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000594/0.4802, allocations: 373.7 kB / 0.5303 GB, free: 13.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009484/0.4812, allocations: 0.4885 MB / 0.5307 GB, free: 13.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0018/0.483, allocations: 0.8981 MB / 0.5316 GB, free: 12.36 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.483, allocations: 4 kB / 0.5316 GB, free: 12.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002657/0.4857, allocations: 1.117 MB / 0.5327 GB, free: 11.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.4857, allocations: 11.94 kB / 0.5327 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.4857, allocations: 0 / 0.5327 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000837/0.4866, allocations: 163.3 kB / 0.5329 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007538/0.4873, allocations: 191.8 kB / 0.5331 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00321/0.4906, allocations: 4.12 MB / 0.5371 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004271/0.491, allocations: 20 kB / 0.5371 GB, free: 6.391 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.953e-05/0.4911, allocations: 43.98 kB / 0.5371 GB, free: 6.348 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.0003766/0.4915, allocations: 230.5 kB / 0.5374 GB, free: 6.113 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000402/0.4919, allocations: 63.67 kB / 0.5374 GB, free: 6.051 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/0.4944, allocations: 1.277 MB / 0.5387 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.4944, allocations: 15.98 kB / 0.5387 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.4944, allocations: 0 / 0.5387 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00196/0.4964, allocations: 1.327 MB / 0.54 GB, free: 3.266 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003294/0.4997, allocations: 1.964 MB / 0.5419 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.4997, allocations: 0 / 0.5419 GB, free: 1.234 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007144/0.5004, allocations: 167.8 kB / 0.5421 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001821/0.5023, allocations: 293.3 kB / 0.5423 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.128e-05/0.5024, allocations: 31.98 kB / 0.5424 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009006/0.5033, allocations: 1.285 MB / 0.5436 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.5033, allocations: 4.031 kB / 0.5436 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/0.506, allocations: 1.414 MB / 0.545 GB, free: 13.97 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.5062, allocations: 132.9 kB / 0.5451 GB, free: 13.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001002/0.5063, allocations: 23.98 kB / 0.5452 GB, free: 13.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005256/0.5068, allocations: 27.98 kB / 0.5452 GB, free: 13.77 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.928e-05/0.5069, allocations: 52.92 kB / 0.5452 GB, free: 13.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.53e-05/0.507, allocations: 43.97 kB / 0.5453 GB, free: 13.67 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003467/0.5074, allocations: 283 kB / 0.5455 GB, free: 13.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5074, allocations: 3.938 kB / 0.5456 GB, free: 13.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003662/0.5111, allocations: 1.415 MB / 0.5469 GB, free: 11.97 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.005513/0.5166, allocations: 1.744 MB / 0.5486 GB, free: 10.23 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002326/0.519, allocations: 1.172 MB / 0.5498 GB, free: 9.027 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.519, allocations: 0 / 0.5498 GB, free: 9.027 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009678/0.5199, allocations: 495.2 kB / 0.5503 GB, free: 8.535 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/0.5219, allocations: 386.3 kB / 0.5506 GB, free: 8.152 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002918/0.5249, allocations: 1.718 MB / 0.5523 GB, free: 6.398 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005465/0.5254, allocations: 0.9128 MB / 0.5532 GB, free: 5.457 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/0.5257, allocations: 95.41 kB / 0.5533 GB, free: 5.367 MB / 462.1 MB Notification: Performance of SimCode: time 4.11e-07/0.5257, allocations: 3.938 kB / 0.5533 GB, free: 5.363 MB / 462.1 MB Notification: Performance of Templates: time 0.05901/0.5848, allocations: 40.87 MB / 0.5932 GB, free: 12.47 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir2/MoistAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.69512993504759]