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.001415/0.001415, allocations: 80.92 kB / 21.49 MB, free: 2.992 MB / 18.57 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.001056/0.001056, allocations: 172.9 kB / 24.91 MB, free: 8.766 MB / 18.57 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 0.973/0.973, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.2616/0.2616, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 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.[0-9,]+.|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.[0-9,]+.|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 325.3 MB, free: 7.668 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.564e-05/2.748e-05, allocations: 2.969 kB / 325.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.3301/0.3301, allocations: 150.3 MB / 475.5 MB, free: 12.39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004327/0.3344, allocations: 2.962 MB / 478.5 MB, free: 12.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004833/0.3349, allocations: 27.22 kB / 478.5 MB, free: 12.08 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005527/0.3355, allocations: 244.1 kB / 478.8 MB, free: 12.01 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003231/0.3387, allocations: 1.764 MB / 480.5 MB, free: 11.77 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.3403, allocations: 1.036 MB / 481.6 MB, free: 11.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001978/0.3423, allocations: 2.276 MB / 483.9 MB, free: 11.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006962/0.343, allocations: 0.5551 MB / 484.4 MB, free: 11.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001719/0.3447, allocations: 1.423 MB / 485.8 MB, free: 11.46 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008635/0.3456, allocations: 0.7311 MB / 486.6 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.3458, allocations: 91.5 kB / 486.6 MB, free: 11.39 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002211/0.348, allocations: 1.441 MB / 488.1 MB, free: 11.31 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000358/0.3483, allocations: 466.5 kB / 488.5 MB, free: 11.26 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004603/0.3488, allocations: 408.3 kB / 488.9 MB, free: 11.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00243/0.3512, allocations: 1.871 MB / 490.8 MB, free: 10.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3512, allocations: 0 / 490.8 MB, free: 10.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3512, allocations: 0 / 490.8 MB, free: 10.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.864e-05/0.3513, allocations: 0 / 490.8 MB, free: 10.83 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.001892/0.3531, allocations: 1.335 MB / 492.2 MB, free: 10.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.3532, allocations: 11.28 kB / 492.2 MB, free: 10.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003078/0.3535, allocations: 162.7 kB / 492.3 MB, free: 9.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005598/0.354, allocations: 484.6 kB / 492.8 MB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.707e-05/0.3541, allocations: 171.4 kB / 493 MB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.279e-05/0.3542, allocations: 75.38 kB / 493 MB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007067/0.3549, allocations: 1.117 MB / 494.2 MB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.355, allocations: 2.656 kB / 494.2 MB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.802e-05/0.355, allocations: 30.3 kB / 494.2 MB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.454e-05/0.3551, allocations: 68.69 kB / 494.3 MB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005262/0.3556, allocations: 411.4 kB / 494.7 MB, free: 8.551 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002739/0.3583, allocations: 2.676 MB / 497.3 MB, free: 6.898 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000579/0.3589, allocations: 453.8 kB / 497.8 MB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.3591, allocations: 137.5 kB / 497.9 MB, free: 6.742 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003377/0.3594, allocations: 137.7 kB / 498 MB, free: 6.707 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.3594, allocations: 44.59 kB / 498.1 MB, free: 6.664 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 2.484e-06/0.3594, allocations: 0 / 498.1 MB, free: 6.664 MB / 410.7 MB Notification: Performance of matching and sorting (n=82): time 0.004229/0.3637, allocations: 2.094 MB / 0.4885 GB, free: 5.922 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.568e-05/0.3637, allocations: 115.9 kB / 0.4886 GB, free: 5.793 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003305/0.364, allocations: 482.9 kB / 0.489 GB, free: 5.574 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.861e-05/0.3641, allocations: 45.48 kB / 0.4891 GB, free: 5.539 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.3642, allocations: 361.9 kB / 0.4894 GB, free: 5.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.3644, allocations: 302.6 kB / 0.4897 GB, free: 5.031 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001954/0.3646, allocations: 192.9 kB / 0.4899 GB, free: 4.934 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.063e-05/0.3646, allocations: 384.6 kB / 0.4903 GB, free: 4.598 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.3648, allocations: 133.3 kB / 0.4904 GB, free: 4.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002571/0.3651, allocations: 476 kB / 0.4908 GB, free: 4.145 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005105/0.3656, allocations: 0.6429 MB / 0.4915 GB, free: 3.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.3656, allocations: 2.844 kB / 0.4915 GB, free: 3.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.0007859/0.3664, allocations: 0.7029 MB / 0.4922 GB, free: 3.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3664, allocations: 7.656 kB / 0.4922 GB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.3664, allocations: 8.719 kB / 0.4922 GB, free: 3.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002234/0.3686, allocations: 0.9406 MB / 0.4931 GB, free: 3.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000297/0.3689, allocations: 152.1 kB / 0.4932 GB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000617/0.3695, allocations: 0.8351 MB / 0.494 GB, free: 2.367 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/0.3699, allocations: 46.05 kB / 0.4941 GB, free: 2.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.428e-05/0.37, allocations: 42.11 kB / 0.4941 GB, free: 2.332 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.0002353/0.3702, allocations: 175.4 kB / 0.4943 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.3703, allocations: 78.36 kB / 0.4944 GB, free: 2.137 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009501/0.3713, allocations: 0.8892 MB / 0.4952 GB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.3713, allocations: 8.469 kB / 0.4952 GB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.3713, allocations: 0 / 0.4952 GB, free: 1.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.3713, allocations: 3.984 kB / 0.4953 GB, free: 1.676 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.3727, allocations: 1.211 MB / 0.4964 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3727, allocations: 2.781 kB / 0.4964 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005148/0.3732, allocations: 221.2 kB / 0.4966 GB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005539/0.3737, allocations: 243.1 kB / 0.4969 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.187e-05/0.3738, allocations: 26.48 kB / 0.4969 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000935/0.3747, allocations: 1.84 MB / 0.4987 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.123e-06/0.3747, allocations: 2.688 kB / 0.4987 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008544/0.3756, allocations: 0.8375 MB / 0.4995 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.3758, allocations: 122.2 kB / 0.4996 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.546e-05/0.3759, allocations: 32.27 kB / 0.4997 GB, free: 14.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.3762, allocations: 38.66 kB / 0.4997 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.3763, allocations: 62.48 kB / 0.4998 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.3763, allocations: 33.06 kB / 0.4998 GB, free: 14.37 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001486/0.3765, allocations: 209.2 kB / 0.5 GB, free: 14.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3765, allocations: 0 / 0.5 GB, free: 14.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001019/0.3775, allocations: 0.4898 MB / 0.5005 GB, free: 14.18 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.0007622/0.3783, allocations: 0.5032 MB / 0.501 GB, free: 13.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000734/0.379, allocations: 0.5519 MB / 0.5015 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.494e-05/0.379, allocations: 9.469 kB / 0.5015 GB, free: 13.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005085/0.3795, allocations: 346.8 kB / 0.5018 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009612/0.3805, allocations: 465.1 kB / 0.5023 GB, free: 13.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.3829, allocations: 1.658 MB / 0.5039 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.383, allocations: 217.8 kB / 0.5041 GB, free: 11.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008268/0.3839, allocations: 239.5 kB / 0.5043 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007305/0.3846, allocations: 396.9 kB / 0.5047 GB, free: 10.93 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3846, allocations: 0 / 0.5047 GB, free: 10.93 MB / 426.7 MB Notification: Performance of Templates: time 0.02958/0.4142, allocations: 28.37 MB / 0.5324 GB, free: 14.94 MB / 458.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 240] 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","",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.188173606991768]