Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.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.001452/0.001452, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001922/0.001922, allocations: 206.8 kB / 24.48 MB, free: 3.977 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.465/1.465, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2248/0.2248, allocations: 46.97 MB / 361.6 MB, free: 4.039 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.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|p|s|u|Tsat",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 71.91 kB / 0.4973 GB, free: 7.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3116, allocations: 66.04 MB / 0.5618 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1699/0.4815, allocations: 132.8 MB / 0.6915 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002125/0.4837, allocations: 1.304 MB / 0.6928 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.119e-05/0.4837, allocations: 0 / 0.6928 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003736/0.4841, allocations: 39.75 kB / 0.6928 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002995/0.4871, allocations: 1.087 MB / 0.6939 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.178e-06/0.4871, allocations: 0 / 0.6939 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.4872, allocations: 67.64 kB / 0.6939 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.086e-05/0.4872, allocations: 8 kB / 0.6939 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.209e-05/0.4873, allocations: 23.91 kB / 0.6939 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.87e-05/0.4874, allocations: 35.84 kB / 0.694 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.026e-06/0.4874, allocations: 4 kB / 0.694 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002734/0.4901, allocations: 1.653 MB / 0.6956 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.62e-05/0.4902, allocations: 15.97 kB / 0.6956 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.4902, allocations: 19.88 kB / 0.6956 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.4915, allocations: 0.8845 MB / 0.6965 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.4915, allocations: 4 kB / 0.6965 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.312e-06/0.4915, allocations: 0 / 0.6965 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.4915, allocations: 0 / 0.6965 GB, free: 9.734 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006498/0.4921, allocations: 432.6 kB / 0.6969 GB, free: 9.281 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.4922, allocations: 12.03 kB / 0.6969 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.896e-05/0.4922, allocations: 12.88 kB / 0.6969 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.4923, allocations: 117.6 kB / 0.6971 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.957e-06/0.4923, allocations: 0 / 0.6971 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.4923, allocations: 11.92 kB / 0.6971 GB, free: 9.105 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.4925, allocations: 81.67 kB / 0.6971 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-06/0.4925, allocations: 0 / 0.6971 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.4925, allocations: 8 kB / 0.6971 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.4925, allocations: 7.984 kB / 0.6972 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.4926, allocations: 67.91 kB / 0.6972 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.493, allocations: 260.3 kB / 0.6975 GB, free: 8.652 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.193e-05/0.4931, allocations: 42.55 kB / 0.6975 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.232e-05/0.4931, allocations: 16.97 kB / 0.6975 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.4933, allocations: 31.98 kB / 0.6976 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.4933, allocations: 34.5 kB / 0.6976 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.4933, allocations: 0 / 0.6976 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0001781/0.4935, allocations: 69.61 kB / 0.6977 GB, free: 8.434 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.4935, allocations: 59.41 kB / 0.6977 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/0.4936, allocations: 105.8 kB / 0.6978 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.4936, allocations: 25.7 kB / 0.6978 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.547e-05/0.4937, allocations: 96.03 kB / 0.6979 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.4937, allocations: 19.8 kB / 0.6979 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.264e-05/0.4937, allocations: 29.7 kB / 0.698 GB, free: 8.066 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4939, allocations: 310.8 kB / 0.6983 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.882e-05/0.4939, allocations: 15.98 kB / 0.6983 GB, free: 7.738 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-05/0.494, allocations: 39.36 kB / 0.6983 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.959e-05/0.494, allocations: 55.44 kB / 0.6984 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.494, allocations: 0.5 kB / 0.6984 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001338/0.4942, allocations: 81.61 kB / 0.6985 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.4942, allocations: 10.59 kB / 0.6985 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4942, allocations: 4 kB / 0.6985 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.4942, allocations: 4 kB / 0.6985 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.36e-05/0.4943, allocations: 15.98 kB / 0.6985 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4943, allocations: 4 kB / 0.6985 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.128e-05/0.4943, allocations: 8.047 kB / 0.6985 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.4943, allocations: 4 kB / 0.6985 GB, free: 7.488 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (8): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.72e-05/0.4944, allocations: 121.8 kB / 0.6986 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.077e-05/0.4945, allocations: 7.938 kB / 0.6986 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.4946, allocations: 81.3 kB / 0.6987 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.4946, allocations: 0 / 0.6987 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.4946, allocations: 0 / 0.6987 GB, free: 7.266 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.4947, allocations: 4.109 kB / 0.6987 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.4948, allocations: 113.2 kB / 0.6988 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.4948, allocations: 0 / 0.6988 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.4948, allocations: 11.98 kB / 0.6988 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.4948, allocations: 0 / 0.6988 GB, free: 7.109 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.4949, allocations: 3.938 kB / 0.6988 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4949, allocations: 0 / 0.6988 GB, free: 7.105 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.4949, allocations: 7.938 kB / 0.6988 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001612/0.495, allocations: 155.5 kB / 0.699 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.736e-06/0.495, allocations: 4 kB / 0.699 GB, free: 6.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.495, allocations: 3.938 kB / 0.699 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.039e-05/0.4951, allocations: 7.984 kB / 0.699 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.471e-05/0.4951, allocations: 4 kB / 0.699 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.4951, allocations: 0 / 0.699 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.411e-05/0.4952, allocations: 91.39 kB / 0.6991 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.4952, allocations: 0 / 0.6991 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005028/0.4957, allocations: 147.5 kB / 0.6992 GB, free: 6.676 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (5): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007603/0.4964, allocations: 330.6 kB / 0.6996 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001376/0.4966, allocations: 35.92 kB / 0.6996 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4966, allocations: 4 kB / 0.6996 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.137e-05/0.4966, allocations: 19.92 kB / 0.6996 GB, free: 6.285 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.4969, allocations: 7.984 kB / 0.6996 GB, free: 6.277 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.4974, allocations: 172.7 kB / 0.6998 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.16e-05/0.4974, allocations: 75.42 kB / 0.6999 GB, free: 5.988 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.449e-05/0.4975, allocations: 19.92 kB / 0.6999 GB, free: 5.969 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.672e-05/0.4975, allocations: 19.44 kB / 0.6999 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.4975, allocations: 0 / 0.6999 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of Templates: time 0.007626/0.5052, allocations: 3.761 MB / 0.7036 GB, free: 2.207 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.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: 5.27498079900397]