Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.001071/0.001071, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00171/0.002782, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.00108/0.00108, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009256/0.002005, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9877/0.9877, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1082/1.096, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2795/0.2795, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06311/0.3426, allocations: 13.23 MB / 292.8 MB, free: 6.41 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.[0-9,]+.|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.Xi.[0-9,]+.|volume.medium.T",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.871e-05/2.051e-05, allocations: 2.969 kB / 294.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3566/0.3566, allocations: 150.8 MB / 444.9 MB, free: 3.566 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003826/0.3604, allocations: 2.979 MB / 447.8 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003186/0.3607, allocations: 27.09 kB / 447.9 MB, free: 3.551 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004475/0.3612, allocations: 250.4 kB / 448.1 MB, free: 3.547 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00264/0.3638, allocations: 1.682 MB / 449.8 MB, free: 3.477 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.3652, allocations: 1.002 MB / 450.8 MB, free: 3.457 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001624/0.3668, allocations: 2.304 MB / 453.1 MB, free: 3.453 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000523/0.3673, allocations: 0.5488 MB / 453.7 MB, free: 3.402 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.3687, allocations: 1.468 MB / 455.1 MB, free: 3.344 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007315/0.3694, allocations: 0.7368 MB / 455.9 MB, free: 3.281 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.3696, allocations: 93.59 kB / 456 MB, free: 3.281 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.3714, allocations: 1.515 MB / 457.5 MB, free: 3.219 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002886/0.3717, allocations: 396.2 kB / 457.9 MB, free: 3.176 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002869/0.3719, allocations: 320.6 kB / 458.2 MB, free: 3.145 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001547/0.3735, allocations: 1.601 MB / 459.8 MB, free: 2.973 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.001e-05/0.3735, allocations: 2.906 kB / 459.8 MB, free: 2.973 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3735, allocations: 1 kB / 459.8 MB, free: 2.973 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.3735, allocations: 0 / 459.8 MB, free: 2.973 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.001889/0.3754, allocations: 1.694 MB / 461.5 MB, free: 18.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3754, allocations: 10.45 kB / 461.5 MB, free: 18.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003032/0.3757, allocations: 160.1 kB / 461.6 MB, free: 18.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005389/0.3763, allocations: 483.4 kB / 462.1 MB, free: 18.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.83e-05/0.3764, allocations: 172.8 kB / 462.3 MB, free: 17.89 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.876e-05/0.3765, allocations: 76.98 kB / 462.3 MB, free: 17.89 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007529/0.3772, allocations: 1.108 MB / 463.5 MB, free: 17.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.3772, allocations: 7.156 kB / 463.5 MB, free: 17.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.757e-05/0.3773, allocations: 32.83 kB / 463.5 MB, free: 17.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.196e-05/0.3774, allocations: 58.59 kB / 463.6 MB, free: 17.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004796/0.3778, allocations: 423.6 kB / 464 MB, free: 17.17 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002444/0.3803, allocations: 2.69 MB / 466.7 MB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005507/0.3808, allocations: 457 kB / 467.1 MB, free: 15.71 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.381, allocations: 137.9 kB / 467.2 MB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/0.3812, allocations: 133.2 kB / 467.4 MB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.3812, allocations: 44.38 kB / 467.4 MB, free: 15.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=70): time 1.733e-06/0.3812, allocations: 0.9688 kB / 467.4 MB, free: 15.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=82): time 0.004503/0.3857, allocations: 2.394 MB / 469.8 MB, free: 15.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.3858, allocations: 60.84 kB / 469.9 MB, free: 15.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.386, allocations: 482.8 kB / 470.3 MB, free: 15.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.707e-05/0.3861, allocations: 41.95 kB / 470.4 MB, free: 15.12 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.3862, allocations: 364 kB / 470.7 MB, free: 14.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.3863, allocations: 302.5 kB / 471 MB, free: 14.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.3865, allocations: 192.6 kB / 471.2 MB, free: 14.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.3866, allocations: 386.1 kB / 471.6 MB, free: 14.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001793/0.3868, allocations: 138 kB / 471.7 MB, free: 14.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002765/0.3871, allocations: 474.4 kB / 472.2 MB, free: 13.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005351/0.3876, allocations: 0.6737 MB / 472.9 MB, free: 13.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3876, allocations: 4.094 kB / 472.9 MB, free: 13.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0007615/0.3884, allocations: 0.7059 MB / 473.6 MB, free: 13.54 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3884, allocations: 9.094 kB / 473.6 MB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3884, allocations: 9.469 kB / 473.6 MB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002317/0.3907, allocations: 0.9751 MB / 474.6 MB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.391, allocations: 183.7 kB / 474.7 MB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006502/0.3917, allocations: 0.8346 MB / 475.6 MB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.392, allocations: 43.55 kB / 475.6 MB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.956e-05/0.392, allocations: 42 kB / 475.7 MB, free: 12.98 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 4 (volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0002144/0.3923, allocations: 178.7 kB / 475.8 MB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.3924, allocations: 81.09 kB / 475.9 MB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009871/0.3933, allocations: 0.8787 MB / 476.8 MB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.3934, allocations: 11.66 kB / 476.8 MB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.3934, allocations: 0.7188 kB / 476.8 MB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.3934, allocations: 6.734 kB / 476.8 MB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.3946, allocations: 1.212 MB / 478 MB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.3946, allocations: 0 / 478 MB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005998/0.3952, allocations: 256.2 kB / 478.3 MB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001695/0.3954, allocations: 127.5 kB / 478.4 MB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005388/0.3959, allocations: 248.4 kB / 478.6 MB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.397e-05/0.396, allocations: 28.39 kB / 478.7 MB, free: 12.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008583/0.3968, allocations: 1.825 MB / 480.5 MB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3968, allocations: 0.9688 kB / 480.5 MB, free: 10.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.3979, allocations: 0.8451 MB / 481.3 MB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-05/0.3979, allocations: 25.16 kB / 481.4 MB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.3983, allocations: 44.02 kB / 481.4 MB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/0.3983, allocations: 66.31 kB / 481.5 MB, free: 10.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-05/0.3984, allocations: 32.73 kB / 481.5 MB, free: 10.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001318/0.3985, allocations: 209.5 kB / 481.7 MB, free: 10.19 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3985, allocations: 0.8125 kB / 481.7 MB, free: 10.19 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008817/0.3994, allocations: 0.5003 MB / 482.2 MB, free: 10.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (80): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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 {1} * 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007248/0.4001, allocations: 0.5093 MB / 482.7 MB, free: 9.988 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006697/0.4008, allocations: 0.5589 MB / 483.3 MB, free: 9.934 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.148e-05/0.4008, allocations: 17.38 kB / 483.3 MB, free: 9.934 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005578/0.4014, allocations: 414.3 kB / 483.7 MB, free: 9.898 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/0.4028, allocations: 2.13 MB / 485.8 MB, free: 7.992 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008146/0.411, allocations: 1.714 MB / 487.5 MB, free: 7.281 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.4111, allocations: 225.2 kB / 487.8 MB, free: 7.203 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005814/0.4117, allocations: 223.4 kB / 488 MB, free: 7.164 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008422/0.4126, allocations: 403.7 kB / 488.4 MB, free: 7.094 MB / 442.7 MB Notification: Performance of SimCode: time 1.493e-06/0.4126, allocations: 0 / 488.4 MB, free: 7.094 MB / 442.7 MB Notification: Performance of Templates: time 0.02923/0.4418, allocations: 28.91 MB / 0.5052 GB, free: 4.879 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/MoistAir/MoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.151149754412472]