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.000942/0.000942, allocations: 84.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009285/0.0009285, allocations: 163.6 kB / 24.91 MB, free: 8.766 MB / 18.57 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.9448/0.9448, allocations: 177 MB / 205.2 MB, free: 5.074 MB / 186.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.2527/0.2527, allocations: 34.85 MB / 296.6 MB, free: 476 kB / 266.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.683e-06/1.683e-06, allocations: 0 / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.402e-05, allocations: 6.062 kB / 325.9 MB, free: 7.164 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3482/0.3482, allocations: 150.3 MB / 476.2 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00403/0.3523, allocations: 2.969 MB / 479.2 MB, free: 12.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004961/0.3528, allocations: 26.47 kB / 479.2 MB, free: 12.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006395/0.3534, allocations: 244.2 kB / 479.4 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003566/0.357, allocations: 1.763 MB / 481.2 MB, free: 11.72 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001825/0.3588, allocations: 1.03 MB / 482.2 MB, free: 11.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002138/0.3609, allocations: 2.282 MB / 484.5 MB, free: 11.58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006971/0.3616, allocations: 0.5602 MB / 485.1 MB, free: 11.51 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00185/0.3635, allocations: 1.412 MB / 486.5 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009391/0.3644, allocations: 0.7383 MB / 487.2 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001784/0.3646, allocations: 91.03 kB / 487.3 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002175/0.3668, allocations: 1.44 MB / 488.8 MB, free: 11.24 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003635/0.3671, allocations: 469.7 kB / 489.2 MB, free: 11.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004475/0.3676, allocations: 404.5 kB / 489.6 MB, free: 11.16 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002449/0.37, allocations: 1.87 MB / 491.5 MB, free: 10.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.37, allocations: 0 / 491.5 MB, free: 10.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.37, allocations: 4 kB / 491.5 MB, free: 10.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.385e-05/0.3701, allocations: 0 / 491.5 MB, free: 10.72 MB / 410.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.001897/0.372, allocations: 1.322 MB / 492.8 MB, free: 9.934 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.372, allocations: 8.312 kB / 492.8 MB, free: 9.934 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003192/0.3723, allocations: 165.2 kB / 493 MB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007968/0.3731, allocations: 493.9 kB / 493.5 MB, free: 9.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.3732, allocations: 171.2 kB / 493.6 MB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.3733, allocations: 73.59 kB / 493.7 MB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.3744, allocations: 1.114 MB / 494.8 MB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.486e-05/0.3744, allocations: 2.938 kB / 494.8 MB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.373e-05/0.3745, allocations: 34.03 kB / 494.8 MB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.687e-05/0.3745, allocations: 65.05 kB / 494.9 MB, free: 8.551 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007572/0.3753, allocations: 418.9 kB / 495.3 MB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003121/0.3784, allocations: 2.663 MB / 498 MB, free: 6.797 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005682/0.379, allocations: 459.1 kB / 498.4 MB, free: 6.664 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.3791, allocations: 139.3 kB / 498.6 MB, free: 6.633 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002579/0.3794, allocations: 136 kB / 498.7 MB, free: 6.602 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.3794, allocations: 51.23 kB / 498.8 MB, free: 6.555 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 2.465e-06/0.3794, allocations: 0 / 498.8 MB, free: 6.555 MB / 410.7 MB Notification: Performance of matching and sorting (n=82): time 0.004008/0.3834, allocations: 2.086 MB / 0.4891 GB, free: 5.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.3835, allocations: 115.5 kB / 0.4892 GB, free: 5.641 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.3837, allocations: 483 kB / 0.4897 GB, free: 5.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.688e-05/0.3838, allocations: 43.58 kB / 0.4897 GB, free: 5.367 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.3839, allocations: 361.5 kB / 0.4901 GB, free: 5.078 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.384, allocations: 308.7 kB / 0.4904 GB, free: 4.828 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.3842, allocations: 186.7 kB / 0.4905 GB, free: 4.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.671e-05/0.3843, allocations: 388.2 kB / 0.4909 GB, free: 4.395 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.3845, allocations: 141.3 kB / 0.491 GB, free: 4.359 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.3847, allocations: 472.9 kB / 0.4915 GB, free: 3.938 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005127/0.3852, allocations: 0.6461 MB / 0.4921 GB, free: 3.473 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3852, allocations: 3 kB / 0.4921 GB, free: 3.473 MB / 410.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0007939/0.386, allocations: 0.7043 MB / 0.4928 GB, free: 3.195 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.386, allocations: 7.969 kB / 0.4928 GB, free: 3.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3861, allocations: 8.5 kB / 0.4928 GB, free: 3.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002261/0.3883, allocations: 0.9387 MB / 0.4937 GB, free: 2.832 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002951/0.3886, allocations: 154.7 kB / 0.4939 GB, free: 2.797 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006338/0.3892, allocations: 0.8369 MB / 0.4947 GB, free: 2.152 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.3896, allocations: 40.02 kB / 0.4947 GB, free: 2.133 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.268e-05/0.3897, allocations: 42.08 kB / 0.4948 GB, free: 2.121 MB / 410.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.0002083/0.3899, allocations: 178.2 kB / 0.495 GB, free: 1.957 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.39, allocations: 82.11 kB / 0.495 GB, free: 1.922 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009726/0.3909, allocations: 0.8714 MB / 0.4959 GB, free: 1.484 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.391, allocations: 14.66 kB / 0.4959 GB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.391, allocations: 0 / 0.4959 GB, free: 1.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.391, allocations: 7.969 kB / 0.4959 GB, free: 1.473 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.3923, allocations: 1.211 MB / 0.4971 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3924, allocations: 6.938 kB / 0.4971 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005386/0.3929, allocations: 221.2 kB / 0.4973 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005582/0.3935, allocations: 245 kB / 0.4975 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.191e-05/0.3935, allocations: 32.95 kB / 0.4976 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008591/0.3944, allocations: 1.824 MB / 0.4993 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3944, allocations: 2.781 kB / 0.4994 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000886/0.3952, allocations: 0.8371 MB / 0.5002 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002212/0.3955, allocations: 131 kB / 0.5003 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.069e-05/0.3956, allocations: 20.91 kB / 0.5003 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003082/0.3959, allocations: 43.19 kB / 0.5004 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.01e-05/0.3959, allocations: 66.56 kB / 0.5004 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.77e-05/0.396, allocations: 32.47 kB / 0.5004 GB, free: 14.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001517/0.3962, allocations: 206.9 kB / 0.5006 GB, free: 14.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3962, allocations: 0 / 0.5006 GB, free: 14.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00106/0.3972, allocations: 0.4895 MB / 0.5011 GB, free: 13.98 MB / 426.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.0007859/0.398, allocations: 0.4929 MB / 0.5016 GB, free: 13.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007623/0.3988, allocations: 0.5514 MB / 0.5021 GB, free: 13.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/0.3988, allocations: 8.781 kB / 0.5022 GB, free: 13.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005157/0.3993, allocations: 347.1 kB / 0.5025 GB, free: 13.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009914/0.4003, allocations: 459.7 kB / 0.5029 GB, free: 13.17 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.4028, allocations: 1.689 MB / 0.5046 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.403, allocations: 213.9 kB / 0.5048 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005148/0.4035, allocations: 234.2 kB / 0.505 GB, free: 10.99 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007292/0.4042, allocations: 392.9 kB / 0.5054 GB, free: 10.61 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/0.4042, allocations: 0 / 0.5054 GB, free: 10.61 MB / 426.7 MB Notification: Performance of Templates: time 0.03223/0.4364, allocations: 28.37 MB / 0.5331 GB, free: 14.61 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.153536143247038]