Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 124.4 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002343/0.002343, allocations: 199.3 kB / 20.74 MB, free: 2.32 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.623/1.623, allocations: 230.6 MB / 254.1 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.259/0.259, allocations: 46.92 MB / 357.1 MB, free: 10.36 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.1.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_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.1.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 71.89 kB / 0.4914 GB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1475, allocations: 65.99 MB / 0.5559 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6659/0.8134, allocations: 194.7 MB / 0.746 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01395/0.8274, allocations: 7.465 MB / 0.7533 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001302/0.8287, allocations: 23.75 kB / 0.7533 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001854/0.8305, allocations: 453.5 kB / 0.7537 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008485/0.839, allocations: 2.392 MB / 0.7561 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007195/0.8462, allocations: 2.301 MB / 0.7583 GB, free: 1.715 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003849/0.85, allocations: 2.215 MB / 0.7605 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.8513, allocations: 0.5366 MB / 0.761 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005026/0.8563, allocations: 1.857 MB / 0.7628 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002062/0.8584, allocations: 0.9112 MB / 0.7637 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004114/0.8588, allocations: 92 kB / 0.7638 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01218/0.871, allocations: 5.401 MB / 0.7691 GB, free: 6.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0011/0.8721, allocations: 434.8 kB / 0.7695 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001787/0.8739, allocations: 0.5329 MB / 0.77 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.8863, allocations: 3.845 MB / 0.7737 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.8863, allocations: 4 kB / 0.7738 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8863, allocations: 0 / 0.7738 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.398e-05/0.8864, allocations: 3.938 kB / 0.7738 GB, free: 1.836 MB / 0.5762 GB 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.006495/0.8929, allocations: 1.769 MB / 0.7755 GB, free: 12 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.893, allocations: 12.03 kB / 0.7755 GB, free: 0 / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007298/0.8937, allocations: 119.3 kB / 0.7756 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.8952, allocations: 0.6213 MB / 0.7762 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001741/0.8954, allocations: 121.4 kB / 0.7763 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/0.8957, allocations: 68 kB / 0.7764 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002543/0.8982, allocations: 1.158 MB / 0.7775 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.371e-05/0.8982, allocations: 3.938 kB / 0.7775 GB, free: 13.81 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.8984, allocations: 28 kB / 0.7776 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/0.8985, allocations: 65.91 kB / 0.7776 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/0.9008, allocations: 1.159 MB / 0.7788 GB, free: 12.55 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008645/0.9095, allocations: 4.972 MB / 0.7836 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/0.9115, allocations: 0.7833 MB / 0.7844 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007493/0.9122, allocations: 407.8 kB / 0.7848 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001704/0.9139, allocations: 1.63 MB / 0.7864 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.191e-05/0.914, allocations: 47.12 kB / 0.7864 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=70): time 4.258e-06/0.914, allocations: 0 / 0.7864 GB, free: 4.012 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.01601/0.93, allocations: 4.019 MB / 0.7903 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.9301, allocations: 115.5 kB / 0.7904 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.9314, allocations: 0.6642 MB / 0.7911 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002034/0.9316, allocations: 45.64 kB / 0.7911 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004236/0.932, allocations: 396.4 kB / 0.7915 GB, free: 14.68 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000437/0.9324, allocations: 301.4 kB / 0.7918 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004595/0.9329, allocations: 198.5 kB / 0.792 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002611/0.9331, allocations: 394.7 kB / 0.7924 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00119/0.9343, allocations: 493.7 kB / 0.7928 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.9359, allocations: 0.7523 MB / 0.7936 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002824/0.9387, allocations: 1.285 MB / 0.7948 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/0.9387, allocations: 7.938 kB / 0.7948 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.00425/0.9429, allocations: 1.657 MB / 0.7964 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.943, allocations: 8 kB / 0.7965 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.069e-05/0.943, allocations: 8 kB / 0.7965 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008016/0.951, allocations: 1.316 MB / 0.7977 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008593/0.9519, allocations: 155.7 kB / 0.7979 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003267/0.9551, allocations: 1.529 MB / 0.7994 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.9563, allocations: 55.94 kB / 0.7994 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002522/0.9565, allocations: 51.98 kB / 0.7995 GB, free: 6.23 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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.0009764/0.9575, allocations: 295.7 kB / 0.7998 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004812/0.958, allocations: 87.48 kB / 0.7999 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004407/0.9624, allocations: 1.678 MB / 0.8015 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.483e-05/0.9624, allocations: 8 kB / 0.8015 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.741e-05/0.9624, allocations: 3.938 kB / 0.8015 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.448e-05/0.9625, allocations: 7.984 kB / 0.8015 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006122/0.9686, allocations: 2.628 MB / 0.8041 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.9686, allocations: 0 / 0.8041 GB, free: 1.414 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/0.97, allocations: 255.7 kB / 0.8043 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001922/0.9719, allocations: 388.5 kB / 0.8047 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.972, allocations: 27.98 kB / 0.8047 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003213/0.9753, allocations: 2.349 MB / 0.807 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.185e-06/0.9753, allocations: 8.594 kB / 0.807 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00469/0.98, allocations: 2.025 MB / 0.809 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007969/0.9807, allocations: 296.4 kB / 0.8093 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/0.981, allocations: 20 kB / 0.8093 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.9821, allocations: 55.95 kB / 0.8094 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.9823, allocations: 72.72 kB / 0.8094 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000167/0.9824, allocations: 43.97 kB / 0.8095 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009383/0.9834, allocations: 0.499 MB / 0.81 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9834, allocations: 0 / 0.81 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002692/0.9861, allocations: 0.6935 MB / 0.8106 GB, free: 10.49 MB / 0.6231 GB 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 (82): * Single equations (assignments): 78 * 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.002878/0.989, allocations: 0.8061 MB / 0.8114 GB, free: 9.68 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003313/0.9923, allocations: 1.182 MB / 0.8126 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.9923, allocations: 8.062 kB / 0.8126 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002082/0.9944, allocations: 0.6891 MB / 0.8133 GB, free: 7.801 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003128/0.9975, allocations: 0.5264 MB / 0.8138 GB, free: 7.289 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005702/1.003, allocations: 2.173 MB / 0.8159 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009791/1.004, allocations: 1.047 MB / 0.8169 GB, free: 3.988 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001398/1.006, allocations: 362.6 kB / 0.8173 GB, free: 3.641 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003931/1.006, allocations: 87.42 kB / 0.8173 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of SimCode: time 1.122e-06/1.006, allocations: 0 / 0.8173 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of Templates: time 0.3473/1.353, allocations: 35.09 MB / 0.8516 GB, free: 232.7 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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: 8.207904864102602]